Skip to content

Instantly share code, notes, and snippets.

@oschaaf
Created January 11, 2019 18:56
Show Gist options
  • Save oschaaf/f42db2e3546b961543395d1192fe6ff7 to your computer and use it in GitHub Desktop.
Save oschaaf/f42db2e3546b961543395d1192fe6ff7 to your computer and use it in GitHub Desktop.
nighthawk with fixes poc sample result
oschaaf@duster:~/Code/envoy-filter-example$ taskset -c 0-1 bazel-bin/nighthawk_client --concurrency auto --rps 16000 --duration 10 --connections 1 http://127.0.0.1/ && ./stats.py res.txt benchmark
[2019-01-11 19:54:26.360][011596][info][main] [source/exe/client.cc:103] Detected 2 (v)CPUs with affinity..
[2019-01-11 19:54:26.360][011596][info][main] [source/exe/client.cc:106] Starting 2 threads / event loops.
[2019-01-11 19:54:26.360][011596][info][main] [source/exe/client.cc:108] Global targets: 2 connections and 32000 calls per second.
[2019-01-11 19:54:26.360][011596][info][main] [source/exe/client.cc:112] (Per-worker targets: 1 connections and 16000 calls per second)
[2019-01-11 19:54:36.361][011598][info][main] [source/exe/sequencer.cc:41] Sequencer done processing 159921 operations in 10000 ms. (completion rate 15992.1/second.)
[2019-01-11 19:54:36.361][011598][info][main] [source/exe/client.cc:168] Connection: connect failures: 0, overflow failures: 0 . Protocol: good 159921 / bad 0 / reset 0
[2019-01-11 19:54:36.361][011597][info][main] [source/exe/sequencer.cc:41] Sequencer done processing 159927 operations in 10000 ms. (completion rate 15992.7/second.)
[2019-01-11 19:54:36.361][011597][info][main] [source/exe/client.cc:168] Connection: connect failures: 0, overflow failures: 0 . Protocol: good 159927 / bad 0 / reset 0
[2019-01-11 19:54:36.374][011596][info][main] [source/exe/client.cc:200] worker 0: avg latency 61.5378us over 159926 callbacks. Min/Max: 54/502.
[2019-01-11 19:54:36.385][011596][info][main] [source/exe/client.cc:200] worker 1: avg latency 61.532us over 159920 callbacks. Min/Max: 53/497.
Uncorrected hdr histogram percentiles (us)
p50: 60
p75: 60
p90: 61
p99: 121
p99.9: 135
p99.99: 215
p99.999: 393
p100: 502
min: 53
max: 502
mean: 61.0339288282486
median: 60.0
var: 76.42284038054515
pstdev: 8.742015807612404
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment