sysbench cpu run --threads=4 --cpu-max-prime=10000
sysbench 1.0.20 (using bundled LuaJIT 2.1.0-beta2)
Running the test with following options:
Number of threads: 4
Initializing random number generator from current time
Prime numbers limit: 10000
Initializing worker threads...
Threads started!
CPU speed:
events per second: 1200.05
General statistics:
total time: 10.0018s
total number of events: 12004
Latency (ms):
min: 0.79
avg: 3.33
max: 64.94
95th percentile: 33.12
sum: 39923.29
Threads fairness:
events (avg/stddev): 3001.0000/14.82
execution time (avg/stddev): 9.9808/0.01
メモリ
オプション
オプション
詳細
デフォルト値
memory-block-size
メモリのブロックサイズ
1K
memory-total-size
データの合計サイズ
100G
memory-scope
メモリのアクセス範囲 [global, local]
global
memory-hugetlb
HugeTLB poolからメモリを割り当てるか[on, off]
off
memory-oper
処理の種類 [read, write, none]
write
memory-access-mode
メモリのアクセスモード [seq, rnd]
seq
実行
sysbench memory run --threads=4 --memory-access-mode=rnd
sysbench 1.0.20 (using bundled LuaJIT 2.1.0-beta2)
Running the test with following options:
Number of threads: 4
Initializing random number generator from current time
Running memory speed test with the following options:
block size: 1KiB
total size: 102400MiB
operation: write
scope: global
Initializing worker threads...
Threads started!
Total operations: 18131094 (1812885.28 per second)
17706.15 MiB transferred (1770.40 MiB/sec)
General statistics:
total time: 10.0001s
total number of events: 18131094
Latency (ms):
min: 0.00
avg: 0.00
max: 77.12
95th percentile: 0.00
sum: 28831.33
Threads fairness:
events (avg/stddev): 4532773.5000/21710.68
execution time (avg/stddev): 7.2078/0.17
//事前にテストファイルを作成する
sysbench fileio prepare --threads=4 --file-test-mode=rndwr
//作成後に実行
sysbench fileio run --threads=4 --file-test-mode=rndwr
sysbench 1.0.20 (using bundled LuaJIT 2.1.0-beta2)
Running the test with following options:
Number of threads: 4
Initializing random number generator from current time
Extra file open flags: (none)
128 files, 16MiB 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 write test
Initializing worker threads...
Threads started!
File operations:
reads/s: 0.00
writes/s: 57.83
fsyncs/s: 106.08
Throughput:
read, MiB/s: 0.00
written, MiB/s: 0.90
General statistics:
total time: 12.1026s
total number of events: 1472
Latency (ms):
min: 0.00
avg: 32.46
max: 6321.49
95th percentile: 4.18
sum: 47785.42
Threads fairness:
events (avg/stddev): 368.0000/172.48
execution time (avg/stddev): 11.9464/0.00
コメント