openSUSE Leap 16

Valkey : Benchmark を利用する2025/12/05

 

Valkey パッケージに含まれるベンチマークツールを利用すると Valkey サーバーのベンチマークを計測することができます。

[1] 計測対象のノードを指定して計測します。
他にもオプション指定することでリクエスト数等、細かな調整が可能です。
オプションは [valkey-benchmark --help] で確認可能です。
dlp:~ #
valkey-benchmark -h 10.0.0.30 -p 6379 -a password

====== PING_INLINE ======
  100000 requests completed in 0.61 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.047 milliseconds (cumulative count 1)
50.000% <= 0.159 milliseconds (cumulative count 64089)
75.000% <= 0.167 milliseconds (cumulative count 90526)
93.750% <= 0.175 milliseconds (cumulative count 96628)
96.875% <= 0.183 milliseconds (cumulative count 99030)
99.219% <= 0.191 milliseconds (cumulative count 99393)
99.609% <= 0.239 milliseconds (cumulative count 99633)
99.805% <= 0.375 milliseconds (cumulative count 99816)
99.902% <= 0.991 milliseconds (cumulative count 99903)
99.951% <= 1.143 milliseconds (cumulative count 99952)
99.976% <= 1.223 milliseconds (cumulative count 99977)
99.988% <= 1.263 milliseconds (cumulative count 99989)
99.994% <= 1.287 milliseconds (cumulative count 99995)
99.997% <= 1.303 milliseconds (cumulative count 99997)
99.998% <= 1.327 milliseconds (cumulative count 99999)
99.999% <= 1.335 milliseconds (cumulative count 100000)
100.000% <= 1.335 milliseconds (cumulative count 100000)

.....
.....

Summary:
  throughput summary: 164203.61 requests per second
  latency summary (msec):
          avg       min       p50       p95       p99       max
        0.170     0.048     0.167     0.183     0.207    12.903
関連コンテンツ