Valkey : Benchmark を利用する2024/12/05 |
|
Valkey パッケージに含まれるベンチマークツールを利用すると Valkey サーバーのベンチマークを計測することができます。 |
|
| [1] | 計測対象のノードを指定して計測します。 他にもオプション指定することでリクエスト数等、細かな調整が可能です。 オプションは [valkey-benchmark --help] で確認可能です。 |
|
root@dlp:~# valkey-benchmark -h 10.0.0.30 -p 6379 -a password
====== PING_INLINE ======
100000 requests completed in 0.68 seconds
50 parallel clients
3 bytes payload
keep alive: 1
host configuration "save": 3600 1 300 100 60 10000
host configuration "appendonly": no
multi-thread: no
Latency by percentile distribution:
0.000% <= 0.055 milliseconds (cumulative count 1)
50.000% <= 0.175 milliseconds (cumulative count 76413)
87.500% <= 0.183 milliseconds (cumulative count 89227)
93.750% <= 0.231 milliseconds (cumulative count 96822)
96.875% <= 0.239 milliseconds (cumulative count 98650)
99.219% <= 0.255 milliseconds (cumulative count 99524)
99.609% <= 0.263 milliseconds (cumulative count 99651)
99.805% <= 0.311 milliseconds (cumulative count 99813)
99.902% <= 0.943 milliseconds (cumulative count 99904)
99.951% <= 1.255 milliseconds (cumulative count 99954)
99.976% <= 1.367 milliseconds (cumulative count 99984)
99.988% <= 1.375 milliseconds (cumulative count 99997)
99.998% <= 1.383 milliseconds (cumulative count 100000)
100.000% <= 1.383 milliseconds (cumulative count 100000)
Cumulative distribution of latencies:
0.012% <= 0.103 milliseconds (cumulative count 12)
91.483% <= 0.207 milliseconds (cumulative count 91483)
99.804% <= 0.303 milliseconds (cumulative count 99804)
99.893% <= 0.407 milliseconds (cumulative count 99893)
99.895% <= 0.903 milliseconds (cumulative count 99895)
99.921% <= 1.007 milliseconds (cumulative count 99921)
99.943% <= 1.103 milliseconds (cumulative count 99943)
99.972% <= 1.303 milliseconds (cumulative count 99972)
100.000% <= 1.407 milliseconds (cumulative count 100000)
Summary:
throughput summary: 147058.83 requests per second
latency summary (msec):
avg min p50 p95 p99 max
0.176 0.048 0.175 0.231 0.247 1.383
====== PING_MBULK ======
100000 requests completed in 0.69 seconds
50 parallel clients
3 bytes payload
keep alive: 1
host configuration "save": 3600 1 300 100 60 10000
host configuration "appendonly": no
multi-thread: no
.....
.....
Cumulative distribution of latencies:
0.000% <= 0.103 milliseconds (cumulative count 0)
28.313% <= 0.207 milliseconds (cumulative count 28313)
79.195% <= 0.303 milliseconds (cumulative count 79195)
99.061% <= 0.407 milliseconds (cumulative count 99061)
99.825% <= 0.503 milliseconds (cumulative count 99825)
99.878% <= 0.607 milliseconds (cumulative count 99878)
99.883% <= 0.703 milliseconds (cumulative count 99883)
99.884% <= 0.903 milliseconds (cumulative count 99884)
99.905% <= 1.007 milliseconds (cumulative count 99905)
99.914% <= 1.103 milliseconds (cumulative count 99914)
99.958% <= 1.303 milliseconds (cumulative count 99958)
99.978% <= 1.407 milliseconds (cumulative count 99978)
99.997% <= 1.503 milliseconds (cumulative count 99997)
100.000% <= 1.607 milliseconds (cumulative count 100000)
Summary:
throughput summary: 119617.22 requests per second
latency summary (msec):
avg min p50 p95 p99 max
0.252 0.112 0.247 0.359 0.407 1.527
|
| Sponsored Link |
|
|