さくらのVPS

トップ > チップス > さくらのVPS
2015-09-03, sakura

さくらのVPS(SSD)でsysbench

この結果(131.62Mb/sec)はなんでしょう。何か測り方を間違っているのかな…。Microsoft Azure(1.5Mb/sec)とスコアが2桁違うんですが。ここまで快速だと逆に色々勘ぐってしまいますね。

# sysbench --test=fileio --file-test-mode=rndrw prepare
# sysbench --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, 16Mb each
2Gb 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 (131.62Mb/sec)
 8423.86 Requests/sec executed

Test execution summary:
    total time: 1.1871s
    total number of events: 10000
    total time taken by event execution: 0.0743
    per-request statistics:
         min: 0.00ms
         avg: 0.01ms
         max: 0.09ms
         approx. 95 percentile: 0.01ms

Threads fairness:
    events (avg/stddev): 10000.0000/0.00
    execution time (avg/stddev): 0.0743/0.00

mysqlslapも良い感じ。

# mysqlslap --no-defaults --concurrency=10 --iterations=1 --engine=innodb --number-of-queries=10000 --auto-generate-sql
Benchmark
Running for engine innodb
Average number of seconds to run all queries: 4.730 seconds
Minimum number of seconds to run all queries: 4.730 seconds
Maximum number of seconds to run all queries: 4.730 seconds
Number of clients running queries: 10
Average number of queries per client: 1000

参考URL

さくらのクラウド:

さくらのVPS(HDD,旧プラン):

Microsoft Azure:

この記事は役に立ちましたか?