Skip to content

Instantly share code, notes, and snippets.

@zamazan4ik
Created September 21, 2023 16:35
Show Gist options
  • Save zamazan4ik/50c0bbd240745057dcc95f763d8c00be to your computer and use it in GitHub Desktop.
Save zamazan4ik/50c0bbd240745057dcc95f763d8c00be to your computer and use it in GitHub Desktop.
HAProxy GCC Release 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:32:17.177721][2489483][I] Detected 9 (v)CPUs with affinity..
[18:32:17.177807][2489483][I] Starting 9 threads / event loops. Time limit: 30 seconds.
[18:32:17.177810][2489483][I] Global targets: 450 connections and 270000 calls per second.
[18:32:17.177814][2489483][I] (Per-worker targets: 50 connections and 30000 calls per second)
[18:32:48.129829][2489489][I] Stopping after 29999 ms. Initiated: 225543 / Completed: 225510. (Completion rate was 7517.000501133367 per second.)
[18:32:48.129850][2489490][I] Stopping after 30000 ms. Initiated: 225787 / Completed: 225754. (Completion rate was 7525.1290690935275 per second.)
[18:32:48.129858][2489497][I] Stopping after 30000 ms. Initiated: 224656 / Completed: 224623. (Completion rate was 7487.431835846966 per second.)
[18:32:48.129851][2489492][I] Stopping after 30000 ms. Initiated: 224922 / Completed: 224889. (Completion rate was 7496.297251357674 per second.)
[18:32:48.129883][2489499][I] Stopping after 30000 ms. Initiated: 225839 / Completed: 225806. (Completion rate was 7526.860394283004 per second.)
[18:32:48.129861][2489498][I] Stopping after 30000 ms. Initiated: 6976 / Completed: 6975. (Completion rate was 232.4999535000093 per second.)
[18:32:48.129851][2489496][I] Stopping after 30000 ms. Initiated: 224312 / Completed: 224280. (Completion rate was 7475.999750800009 per second.)
[18:32:48.129872][2489491][I] Stopping after 30000 ms. Initiated: 225130 / Completed: 225099. (Completion rate was 7503.290996050804 per second.)
[18:32:48.129843][2489494][I] Stopping after 29999 ms. Initiated: 225018 / Completed: 224985. (Completion rate was 7499.500249983342 per second.)
Nighthawk - A layer 7 protocol benchmarking tool.
benchmark_http_client.latency_3xx (1807736 samples)
min: 0s 001ms 364us | mean: 0s 004ms 378us | max: 0s 051ms 372us | pstdev: 0s 000ms 479us
Percentile Count Value
0.5 903975 0s 004ms 413us
0.75 1356438 0s 004ms 559us
0.8 1446541 0s 004ms 591us
0.9 1627012 0s 004ms 683us
0.95 1717357 0s 004ms 791us
0.990625 1790805 0s 005ms 078us
0.99902344 1805971 0s 006ms 340us
Queueing and connection setup latency (1807998 samples)
min: 0s 000ms 001us | mean: 0s 000ms 003us | max: 0s 029ms 242us | pstdev: 0s 000ms 064us
Percentile Count Value
0.5 905207 0s 000ms 003us
0.75 1357920 0s 000ms 003us
0.8 1449482 0s 000ms 004us
0.9 1628552 0s 000ms 004us
0.95 1718911 0s 000ms 004us
0.990625 1791051 0s 000ms 006us
0.99902344 1806236 0s 000ms 014us
Request start to response end (1807736 samples)
min: 0s 001ms 363us | mean: 0s 004ms 378us | max: 0s 051ms 372us | pstdev: 0s 000ms 479us
Percentile Count Value
0.5 904295 0s 004ms 413us
0.75 1355983 0s 004ms 559us
0.8 1446843 0s 004ms 591us
0.9 1627134 0s 004ms 683us
0.95 1717409 0s 004ms 791us
0.990625 1790799 0s 005ms 077us
0.99902344 1805971 0s 006ms 340us
Response body size in bytes (1807736 samples)
min: 0 | mean: 0 | max: 0 | pstdev: 0
Response header size in bytes (1807736 samples)
min: 122 | mean: 122 | max: 122 | pstdev: 0
Blocking. Results are skewed when significant numbers are reported here. (1451624 samples)
min: 0s 000ms 023us | mean: 0s 000ms 185us | max: 0s 021ms 969us | pstdev: 0s 000ms 361us
Percentile Count Value
0.5 725816 0s 000ms 067us
0.75 1088732 0s 000ms 195us
0.8 1161305 0s 000ms 261us
0.9 1306477 0s 000ms 494us
0.95 1379045 0s 000ms 655us
0.990625 1438017 0s 001ms 194us
0.99902344 1450208 0s 004ms 560us
Initiation to completion (1807921 samples)
min: 0s 000ms 004us | mean: 0s 004ms 384us | max: 0s 051ms 382us | pstdev: 0s 000ms 492us
Percentile Count Value
0.5 904315 0s 004ms 419us
0.75 1356588 0s 004ms 565us
0.8 1446707 0s 004ms 598us
0.9 1627392 0s 004ms 689us
0.95 1717622 0s 004ms 797us
0.990625 1790985 0s 005ms 084us
0.99902344 1806156 0s 006ms 347us
Counter Value Per second
benchmark.http_3xx 1807736 60257.84
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 292853232 9761770.64
upstream_cx_total 450 15.00
upstream_cx_tx_bytes_total 72319920 2410663.07
upstream_rq_pending_overflow 185 6.17
upstream_rq_pending_total 17 0.57
upstream_rq_total 1807998 60266.58
[18:32:54.429256][2489489][I] Wait for the connection pool drain timed out, proceeding to hard shutdown.
[18:32:59.430977][2489490][I] Wait for the connection pool drain timed out, proceeding to hard shutdown.
[18:33:04.432720][2489491][I] Wait for the connection pool drain timed out, proceeding to hard shutdown.
[18:33:09.434497][2489492][I] Wait for the connection pool drain timed out, proceeding to hard shutdown.
[18:33:14.436220][2489494][I] Wait for the connection pool drain timed out, proceeding to hard shutdown.
[18:33:19.437771][2489496][I] Wait for the connection pool drain timed out, proceeding to hard shutdown.
[18:33:24.440446][2489497][I] Wait for the connection pool drain timed out, proceeding to hard shutdown.
[18:33:29.443858][2489498][I] Wait for the connection pool drain timed out, proceeding to hard shutdown.
[18:33:34.445435][2489499][I] Wait for the connection pool drain timed out, proceeding to hard shutdown.
[18:33:34.471173][2489483][I] Done.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment