| 今年大盘鸡限制150iops,测试去年的机器会不会被同步限制。 安装fio
 
 apt install fio -y
 fio测5分钟
 
 fio --name=test --ioengine=sync --iodepth=1 --rw=randwrite --bs=4k --size=1G --numjobs=1 --time_based --runtime=5m --ramp_time=5s
 测试结果,贴出来给大家参考下
 
 
 复制代码test: (g=0): rw=randwrite, bs=(R) 4096B-4096B, (W) 4096B-4096B, (T) 4096B-4096B, ioengine=sync, iodepth=1
fio-3.25
Starting 1 process
Jobs: 1 (f=1): [w(1)][100.0%][eta 00m:00s]                          
test: (groupid=0, jobs=1): err= 0: pid=4134347: Mon Nov 27 02:07:41 2023
  write: IOPS=3447, BW=13.5MiB/s (14.1MB/s)(4040MiB/300001msec); 0 zone resets
    clat (usec): min=2, max=2855.8k, avg=273.66, stdev=10026.90
     lat (usec): min=2, max=2855.8k, avg=273.90, stdev=10026.92
    clat percentiles (usec):
     |  1.00th=[     4],  5.00th=[     5], 10.00th=[     6], 20.00th=[     7],
     | 30.00th=[     7], 40.00th=[     8], 50.00th=[     9], 60.00th=[     9],
     | 70.00th=[    10], 80.00th=[    12], 90.00th=[    17], 95.00th=[    27],
     | 99.00th=[ 11338], 99.50th=[ 15270], 99.90th=[ 23200], 99.95th=[ 27919],
     | 99.99th=[204473]
   bw (  KiB/s): min=    8, max=96480, per=100.00%, avg=16457.89, stdev=17690.70, samples=500
   iops        : min=    2, max=24120, avg=4114.35, stdev=4422.65, samples=500
  lat (usec)   : 4=1.47%, 10=70.53%, 20=20.93%, 50=3.94%, 100=1.39%
  lat (usec)   : 250=0.33%, 500=0.13%, 750=0.03%, 1000=0.01%
  lat (msec)   : 2=0.03%, 4=0.03%, 10=0.06%, 20=0.95%, 50=0.14%
  lat (msec)   : 100=0.01%, 250=0.01%, 500=0.01%, 750=0.01%, 1000=0.01%
  lat (msec)   : 2000=0.01%, >=2000=0.01%
  cpu          : usr=0.61%, sys=3.93%, ctx=23885, majf=0, minf=58
  IO depths    : 1=100.0%, 2=0.0%, 4=0.0%, 8=0.0%, 16=0.0%, 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.0%, 32=0.0%, 64=0.0%, >=64=0.0%
     issued rwts: total=0,1034208,0,0 short=0,0,0,0 dropped=0,0,0,0
     latency   : target=0, window=0, percentile=100.00%, depth=1
Run status group 0 (all jobs):
  WRITE: bw=13.5MiB/s (14.1MB/s), 13.5MiB/s-13.5MiB/s (14.1MB/s-14.1MB/s), io=4040MiB (4236MB), run=300001-300001msec
Disk stats (read/write):
  vda: ios=25384/887473, merge=1673/3847, ticks=635479/3893341, in_queue=4528997, util=81.18%
 |