Skip to content

Instantly share code, notes, and snippets.

@zamazan4ik
Created September 21, 2023 16:35
Show Gist options
  • Save zamazan4ik/5d4da0f5c2003b416fc5538d01c61760 to your computer and use it in GitHub Desktop.
Save zamazan4ik/5d4da0f5c2003b416fc5538d01c61760 to your computer and use it in GitHub Desktop.
HAProxy GCC Instrumented new config
taskset -c 15-23 ./nighthawk_client --rps 30000 --duration 30 --connections 50 --concurrency auto --prefetch-connections -v info http://127.0.0.1:8080
[18:29:12.250155][2486679][I] Detected 9 (v)CPUs with affinity..
[18:29:12.250204][2486679][I] Starting 9 threads / event loops. Time limit: 30 seconds.
[18:29:12.250208][2486679][I] Global targets: 450 connections and 270000 calls per second.
[18:29:12.250210][2486679][I] (Per-worker targets: 50 connections and 30000 calls per second)
[18:29:43.202735][2486686][I] Stopping after 30000 ms. Initiated: 180772 / Completed: 180739. (Completion rate was 6024.632530048996 per second.)
[18:29:43.202751][2486693][I] Stopping after 30000 ms. Initiated: 181538 / Completed: 181505. (Completion rate was 6050.16606165006 per second.)
[18:29:43.202752][2486685][I] Stopping after 30000 ms. Initiated: 181928 / Completed: 181895. (Completion rate was 6063.16262455825 per second.)
[18:29:43.202772][2486695][I] Stopping after 30000 ms. Initiated: 182866 / Completed: 182833. (Completion rate was 6094.430082970623 per second.)
[18:29:43.202761][2486694][I] Stopping after 30000 ms. Initiated: 5740 / Completed: 5739. (Completion rate was 191.2999872466675 per second.)
[18:29:43.202763][2486689][I] Stopping after 30000 ms. Initiated: 182569 / Completed: 182536. (Completion rate was 6084.528871345495 per second.)
[18:29:43.202754][2486687][I] Stopping after 30000 ms. Initiated: 183360 / Completed: 183327. (Completion rate was 6110.895926069383 per second.)
[18:29:43.202754][2486691][I] Stopping after 30000 ms. Initiated: 183055 / Completed: 183022. (Completion rate was 6100.730893040975 per second.)
[18:29:43.202754][2486692][I] Stopping after 30000 ms. Initiated: 182424 / Completed: 182391. (Completion rate was 6079.698378747099 per second.)
Nighthawk - A layer 7 protocol benchmarking tool.
benchmark_http_client.latency_3xx (1463802 samples)
min: 0s 001ms 304us | mean: 0s 005ms 411us | max: 0s 055ms 132us | pstdev: 0s 000ms 577us
Percentile Count Value
0.5 731998 0s 005ms 470us
0.75 1097947 0s 005ms 653us
0.8 1171445 0s 005ms 693us
0.9 1317528 0s 005ms 805us
0.95 1390700 0s 005ms 939us
0.990625 1450079 0s 006ms 259us
0.99902344 1462373 0s 009ms 031us
Queueing and connection setup latency (1464067 samples)
min: 0s 000ms 001us | mean: 0s 000ms 004us | max: 0s 028ms 312us | pstdev: 0s 000ms 065us
Percentile Count Value
0.5 735644 0s 000ms 004us
0.75 1101109 0s 000ms 004us
0.8 1171403 0s 000ms 004us
0.9 1318550 0s 000ms 004us
0.95 1391453 0s 000ms 005us
0.990625 1450380 0s 000ms 007us
0.99902344 1462651 0s 000ms 015us
Request start to response end (1463802 samples)
min: 0s 001ms 304us | mean: 0s 005ms 411us | max: 0s 055ms 132us | pstdev: 0s 000ms 577us
Percentile Count Value
0.5 732169 0s 005ms 470us
0.75 1098113 0s 005ms 653us
0.8 1171161 0s 005ms 693us
0.9 1317605 0s 005ms 805us
0.95 1390635 0s 005ms 939us
0.990625 1450094 0s 006ms 259us
0.99902344 1462373 0s 009ms 031us
Response body size in bytes (1463802 samples)
min: 0 | mean: 0 | max: 0 | pstdev: 0
Response header size in bytes (1463802 samples)
min: 122 | mean: 122 | max: 122 | pstdev: 0
Blocking. Results are skewed when significant numbers are reported here. (1243412 samples)
min: 0s 000ms 023us | mean: 0s 000ms 216us | max: 0s 042ms 991us | pstdev: 0s 000ms 433us
Percentile Count Value
0.5 621745 0s 000ms 078us
0.75 932560 0s 000ms 226us
0.8 994734 0s 000ms 305us
0.9 1119078 0s 000ms 593us
0.95 1181245 0s 000ms 786us
0.990625 1231757 0s 001ms 382us
0.99902344 1242198 0s 005ms 577us
Initiation to completion (1463987 samples)
min: 0s 000ms 163us | mean: 0s 005ms 418us | max: 0s 070ms 029us | pstdev: 0s 000ms 602us
Percentile Count Value
0.5 732151 0s 005ms 477us
0.75 1098069 0s 005ms 660us
0.8 1171577 0s 005ms 699us
0.9 1317794 0s 005ms 812us
0.95 1390880 0s 005ms 946us
0.990625 1450273 0s 006ms 267us
0.99902344 1462559 0s 009ms 112us
Counter Value Per second
benchmark.http_3xx 1463802 48793.38
benchmark.pool_overflow 185 6.17
cluster_manager.cluster_added 9 0.30
default.total_match_count 9 0.30
membership_change 9 0.30
runtime.load_success 1 0.03
runtime.override_dir_not_exists 1 0.03
upstream_cx_http1_total 450 15.00
upstream_cx_rx_bytes_total 237135924 7904527.53
upstream_cx_total 450 15.00
upstream_cx_tx_bytes_total 58562680 1952088.53
upstream_rq_pending_overflow 185 6.17
upstream_rq_pending_total 17 0.57
upstream_rq_total 1464067 48802.21
[18:29:49.511795][2486685][I] Wait for the connection pool drain timed out, proceeding to hard shutdown.
[18:29:54.514210][2486686][I] Wait for the connection pool drain timed out, proceeding to hard shutdown.
[18:29:59.516385][2486687][I] Wait for the connection pool drain timed out, proceeding to hard shutdown.
[18:30:04.518714][2486689][I] Wait for the connection pool drain timed out, proceeding to hard shutdown.
[18:30:09.521104][2486691][I] Wait for the connection pool drain timed out, proceeding to hard shutdown.
[18:30:14.522719][2486692][I] Wait for the connection pool drain timed out, proceeding to hard shutdown.
[18:30:19.525877][2486693][I] Wait for the connection pool drain timed out, proceeding to hard shutdown.
[18:30:24.529682][2486694][I] Wait for the connection pool drain timed out, proceeding to hard shutdown.
[18:30:27.583437][2486679][I] Done.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment