Advertisement
ZaMaZaN4iK

Nginx optimized

Sep 20th, 2023 (edited)
1,070
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
C++ 4.09 KB | None | 0 0
  1. [23:34:37.983248][2256278][I] Detected 1 (v)CPUs with affinity..
  2. [23:34:37.983295][2256278][I] Starting 1 threads / event loops. Time limit: 300 seconds.
  3. [23:34:37.983300][2256278][I] Global targets: 4 connections and 15000 calls per second.
  4. [23:39:38.535839][2256284][I] Stopping after 300000 ms. Initiated: 2812445 / Completed: 2812442. (Completion rate was 9374.806541669246 per second.)
  5. Nighthawk - A layer 7 protocol benchmarking tool.
  6.  
  7. benchmark_http_client.latency_2xx (2812442 samples)
  8.   min: 0s 000ms 175us | mean: 0s 000ms 417us | max: 0s 013ms 054us | pstdev: 0s 000ms 074us
  9.  
  10.   Percentile  Count       Value
  11.   0.5         1407329     0s 000ms 415us
  12.   0.75        2109396     0s 000ms 424us
  13.   0.8         2250576     0s 000ms 426us
  14.   0.9         2531212     0s 000ms 440us
  15.   0.95        2671848     0s 000ms 465us
  16.   0.990625    2786084     0s 000ms 500us
  17.   0.99902344  2809696     0s 000ms 570us
  18.  
  19. Queueing and connection setup latency (2812445 samples)
  20.   min: 0s 000ms 001us | mean: 0s 000ms 004us | max: 0s 000ms 364us | pstdev: 0s 000ms 002us
  21.  
  22.   Percentile  Count       Value
  23.   0.5         1425316     0s 000ms 003us
  24.   0.75        2127995     0s 000ms 003us
  25.   0.8         2253917     0s 000ms 003us
  26.   0.9         2531460     0s 000ms 004us
  27.   0.95        2671958     0s 000ms 004us
  28.   0.990625    2786199     0s 000ms 007us
  29.   0.99902344  2809699     0s 000ms 071us
  30.  
  31. Request start to response end (2812442 samples)
  32.   min: 0s 000ms 174us | mean: 0s 000ms 417us | max: 0s 013ms 053us | pstdev: 0s 000ms 074us
  33.  
  34.   Percentile  Count       Value
  35.   0.5         1407454     0s 000ms 414us
  36.   0.75        2109565     0s 000ms 423us
  37.   0.8         2250683     0s 000ms 426us
  38.   0.9         2531308     0s 000ms 440us
  39.   0.95        2671879     0s 000ms 465us
  40.   0.990625    2786103     0s 000ms 500us
  41.   0.99902344  2809697     0s 000ms 569us
  42.  
  43. Response body size in bytes (2812442 samples)
  44.   min: 8474 | mean: 8474 | max: 8474 | pstdev: 0
  45.  
  46. Response header size in bytes (2812442 samples)
  47.   min: 194 | mean: 198.99500078579342 | max: 199 | pstdev: 0.15802239995459413
  48.  
  49. Blocking. Results are skewed when significant numbers are reported here. (2811660 samples)
  50.   min: 0s 000ms 029us | mean: 0s 000ms 106us | max: 0s 012ms 717us | pstdev: 0s 000ms 048us
  51.  
  52.   Percentile  Count       Value
  53.   0.5         1406293     0s 000ms 105us
  54.   0.75        2109093     0s 000ms 108us
  55.   0.8         2249401     0s 000ms 109us
  56.   0.9         2530612     0s 000ms 116us
  57.   0.95        2671078     0s 000ms 194us
  58.   0.990625    2785314     0s 000ms 226us
  59.   0.99902344  2808915     0s 000ms 274us
  60.  
  61. Initiation to completion (2812442 samples)
  62.   min: 0s 000ms 180us | mean: 0s 000ms 422us | max: 0s 013ms 060us | pstdev: 0s 000ms 074us
  63.  
  64.   Percentile  Count       Value
  65.   0.5         1406674     0s 000ms 420us
  66.   0.75        2109462     0s 000ms 429us
  67.   0.8         2250466     0s 000ms 431us
  68.   0.9         2531253     0s 000ms 445us
  69.   0.95        2671877     0s 000ms 471us
  70.   0.990625    2786088     0s 000ms 507us
  71.   0.99902344  2809696     0s 000ms 576us
  72.  
  73. Counter                                 Value       Per second
  74. benchmark.http_2xx                      2812442     9374.81
  75. cluster_manager.cluster_added           1           0.00
  76. default.total_match_count               1           0.00
  77. membership_change                       1           0.00
  78. runtime.load_success                    1           0.00
  79. runtime.override_dir_not_exists         1           0.00
  80. upstream_cx_close_notify                2812        9.37
  81. upstream_cx_destroy                     2812        9.37
  82. upstream_cx_destroy_local               2812        9.37
  83. upstream_cx_http1_total                 2816        9.39
  84. upstream_cx_rx_bytes_total              24507605528 81692017.31
  85. upstream_cx_total                       2816        9.39
  86. upstream_cx_tx_bytes_total              112497800   374992.66
  87. upstream_rq_pending_total               2813        9.38
  88. upstream_rq_total                       2812445     9374.82
  89.  
  90. [23:39:43.647345][2256284][I] Wait for the connection pool drain timed out, proceeding to hard shutdown.
  91. [23:39:43.650940][2256278][I] Done.
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement