×
FalconChen
2019-12-17 00:47
腾讯云这垃圾io
bash 代码片断
sysbench fileio --file-total-size=2G --file-num=100  --file-test-mode=rndrw run
sysbench 1.0.17 (using system LuaJIT 2.0.4)

Running the test with following options:
Number of threads: 1
Initializing random number generator from current time


Extra file open flags: (none)
100 files, 20.48MiB each
2GiB total file size
Block size 16KiB
Number of IO requests: 0
Read/Write ratio for combined random IO test: 1.50
Periodic FSYNC enabled, calling fsync() each 100 requests.
Calling fsync() at the end of test, Enabled.
Using synchronous I/O mode
Doing random r/w test
Initializing worker threads...

Threads started!


File operations:
    reads/s:                      11.72
    writes/s:                     7.81
    fsyncs/s:                     22.07

Throughput:
    read, MiB/s:                  0.18
    written, MiB/s:               0.12

General statistics:
    total time:                          10.2376s
    total number of events:              326

Latency (ms):
         min:                                    0.01
         avg:                                   30.67
         max:                                  573.37
         95th percentile:                      147.61
         sum:                                 9999.00

Threads fairness:
    events (avg/stddev):           326.0000/0.00
    execution time (avg/stddev):   9.9990/0.00
1
赤木茂

暂无评论