fileio test

Fileio test using sysbench

Purpose

       Do file io performance test base on sysbench

 

Eevironment

       RK3328 arm64 ubuntu 16.04

 

Procdeure

 

root@IOTP-EPC:/test# sysbench --file-total-size=1G --test=fileio prepare

sysbench 0.4.12:  multi-threaded system evaluation benchmark

 

128 files, 8192Kb each, 1024Mb total

Creating files for the test...

 

root@IOTP-EPC:/test# sysbench --file-total-size=1G  --test=fileio --file-test-mode=rndrw  run

sysbench 0.4.12:  multi-threaded system evaluation benchmark

 

Running the test with following options:

Number of threads: 1

 

Extra file open flags: 0

128 files, 8Mb each

1Gb total file size

Block size 16Kb

Number of random requests for random IO: 10000

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

Threads started!

Done.

 

Operations performed:  6000 Read, 4000 Write, 12800 Other = 22800 Total

Read 93.75Mb  Written 62.5Mb  Total transferred 156.25Mb  (23.557Mb/sec)

 1507.62 Requests/sec executed

 

Test execution summary:

    total time:                          6.6330s

    total number of events:              10000

    total time taken by event execution: 0.2824

    per-request statistics:

         min:                                  0.01ms

         avg:                                  0.03ms

         max:                                  0.23ms

         approx.  95 percentile:               0.05ms

 

Threads fairness:

    events (avg/stddev):           10000.0000/0.00

    execution time (avg/stddev):   0.2824/0.00

 

root@IOTP-EPC:/test#

root@IOTP-EPC:/test# sysbench --file-total-size=1G --test=fileio cleanup

sysbench 0.4.12:  multi-threaded system evaluation benchmark

 

Removing test files...

posted @ 2019-04-22 13:18  嵌入式实操  阅读(114)  评论(0编辑  收藏  举报