ads fairness:
events (avg/stddev): 89250.0000/0.00
execution time (avg/stddev): 9.9372/0.00
运行顺序重写测试:
sysbench fileio --file-total-size=40G --file-test-mode=seqrewr run
#测试结果:
File operations:
reads/s: 0.00
writes/s: 4018.65
fsyncs/s: 5131.38
Throughput:
read, MiB/s: 0.00
written, MiB/s: 62.79
General statistics:
total time: 10.0003s
total number of events: 91531
Latency (ms):
min: 0.00
avg: 0.11
max: 31.45
95th percentile: 0.10
sum: 9933.80
Threads fairness:
events (avg/stddev): 91531.0000/0.00
execution time (avg/stddev): 9.9338/0.00
混合随机读/写:(如果执行出错,需要重新prepare数据)
sysbench fileio --file-total-size=40G --file-test-mode=rndrw --max-time=100 --max-requests=0 run
#测试结果:
File operations:
reads/s: 338.98
writes/s: 225.99
fsyncs/s: 722.23
Throughput:
read, MiB/s: 5.30
written, MiB/s: 3.53
General statistics:
total time: 100.0007s
total number of events: 128727
Latency (ms):
min: 0.00
avg: 0.78
max: 43.01
95th percentile: 2.97
&