Skip to content

Instantly share code, notes, and snippets.

@zamazan4ik
Created September 21, 2023 16:54
Show Gist options
  • Save zamazan4ik/351847079ccd2d605b59859e63e03509 to your computer and use it in GitHub Desktop.
Save zamazan4ik/351847079ccd2d605b59859e63e03509 to your computer and use it in GitHub Desktop.
HAProxy Clang Release new config
taskset -c 15-23 ./nighthawk_client --rps 30000 --duration 120 --connections 50 --concurrency auto --prefetch-connections -v info http://127.0.0.1:8080
[18:52:06.379749][2500840][I] Detected 9 (v)CPUs with affinity..
[18:52:06.379797][2500840][I] Starting 9 threads / event loops. Time limit: 120 seconds.
[18:52:06.379800][2500840][I] Global targets: 450 connections and 270000 calls per second.
[18:52:06.379804][2500840][I] (Per-worker targets: 50 connections and 30000 calls per second)
[18:54:07.332330][2500846][I] Stopping after 120000 ms. Initiated: 878462 / Completed: 878429. (Completion rate was 7320.241117648583 per second.)
[18:54:07.332343][2500853][I] Stopping after 120000 ms. Initiated: 879066 / Completed: 879033. (Completion rate was 7325.274694780221 per second.)
[18:54:07.332348][2500848][I] Stopping after 120000 ms. Initiated: 878659 / Completed: 878626. (Completion rate was 7321.8821130196475 per second.)
[18:54:07.332350][2500847][I] Stopping after 120000 ms. Initiated: 878793 / Completed: 878760. (Completion rate was 7322.998535400293 per second.)
[18:54:07.332348][2500855][I] Stopping after 119999 ms. Initiated: 26747 / Completed: 26746. (Completion rate was 222.8833370480556 per second.)
[18:54:07.332339][2500852][I] Stopping after 120000 ms. Initiated: 877432 / Completed: 877399. (Completion rate was 7311.6580896113965 per second.)
[18:54:07.332359][2500854][I] Stopping after 120000 ms. Initiated: 877940 / Completed: 877907. (Completion rate was 7315.890508317337 per second.)
[18:54:07.332336][2500850][I] Stopping after 120000 ms. Initiated: 878942 / Completed: 878909. (Completion rate was 7324.241422525286 per second.)
[18:54:07.332372][2500856][I] Stopping after 120000 ms. Initiated: 877569 / Completed: 877536. (Completion rate was 7312.798598380268 per second.)
Nighthawk - A layer 7 protocol benchmarking tool.
benchmark_http_client.latency_3xx (7053160 samples)
min: 0s 001ms 495us | mean: 0s 004ms 493us | max: 0s 058ms 593us | pstdev: 0s 000ms 365us
Percentile Count Value
0.5 3528185 0s 004ms 533us
0.75 5291887 0s 004ms 681us
0.8 5643739 0s 004ms 715us
0.9 6349104 0s 004ms 806us
0.95 6700820 0s 004ms 906us
0.990625 6987052 0s 005ms 150us
0.99902344 7046283 0s 005ms 465us
Queueing and connection setup latency (7053425 samples)
min: 0s 000ms 001us | mean: 0s 000ms 003us | max: 0s 026ms 696us | pstdev: 0s 000ms 030us
Percentile Count Value
0.5 3540834 0s 000ms 003us
0.75 5297300 0s 000ms 004us
0.8 5663839 0s 000ms 004us
0.9 6352029 0s 000ms 004us
0.95 6704905 0s 000ms 004us
0.990625 6987426 0s 000ms 007us
0.99902344 7046572 0s 000ms 015us
Request start to response end (7053160 samples)
min: 0s 001ms 495us | mean: 0s 004ms 493us | max: 0s 058ms 591us | pstdev: 0s 000ms 365us
Percentile Count Value
0.5 3529234 0s 004ms 533us
0.75 5290131 0s 004ms 681us
0.8 5644664 0s 004ms 715us
0.9 6348234 0s 004ms 806us
0.95 6701051 0s 004ms 906us
0.990625 6987149 0s 005ms 150us
0.99902344 7046279 0s 005ms 465us
Response body size in bytes (7053160 samples)
min: 0 | mean: 0 | max: 0 | pstdev: 0
Response header size in bytes (7053160 samples)
min: 122 | mean: 122 | max: 122 | pstdev: 0
Blocking. Results are skewed when significant numbers are reported here. (5691002 samples)
min: 0s 000ms 022us | mean: 0s 000ms 189us | max: 0s 028ms 329us | pstdev: 0s 000ms 372us
Percentile Count Value
0.5 2845566 0s 000ms 067us
0.75 4268295 0s 000ms 196us
0.8 4552842 0s 000ms 263us
0.9 5121924 0s 000ms 508us
0.95 5406456 0s 000ms 678us
0.990625 5637651 0s 001ms 255us
0.99902344 5685452 0s 004ms 712us
Initiation to completion (7053345 samples)
min: 0s 000ms 218us | mean: 0s 004ms 499us | max: 0s 058ms 886us | pstdev: 0s 000ms 374us
Percentile Count Value
0.5 3527166 0s 004ms 539us
0.75 5290325 0s 004ms 687us
0.8 5644847 0s 004ms 721us
0.9 6348083 0s 004ms 812us
0.95 6700957 0s 004ms 912us
0.990625 6987248 0s 005ms 157us
0.99902344 7046462 0s 005ms 474us
Counter Value Per second
benchmark.http_3xx 7053160 58776.33
benchmark.pool_overflow 185 1.54
cluster_manager.cluster_added 9 0.07
default.total_match_count 9 0.07
membership_change 9 0.07
runtime.load_success 1 0.01
runtime.override_dir_not_exists 1 0.01
upstream_cx_destroy 185 1.54
upstream_cx_destroy_remote 185 1.54
upstream_cx_http1_total 635 5.29
upstream_cx_rx_bytes_total 1142611920 9521765.02
upstream_cx_total 635 5.29
upstream_cx_tx_bytes_total 282137000 2351141.43
upstream_rq_pending_overflow 185 1.54
upstream_rq_pending_total 17 0.14
upstream_rq_total 7053425 58778.54
[18:54:13.648830][2500846][I] Wait for the connection pool drain timed out, proceeding to hard shutdown.
[18:54:18.651152][2500847][I] Wait for the connection pool drain timed out, proceeding to hard shutdown.
[18:54:23.653895][2500848][I] Wait for the connection pool drain timed out, proceeding to hard shutdown.
[18:54:28.656668][2500850][I] Wait for the connection pool drain timed out, proceeding to hard shutdown.
[18:54:33.659710][2500852][I] Wait for the connection pool drain timed out, proceeding to hard shutdown.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment