More fileio regression tests.

This commit is contained in:
Alexey Kopytov
2016-09-07 20:09:47 +03:00
parent f370168792
commit e766de86a8

View File

@ -74,6 +74,132 @@ fileio tests
events (avg/stddev): 150.0000/0.00
execution time (avg/stddev): *.*/0.00 (glob)
$ sysbench $fileio_args --max-requests=150 --file-test-mode=rndrd run
sysbench *.*: multi-threaded system evaluation benchmark (glob)
Running the test with following options:
Number of threads: 1
Random number generator seed is 0 and will be ignored
Extra file open flags: 0
4 files, 8Mb each
32Mb total file size
Block size 16Kb
Number of IO requests: 150
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 read test
Initializing worker threads...
Threads started!
Operations performed: 150 reads, 0 writes, 0 Other = 150 Total
Read *.*b Written 0b Total transferred *.*b (*.*b/sec) (glob)
*.* Requests/sec executed (glob)
General statistics:
total time: *.*s (glob)
total number of events: 150
total time taken by event execution: *.*s (glob)
response time:
min: *.*ms (glob)
avg: *.*ms (glob)
max: *.*ms (glob)
approx. 95 percentile: *.*ms (glob)
Threads fairness:
events (avg/stddev): 150.0000/0.00
execution time (avg/stddev): *.*/0.00 (glob)
$ sysbench $fileio_args --max-requests=150 --file-test-mode=seqrd run
sysbench *.*: multi-threaded system evaluation benchmark (glob)
Running the test with following options:
Number of threads: 1
Random number generator seed is 0 and will be ignored
Extra file open flags: 0
4 files, 8Mb each
32Mb total file size
Block size 16Kb
Periodic FSYNC enabled, calling fsync() each 100 requests.
Calling fsync() at the end of test, Enabled.
Using synchronous I/O mode
Doing sequential read test
Initializing worker threads...
Threads started!
Operations performed: 150 reads, 0 writes, 0 Other = 150 Total
Read *.*b Written 0b Total transferred *.*b (*.*b/sec) (glob)
*.* Requests/sec executed (glob)
General statistics:
total time: *.*s (glob)
total number of events: 150
total time taken by event execution: *.*s (glob)
response time:
min: *.*ms (glob)
avg: *.*ms (glob)
max: *.*ms (glob)
approx. 95 percentile: *.*ms (glob)
Threads fairness:
events (avg/stddev): 150.0000/0.00
execution time (avg/stddev): *.*/0.00 (glob)
$ sysbench $fileio_args --max-requests=150 --file-test-mode=rndwr run
sysbench *.*: multi-threaded system evaluation benchmark (glob)
Running the test with following options:
Number of threads: 1
Random number generator seed is 0 and will be ignored
Extra file open flags: 0
4 files, 8Mb each
32Mb total file size
Block size 16Kb
Number of IO requests: 150
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 write test
Initializing worker threads...
Threads started!
Operations performed: 0 reads, 150 writes, 8 Other = 158 Total
Read 0b Written *.*b Total transferred *.*b (*.*b/sec) (glob)
*.* Requests/sec executed (glob)
General statistics:
total time: *.*s (glob)
total number of events: 150
total time taken by event execution: *.*s (glob)
response time:
min: *.*ms (glob)
avg: *.*ms (glob)
max: *.*ms (glob)
approx. 95 percentile: *.*ms (glob)
Threads fairness:
events (avg/stddev): 150.0000/0.00
execution time (avg/stddev): *.*/0.00 (glob)
$ sysbench $fileio_args --max-requests=150 --file-test-mode=foo run
sysbench *.*: multi-threaded system evaluation benchmark (glob)
FATAL: Invalid IO operations mode: foo.
[1]
$ sysbench $fileio_args cleanup
sysbench *.*: multi-threaded system evaluation benchmark (glob)