LINUX.ORG.RU

История изменений

Исправление metaprog, (текущая версия) :

Спасибо!

# fio --name=read --readonly --rw=read --ioengine=libaio --iodepth=16  --bs=1M --direct=0 --numjobs=16 --runtime=30 --group_reporting --filename=/dev/nvme0n1
read: (g=0): rw=read, bs=(R) 1024KiB-1024KiB, (W) 1024KiB-1024KiB, (T) 1024KiB-1024KiB, ioengine=libaio, iodepth=16
...
fio-3.25
Starting 16 processes
Jobs: 16 (f=16): [R(16)][100.0%][r=6095MiB/s][r=6095 IOPS][eta 00m:00s]
read: (groupid=0, jobs=16): err= 0: pid=17905: Thu Sep 16 08:32:18 2021
  read: IOPS=1657, BW=1658MiB/s (1738MB/s)(48.6GiB/30013msec)
    slat (usec): min=226, max=68907, avg=3023.76, stdev=4204.64
    clat (usec): min=7, max=130782, avg=45621.89, stdev=16134.13
     lat (usec): min=554, max=141477, avg=48650.54, stdev=16862.60
    clat percentiles (msec):
     |  1.00th=[   12],  5.00th=[   17], 10.00th=[   25], 20.00th=[   32],
     | 30.00th=[   37], 40.00th=[   42], 50.00th=[   46], 60.00th=[   51],
     | 70.00th=[   56], 80.00th=[   61], 90.00th=[   66], 95.00th=[   70],
     | 99.00th=[   82], 99.50th=[   89], 99.90th=[  105], 99.95th=[  109],
     | 99.99th=[  117]
   bw (  MiB/s): min= 3924, max= 7608, per=100.00%, avg=5192.81, stdev=61.02, samples=288
   iops        : min= 3924, max= 7606, avg=5191.33, stdev=61.01, samples=288
  lat (usec)   : 10=0.01%, 20=0.02%, 750=0.01%, 1000=0.01%
  lat (msec)   : 2=0.01%, 4=0.02%, 10=0.42%, 20=6.20%, 50=52.28%
  lat (msec)   : 100=40.88%, 250=0.16%
  cpu          : usr=0.17%, sys=37.21%, ctx=864166, majf=0, minf=57081
  IO depths    : 1=0.1%, 2=0.1%, 4=0.1%, 8=0.3%, 16=99.5%, 32=0.0%, >=64=0.0%
     submit    : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.0%, 32=0.0%, 64=0.0%, >=64=0.0%
     complete  : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.1%, 32=0.0%, 64=0.0%, >=64=0.0%
     issued rwts: total=49748,0,0,0 short=0,0,0,0 dropped=0,0,0,0
     latency   : target=0, window=0, percentile=100.00%, depth=16

Run status group 0 (all jobs):
   READ: bw=1658MiB/s (1738MB/s), 1658MiB/s-1658MiB/s (1738MB/s-1738MB/s), io=48.6GiB (52.2GB), run=30013-30013msec

Disk stats (read/write):
  nvme0n1: ios=34677/0, merge=0/0, ticks=15156/0, in_queue=15157, util=30.33%

По-прежнему недотягивает до 3500. При этом ЦПУ грузит на все 100%! Может ли процессор быть «бутылочным горлышком»?

Исправление metaprog, :

Спасибо!

# fio --name=read --readonly --rw=read --ioengine=libaio --iodepth=16  --bs=1M --direct=0 --numjobs=16 --runtime=30 --group_reporting --filename=/dev/nvme0n1
read: (g=0): rw=read, bs=(R) 1024KiB-1024KiB, (W) 1024KiB-1024KiB, (T) 1024KiB-1024KiB, ioengine=libaio, iodepth=16
...
fio-3.25
Starting 16 processes
Jobs: 16 (f=16): [R(16)][100.0%][r=6095MiB/s][r=6095 IOPS][eta 00m:00s]
read: (groupid=0, jobs=16): err= 0: pid=17905: Thu Sep 16 08:32:18 2021
  read: IOPS=1657, BW=1658MiB/s (1738MB/s)(48.6GiB/30013msec)
    slat (usec): min=226, max=68907, avg=3023.76, stdev=4204.64
    clat (usec): min=7, max=130782, avg=45621.89, stdev=16134.13
     lat (usec): min=554, max=141477, avg=48650.54, stdev=16862.60
    clat percentiles (msec):
     |  1.00th=[   12],  5.00th=[   17], 10.00th=[   25], 20.00th=[   32],
     | 30.00th=[   37], 40.00th=[   42], 50.00th=[   46], 60.00th=[   51],
     | 70.00th=[   56], 80.00th=[   61], 90.00th=[   66], 95.00th=[   70],
     | 99.00th=[   82], 99.50th=[   89], 99.90th=[  105], 99.95th=[  109],
     | 99.99th=[  117]
   bw (  MiB/s): min= 3924, max= 7608, per=100.00%, avg=5192.81, stdev=61.02, samples=288
   iops        : min= 3924, max= 7606, avg=5191.33, stdev=61.01, samples=288
  lat (usec)   : 10=0.01%, 20=0.02%, 750=0.01%, 1000=0.01%
  lat (msec)   : 2=0.01%, 4=0.02%, 10=0.42%, 20=6.20%, 50=52.28%
  lat (msec)   : 100=40.88%, 250=0.16%
  cpu          : usr=0.17%, sys=37.21%, ctx=864166, majf=0, minf=57081
  IO depths    : 1=0.1%, 2=0.1%, 4=0.1%, 8=0.3%, 16=99.5%, 32=0.0%, >=64=0.0%
     submit    : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.0%, 32=0.0%, 64=0.0%, >=64=0.0%
     complete  : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.1%, 32=0.0%, 64=0.0%, >=64=0.0%
     issued rwts: total=49748,0,0,0 short=0,0,0,0 dropped=0,0,0,0
     latency   : target=0, window=0, percentile=100.00%, depth=16

Run status group 0 (all jobs):
   READ: bw=1658MiB/s (1738MB/s), 1658MiB/s-1658MiB/s (1738MB/s-1738MB/s), io=48.6GiB (52.2GB), run=30013-30013msec

Disk stats (read/write):
  nvme0n1: ios=34677/0, merge=0/0, ticks=15156/0, in_queue=15157, util=30.33%

По-прежнему недотягивает до 3500. При этом ЦПУ грузит на все 100%!

Исправление metaprog, :

Спасибо!

# fio --name=read --readonly --rw=read --ioengine=libaio --iodepth=16  --bs=1M --direct=0 --numjobs=16 --runtime=30 --group_reporting --filename=/dev/nvme0n1
read: (g=0): rw=read, bs=(R) 1024KiB-1024KiB, (W) 1024KiB-1024KiB, (T) 1024KiB-1024KiB, ioengine=libaio, iodepth=16
...
fio-3.25
Starting 16 processes
Jobs: 16 (f=16): [R(16)][100.0%][r=6095MiB/s][r=6095 IOPS][eta 00m:00s]
read: (groupid=0, jobs=16): err= 0: pid=17905: Thu Sep 16 08:32:18 2021
  read: IOPS=1657, BW=1658MiB/s (1738MB/s)(48.6GiB/30013msec)
    slat (usec): min=226, max=68907, avg=3023.76, stdev=4204.64
    clat (usec): min=7, max=130782, avg=45621.89, stdev=16134.13
     lat (usec): min=554, max=141477, avg=48650.54, stdev=16862.60
    clat percentiles (msec):
     |  1.00th=[   12],  5.00th=[   17], 10.00th=[   25], 20.00th=[   32],
     | 30.00th=[   37], 40.00th=[   42], 50.00th=[   46], 60.00th=[   51],
     | 70.00th=[   56], 80.00th=[   61], 90.00th=[   66], 95.00th=[   70],
     | 99.00th=[   82], 99.50th=[   89], 99.90th=[  105], 99.95th=[  109],
     | 99.99th=[  117]
   bw (  MiB/s): min= 3924, max= 7608, per=100.00%, avg=5192.81, stdev=61.02, samples=288
   iops        : min= 3924, max= 7606, avg=5191.33, stdev=61.01, samples=288
  lat (usec)   : 10=0.01%, 20=0.02%, 750=0.01%, 1000=0.01%
  lat (msec)   : 2=0.01%, 4=0.02%, 10=0.42%, 20=6.20%, 50=52.28%
  lat (msec)   : 100=40.88%, 250=0.16%
  cpu          : usr=0.17%, sys=37.21%, ctx=864166, majf=0, minf=57081
  IO depths    : 1=0.1%, 2=0.1%, 4=0.1%, 8=0.3%, 16=99.5%, 32=0.0%, >=64=0.0%
     submit    : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.0%, 32=0.0%, 64=0.0%, >=64=0.0%
     complete  : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.1%, 32=0.0%, 64=0.0%, >=64=0.0%
     issued rwts: total=49748,0,0,0 short=0,0,0,0 dropped=0,0,0,0
     latency   : target=0, window=0, percentile=100.00%, depth=16

Run status group 0 (all jobs):
   READ: bw=1658MiB/s (1738MB/s), 1658MiB/s-1658MiB/s (1738MB/s-1738MB/s), io=48.6GiB (52.2GB), run=30013-30013msec

Disk stats (read/write):
  nvme0n1: ios=34677/0, merge=0/0, ticks=15156/0, in_queue=15157, util=30.33%

По-прежнему недотягивает до 3500.

Исходная версия metaprog, :

Спасибо!

# fio --name=read --readonly --rw=read --ioengine=libaio --iodepth=16  --bs=1M --direct=0 --numjobs=16 --runtime=30 --group_reporting --filename=/dev/nvme0n1
read: (g=0): rw=read, bs=(R) 1024KiB-1024KiB, (W) 1024KiB-1024KiB, (T) 1024KiB-1024KiB, ioengine=libaio, iodepth=16
...
fio-3.25
Starting 16 processes
Jobs: 16 (f=16): [R(16)][100.0%][r=6095MiB/s][r=6095 IOPS][eta 00m:00s]
read: (groupid=0, jobs=16): err= 0: pid=17905: Thu Sep 16 08:32:18 2021
  read: IOPS=1657, BW=1658MiB/s (1738MB/s)(48.6GiB/30013msec)
    slat (usec): min=226, max=68907, avg=3023.76, stdev=4204.64
    clat (usec): min=7, max=130782, avg=45621.89, stdev=16134.13
     lat (usec): min=554, max=141477, avg=48650.54, stdev=16862.60
    clat percentiles (msec):
     |  1.00th=[   12],  5.00th=[   17], 10.00th=[   25], 20.00th=[   32],
     | 30.00th=[   37], 40.00th=[   42], 50.00th=[   46], 60.00th=[   51],
     | 70.00th=[   56], 80.00th=[   61], 90.00th=[   66], 95.00th=[   70],
     | 99.00th=[   82], 99.50th=[   89], 99.90th=[  105], 99.95th=[  109],
     | 99.99th=[  117]
   bw (  MiB/s): min= 3924, max= 7608, per=100.00%, avg=5192.81, stdev=61.02, samples=288
   iops        : min= 3924, max= 7606, avg=5191.33, stdev=61.01, samples=288
  lat (usec)   : 10=0.01%, 20=0.02%, 750=0.01%, 1000=0.01%
  lat (msec)   : 2=0.01%, 4=0.02%, 10=0.42%, 20=6.20%, 50=52.28%
  lat (msec)   : 100=40.88%, 250=0.16%
  cpu          : usr=0.17%, sys=37.21%, ctx=864166, majf=0, minf=57081
  IO depths    : 1=0.1%, 2=0.1%, 4=0.1%, 8=0.3%, 16=99.5%, 32=0.0%, >=64=0.0%
     submit    : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.0%, 32=0.0%, 64=0.0%, >=64=0.0%
     complete  : 0=0.0%, 4=100.0%, 8=0.0%, 16=0.1%, 32=0.0%, 64=0.0%, >=64=0.0%
     issued rwts: total=49748,0,0,0 short=0,0,0,0 dropped=0,0,0,0
     latency   : target=0, window=0, percentile=100.00%, depth=16

Run status group 0 (all jobs):
   READ: bw=1658MiB/s (1738MB/s), 1658MiB/s-1658MiB/s (1738MB/s-1738MB/s), io=48.6GiB (52.2GB), run=30013-30013msec

Disk stats (read/write):
  nvme0n1: ios=34677/0, merge=0/0, ticks=15156/0, in_queue=15157, util=30.33%