Nginx

This is a benchmark of the lightweight Nginx HTTP(S) web-server. This Nginx web server benchmark test profile relies upon nginx being present in the system PATH / already installed on the system if wanting to benchmark the operating system's provided nginx package. Use the pts/ngnx test profile if wanting to test a locally-built Nginx web server. Wrk is used for facilitating the HTTP web server load testing.

To run this test with the Phoronix Test Suite, the basic command is: phoronix-test-suite benchmark system/nginx.

Project Site

nginx.org

Source Repository

github.com

Test Created

16 October 2021

Test Maintainer

 

Test Type

System

Average Install Time

18 Minutes, 21 Seconds

Average Run Time

11 Minutes, 53 Seconds

Test Dependencies

C/C++ Compiler Toolchain

Accolades

5k+ Downloads

Supported Platforms


Reported Installs **Reported Test Completions **Public Result Uploads *Test Profile Page ViewsOpenBenchmarking.orgEventsNginx Popularity Statisticssystem/nginx2021.082021.102021.112021.122022.012022.022022.032022.042022.052022.062022.072022.082022.092022.102022.112022.122023.012023.022023.032023.042023.052023.062023.072023.082023.092023.102023.112023.122024.012024.022024.032024.0430K60K90K120K150K
* Uploading of benchmark result data to OpenBenchmarking.org is always optional (opt-in) via the Phoronix Test Suite for users wishing to share their results publicly.
** Data based on those opting to upload their test results to OpenBenchmarking.org and users enabling the opt-in anonymous statistics reporting while running benchmarks from an Internet-connected platform.
Data updated weekly as of 23 April 2024.
Long Connection49.8%Short Connection50.2%Test Option PopularityOpenBenchmarking.org
50035.6%100034.6%10029.8%Connections Option PopularityOpenBenchmarking.org

Revision History

system/nginx-1.0.0   [View Source]   Sat, 16 Oct 2021 10:42:25 GMT
Add system wide nginx test profile complement to pts/nginx. Cleaned up and improved version of system/nginx from https://github.com/phoronix-test-suite/test-profiles/pull/208 Closes: https://github.com/phoronix-test-suite/test-profiles/pull/208


Performance Metrics

Analyze Test Configuration:

Nginx

Test: Long Connection - Connections: 500

OpenBenchmarking.org metrics for this test profile configuration based on 181 public results since 16 October 2021 with the latest data as of 5 July 2023.

Below is an overview of the generalized performance for components where there is sufficient statistically significant data based upon user-uploaded results. It is important to keep in mind particularly in the Linux/open-source space there can be vastly different OS configurations, with this overview intended to offer just general guidance as to the performance expectations.

Component
Percentile Rank
# Compatible Public Results
Requests Per Second (Average)
100th
3
242480 +/- 1436
98th
3
237037 +/- 1663
95th
3
226297 +/- 2498
92nd
4
202387 +/- 2398
90th
4
200484 +/- 3488
88th
3
195981 +/- 249
87th
4
194189 +/- 3086
84th
6
183082 +/- 1801
78th
4
164427 +/- 229
Mid-Tier
75th
< 158978
68th
3
143083 +/- 1545
63rd
3
131461 +/- 1425
62nd
4
126618 +/- 158
60th
3
123016 +/- 314
57th
3
107753 +/- 528
55th
3
106952 +/- 634
54th
3
106719 +/- 631
51st
4
105449 +/- 701
Median
50th
104629
48th
3
98817 +/- 469
45th
3
95335 +/- 241
40th
4
86271 +/- 775
37th
3
78034 +/- 298
34th
3
71813 +/- 206
29th
6
63932 +/- 2276
28th
3
63477 +/- 150
Low-Tier
25th
< 63178
22nd
3
57765 +/- 7039
21st
3
56961 +/- 395
21st
3
56766 +/- 260
15th
3
52364 +/- 402
14th
3
43244 +/- 210
11th
4
36603 +/- 18
8th
3
33828 +/- 17
7th
3
21399 +/- 146
OpenBenchmarking.orgDistribution Of Public Results - Test: Long Connection - Connections: 500181 Results Range From 1228 To 337041 Requests Per Second122879451466221379280963481341530482475496461681683987511581832885499526610198310870011541712213412885113556814228514900215571916243616915317587018258718930419602120273820945521617222288922960623632324304024975725647426319126990827662528334229005929677630349331021031692732364433036133707848121620

Based on OpenBenchmarking.org data, the selected test / test configuration (Nginx - Test: Long Connection - Connections: 500) has an average run-time of 4 minutes. By default this test profile is set to run at least 3 times but may increase if the standard deviation exceeds pre-defined defaults or other calculations deem additional runs necessary for greater statistical accuracy of the result.

OpenBenchmarking.orgMinutesTime Required To Complete BenchmarkTest: Long Connection - Connections: 500Run-Time246810Min: 3 / Avg: 3.09 / Max: 6

Based on public OpenBenchmarking.org results, the selected test / test configuration has an average standard deviation of 0.1%.

OpenBenchmarking.orgPercent, Fewer Is BetterAverage Deviation Between RunsTest: Long Connection - Connections: 500Deviation246810Min: 0 / Avg: 0.08 / Max: 1

Does It Scale Well With Increasing Cores?

No, based on the automated analysis of the collected public benchmark data, this test / test settings does not generally scale well with increasing CPU core counts. Data based on publicly available results for this test / test settings, separated by vendor, result divided by the reference CPU clock speed, grouped by matching physical CPU core count, and normalized against the smallest core count tested from each vendor for each CPU having a sufficient number of test samples and statistically significant data.

IntelAMDOpenBenchmarking.orgRelative Core Scaling To BaseNginx CPU Core ScalingTest: Long Connection - Connections: 500468120.68961.37922.06882.75843.448

Tested CPU Architectures

This benchmark has been successfully tested on the below mentioned architectures. The CPU architectures listed is where successful OpenBenchmarking.org result uploads occurred, namely for helping to determine if a given test is compatible with various alternative CPU architectures.

CPU Architecture
Kernel Identifier
Verified On
Intel / AMD x86 64-bit
x86_64
(Many Processors)
ARMv8 64-bit
aarch64
ARMv8 Cortex-A53 24-Core, ARMv8 Cortex-A72 4-Core, ARMv8 Neoverse-N1, Ampere ARMv8 Neoverse-N1 256-Core, Ampere eMAG ARMv8 32-Core