Skip to content

Instantly share code, notes, and snippets.

@zamazan4ik
Created September 25, 2023 01:58
Show Gist options
  • Save zamazan4ik/024937c6ff4fb12cbb4847a41140cac4 to your computer and use it in GitHub Desktop.
Save zamazan4ik/024937c6ff4fb12cbb4847a41140cac4 to your computer and use it in GitHub Desktop.
httpd Instrumented
taskset -c 15-23 ./nighthawk_client --rps 2000 --duration 30 --connections 2 --concurrency auto --prefetch-connections -v info http://127.0.0.1:8080
[03:57:42.280923][164109][I] Detected 9 (v)CPUs with affinity..
[03:57:42.280964][164109][I] Starting 9 threads / event loops. Time limit: 30 seconds.
[03:57:42.280966][164109][I] Global targets: 18 connections and 18000 calls per second.
[03:57:42.280968][164109][I] (Per-worker targets: 2 connections and 2000 calls per second)
[03:58:13.232975][164115][I] Stopping after 29999 ms. Initiated: 36735 / Completed: 36733. (Completion rate was 1224.4334149622275 per second.)
[03:58:13.233049][164116][I] Stopping after 30000 ms. Initiated: 36736 / Completed: 36734. (Completion rate was 1224.4659728026154 per second.)
[03:58:13.233093][164117][I] Stopping after 30000 ms. Initiated: 36720 / Completed: 36718. (Completion rate was 1223.9330477489557 per second.)
[03:58:13.233167][164119][I] Stopping after 30000 ms. Initiated: 36715 / Completed: 36713. (Completion rate was 1223.765565277658 per second.)
[03:58:13.233229][164121][I] Stopping after 30000 ms. Initiated: 36714 / Completed: 36712. (Completion rate was 1223.7319872281473 per second.)
[03:58:13.233253][164122][I] Stopping after 30000 ms. Initiated: 18353 / Completed: 18352. (Completion rate was 611.7333129422228 per second.)
[03:58:13.233310][164123][I] Stopping after 30000 ms. Initiated: 36710 / Completed: 36708. (Completion rate was 1223.599918426672 per second.)
[03:58:13.233369][164124][I] Stopping after 30000 ms. Initiated: 36705 / Completed: 36703. (Completion rate was 1223.4330886467155 per second.)
[03:58:13.233444][164125][I] Stopping after 30000 ms. Initiated: 36706 / Completed: 36704. (Completion rate was 1223.4656471119608 per second.)
Nighthawk - A layer 7 protocol benchmarking tool.
benchmark_http_client.latency_2xx (312076 samples)
min: 0s 000ms 192us | mean: 0s 001ms 621us | max: 0s 012ms 576us | pstdev: 0s 000ms 172us
Percentile Count Value
0.5 156175 0s 001ms 614us
0.75 234061 0s 001ms 672us
0.8 249706 0s 001ms 689us
0.9 280889 0s 001ms 734us
0.95 296483 0s 001ms 769us
0.990625 309151 0s 001ms 858us
0.99902344 311773 0s 002ms 445us
Queueing and connection setup latency (312093 samples)
min: 0s 000ms 002us | mean: 0s 000ms 005us | max: 0s 010ms 244us | pstdev: 0s 000ms 048us
Percentile Count Value
0.5 156214 0s 000ms 004us
0.75 234215 0s 000ms 004us
0.8 249832 0s 000ms 005us
0.9 281381 0s 000ms 005us
0.95 296503 0s 000ms 006us
0.990625 309169 0s 000ms 067us
0.99902344 311789 0s 000ms 089us
Request start to response end (312076 samples)
min: 0s 000ms 191us | mean: 0s 001ms 621us | max: 0s 012ms 575us | pstdev: 0s 000ms 172us
Percentile Count Value
0.5 156038 0s 001ms 614us
0.75 234111 0s 001ms 672us
0.8 249683 0s 001ms 689us
0.9 280891 0s 001ms 734us
0.95 296498 0s 001ms 769us
0.990625 309151 0s 001ms 858us
0.99902344 311772 0s 002ms 443us
Response body size in bytes (312076 samples)
min: 8474 | mean: 8474 | max: 8474 | pstdev: 0
Response header size in bytes (312076 samples)
min: 179 | mean: 179.14789666619785 | max: 194 | pstdev: 1.4820852097900226
Blocking. Results are skewed when significant numbers are reported here. (312014 samples)
min: 0s 000ms 033us | mean: 0s 000ms 865us | max: 0s 012ms 192us | pstdev: 0s 000ms 429us
Percentile Count Value
0.5 156017 0s 000ms 843us
0.75 234014 0s 001ms 171us
0.8 249620 0s 001ms 266us
0.9 280816 0s 001ms 423us
0.95 296415 0s 001ms 589us
0.990625 309089 0s 001ms 721us
0.99902344 311710 0s 001ms 852us
Initiation to completion (312077 samples)
min: 0s 000ms 013us | mean: 0s 001ms 629us | max: 0s 014ms 026us | pstdev: 0s 000ms 179us
Percentile Count Value
0.5 156100 0s 001ms 621us
0.75 234059 0s 001ms 679us
0.8 249688 0s 001ms 696us
0.9 280905 0s 001ms 742us
0.95 296487 0s 001ms 777us
0.990625 309153 0s 001ms 868us
0.99902344 311773 0s 002ms 517us
Counter Value Per second
benchmark.http_2xx 312076 10402.53
benchmark.pool_overflow 1 0.03
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_close_notify 3077 102.57
upstream_cx_destroy 3077 102.57
upstream_cx_destroy_local 3077 102.57
upstream_cx_http1_total 3095 103.17
upstream_cx_rx_bytes_total 2711998903 90399923.17
upstream_cx_total 3095 103.17
upstream_cx_tx_bytes_total 12483720 416123.81
upstream_rq_pending_overflow 1 0.03
upstream_rq_pending_total 2905 96.83
upstream_rq_total 312093 10403.10
[03:58:23.242266][164122][I] Wait for the connection pool drain timed out, proceeding to hard shutdown.
[03:58:23.275275][164109][I] Done.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment