nginx

This is a benchmark of the lightweight Nginx HTTP(S) web-server. This Nginx web server benchmark test profile makes use of the wrk program for facilitating the HTTP requests over a fixed period time with a configurable number of concurrent clients/connections. HTTPS with a self-signed OpenSSL certificate is used by this test for local benchmarking.

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

Project Site

nginx.org

Source Repository

github.com

Test Created

6 December 2010

Last Updated

25 March 2023

Test Maintainer

Michael Larabel 

Test Type

System

Average Install Time

1 Minute, 11 Seconds

Average Run Time

4 Minutes, 7 Seconds

Test Dependencies

C/C++ Compiler Toolchain + Zlib + OpenSSL

Accolades

200k+ Downloads + 10k+ Public Benchmark Results

Supported Platforms


Public Result Uploads *Reported Test Completions **Reported Installs **Test Profile Page Views ***OpenBenchmarking.orgEventsNGINX Benchmark Popularity Statisticspts/nginx2010.122011.052011.102012.032012.082013.012013.062013.112014.042014.092015.022015.072015.122016.052016.102017.032017.082018.012018.062018.112019.042019.092020.022020.072020.122021.052021.102022.032022.082023.012023.062023.112024.0460K120K180K240K300K
* 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.
*** Test profile page view reporting began March 2021.
Data updated weekly as of 22 June 2024.
20018.5%50024.6%100021.8%209.0%10016.2%40009.9%Connections Option PopularityOpenBenchmarking.org

Revision History

pts/nginx-3.0.1   [View Source]   Sat, 25 Mar 2023 11:35:50 GMT
Update against latest Nginx point release for GCC 13 build fix.

pts/nginx-3.0.0   [View Source]   Fri, 04 Nov 2022 09:09:12 GMT
Update against nginx 1.23.2 upstream, switch to using SSL HTTPS, ue wrk for benchmarkin.

pts/nginx-2.0.1   [View Source]   Tue, 19 Apr 2022 18:17:33 GMT
Update to support using Go install on newer versions. Fixes: https://github.com/phoronix-test-suite/phoronix-test-suite/issues/616

pts/nginx-2.0.0   [View Source]   Thu, 12 Aug 2021 18:29:30 GMT
Update against nginx 1.21.1 upstream, switch to using Bombardier for load testing, add concurrent request option.

pts/nginx-1.2.2   [View Source]   Wed, 12 Jun 2019 08:03:17 GMT
Fixes for newer distros like RHEL8 - https://github.com/phoronix-test-suite/test-profiles/pull/84

pts/nginx-1.2.1   [View Source]   Fri, 02 Mar 2018 11:01:40 GMT
Add initial Windows support.

pts/nginx-1.2.0   [View Source]   Mon, 08 Jan 2018 10:30:06 GMT
Update against upstream nginx 1.9.9, increase workload size.

pts/nginx-1.1.0   [View Source]   Sun, 29 Jan 2012 14:40:36 GMT
Update against upstream NGINX 1.0.11 web-server release.

pts/nginx-1.0.0   [View Source]   Mon, 06 Dec 2010 15:00:01 GMT
Initial import into OpenBenchmarking.org

Suites Using This Test

C/C++ Compiler Tests

Server

CPU Massive

Single-Threaded


Performance Metrics

Analyze Test Configuration:

nginx 1.23.2

Connections: 500

OpenBenchmarking.org metrics for this test profile configuration based on 1,667 public results since 4 November 2022 with the latest data as of 26 June 2024.

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
288066 +/- 8352
100th
7
285752 +/- 2040
98th
5
260506 +/- 463
97th
7
255110 +/- 16173
96th
22
239577 +/- 16657
93rd
9
219537 +/- 7556
93rd
13
218975 +/- 8647
93rd
4
209841 +/- 11031
93rd
3
208848 +/- 804
90th
18
199703 +/- 5058
90th
29
199595 +/- 7036
90th
14
199031 +/- 3777
89th
4
196179 +/- 22321
86th
6
179527 +/- 1011
86th
4
177557 +/- 1375
83rd
66
168374 +/- 6167
83rd
3
167324 +/- 249
82nd
3
166550 +/- 572
82nd
6
166052 +/- 308
81st
3
165751 +/- 856
81st
23
165374 +/- 8441
80th
7
164941 +/- 23188
80th
5
164556 +/- 547
79th
3
163763 +/- 3355
79th
3
162022 +/- 1473
79th
3
160732 +/- 1169
79th
4
160490 +/- 260
76th
5
155255 +/- 939
Mid-Tier
75th
< 154718
75th
4
152880 +/- 10849
75th
29
151928 +/- 10121
74th
3
149161 +/- 14080
73rd
6
144544 +/- 4851
72nd
5
143245 +/- 2378
71st
10
141408 +/- 18345
69th
6
134337 +/- 525
68th
27
133913 +/- 7332
67th
12
132459 +/- 3773
66th
4
130913 +/- 4097
66th
17
127687 +/- 4805
65th
8
125863 +/- 1693
63rd
19
117741 +/- 7374
62nd
6
113690 +/- 123
61st
16
105890 +/- 6220
59th
4
100931 +/- 4025
58th
4
99088 +/- 517
58th
25
98734 +/- 4791
56th
20
96159 +/- 3149
55th
4
94087 +/- 1721
55th
19
93250 +/- 986
54th
5
92473 +/- 243
53rd
8
87671 +/- 1555
52nd
6
82685 +/- 788
52nd
7
80688 +/- 8536
Median
50th
77953
48th
14
75168 +/- 5253
48th
7
75113 +/- 292
47th
12
74566 +/- 7676
47th
7
74111 +/- 1960
42nd
12
59949 +/- 5227
41st
18
55554 +/- 1720
39th
5
53748 +/- 4497
37th
7
52932 +/- 74
36th
3
51850 +/- 99
36th
6
50764 +/- 54
35th
7
49703 +/- 2558
33rd
4
45516 +/- 397
32nd
6
44266 +/- 3001
32nd
3
43953 +/- 743
31st
18
43063 +/- 1042
31st
7
42337 +/- 3051
30th
3
41653 +/- 3067
30th
5
40701 +/- 28
29th
7
38345 +/- 1044
28th
4
37513 +/- 47
28th
6
37083 +/- 3814
26th
7
33113 +/- 4905
26th
6
31387 +/- 2506
Low-Tier
25th
< 31115
25th
6
31011 +/- 378
25th
6
30465 +/- 623
24th
44
28942 +/- 2810
24th
6
28405 +/- 632
21st
6
24584 +/- 277
20th
5
24183 +/- 2678
19th
6
20703 +/- 168
18th
5
19600 +/- 1636
18th
6
18235 +/- 51
17th
3
16028 +/- 44
3rd
6
2171 +/- 23
OpenBenchmarking.orgDistribution Of Public Results - Connections: 5001667 Results Range From 122 To 373740 Requests Per Second1227595150682254130014374874496052433599066737974852823258979897271104744112217119690127163134636142109149582157055164528172001179474186947194420201893209366216839224312231785239258246731254204261677269150276623284096291569299042306515313988321461328934336407343880351353358826366299373772306090120150

Based on OpenBenchmarking.org data, the selected test / test configuration (nginx 1.23.2 - Connections: 500) has an average run-time of 5 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 BenchmarkConnections: 500Run-Time48121620Min: 5 / Avg: 5.14 / Max: 15

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

OpenBenchmarking.orgPercent, Fewer Is BetterAverage Deviation Between RunsConnections: 500Deviation246810Min: 0 / Avg: 0.25 / Max: 6

Does It Scale Well With Increasing Cores?

Yes, based on the automated analysis of the collected public benchmark data, this test / test settings does 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 Benchmark CPU Core ScalingConnections: 500468121416243256641282.054.16.158.210.25

Notable Instruction Set Usage

Notable instruction set extensions supported by this test, based on an automatic analysis by the Phoronix Test Suite / OpenBenchmarking.org analytics engine.

Instruction Set
Support
Instructions Detected
SSE2 (SSE2)
Used by default on supported hardware.
 
MOVDQU PSHUFD UCOMISD CVTSS2SD CVTSI2SD ADDSD SUBSD MULSD CVTTSD2SI DIVSD PSHUFHW MOVDQA SQRTSD COMISD CVTSD2SI ANDNPD CMPLESD ORPD ANDPD CMPNLTSD MOVAPD MOVD CVTSD2SS PSLLDQ PSRLDQ
SSSE3 (SSSE3)
Used by default on supported hardware.
 
PSHUFB PALIGNR
SSE 4.2 (SSE4_2)
Used by default on supported hardware.
Found on Intel processors since at least 2010.
Found on AMD processors since Bulldozer (2011).

 
POPCNT PCMPESTRI
Used by default on supported hardware.
Found on Intel processors since Sandy Bridge (2011).
Found on AMD processors since Bulldozer (2011).

 
VZEROUPPER VPERM2F128
Used by default on supported hardware.
Found on Intel processors since Haswell (2013).
Found on AMD processors since Excavator (2016).

 
VPBROADCASTB VINSERTI128 VPBLENDD VPERM2I128
Used by default on supported hardware.
Found on Intel processors since at least 2010.
Found on AMD processors since Bulldozer (2011).

 
AESENC AESENCLAST AESDEC AESDECLAST AESKEYGENASSIST AESIMC
FMA (FMA)
Used by default on supported hardware.
Found on Intel processors since Haswell (2013).
Found on AMD processors since Bulldozer (2011).

 
VFNMADD231SD VFMADD213SD
Last automated analysis: 23 April 2022

This test profile binary relies on the shared libraries libc.so.6.

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)
Loongson LoongArch 64-bit
loongarch64
Loongson-3A5000, Loongson-3A5000-HV, Loongson-3A6000
ARMv8 64-bit
aarch64
ARMv8, ARMv8 16-Core, ARMv8 Cortex-A53 4-Core, ARMv8 Cortex-A72, ARMv8 Cortex-A72 4-Core, ARMv8 Cortex-A73 2-Core, ARMv8 Cortex-A76 4-Core, ARMv8 Neoverse-N1, ARMv8 Neoverse-N1 16-Core, ARMv8 Neoverse-N1 160-Core, ARMv8 Neoverse-N1 64-Core, ARMv8 Neoverse-N1 80-Core, ARMv8 Neoverse-N2, ARMv8 Neoverse-N2 16-Core, ARMv8 Neoverse-V1, ARMv8 Neoverse-V1 16-Core, ARMv8 Neoverse-V1 64-Core, ARMv8 Neoverse-V2, Ampere ARMv8 Neoverse-N1 128-Core, Ampere ARMv8 Neoverse-N1 256-Core, Apple M1, Apple M2, Phytium FT-E2000, Rockchip ARMv8 Cortex-A72 6-Core, Rockchip ARMv8 Cortex-A76 4-Core, Rockchip ARMv8 Cortex-A76 6-Core

Recent Test Results

OpenBenchmarking.org Results Compare

1 System - 1 Benchmark Result

Intel Core i7-1185G7 - Oracle VirtualBox v1.2 - Intel 440FX 82441FX PMC

Debian 12 - 6.1.0-21-amd64 - GCC 12.2.0

1 System - 1 Benchmark Result

Intel Core i7-1185G7 - Oracle VirtualBox v1.2 - Intel 440FX 82441FX PMC

Debian 12 - 6.1.0-21-amd64 - GCC 12.2.0

1 System - 7 Benchmark Results

AMD Ryzen 7 5800X 8-Core - Gigabyte B550 AORUS PRO AC - AMD Starship

Ubuntu 24.04 - 6.8.0-35-generic - GNOME Shell 46.0

1 System - 28 Benchmark Results

DO-Regular - DigitalOcean Droplet v20171212 - Intel 440FX 82441FX PMC

Ubuntu 24.04 - 6.8.0-35-generic - GCC 13.2.0

1 System - 28 Benchmark Results

Intel Xeon E5-2686 v4 - Xen HVM domU - Intel 440FX 82441FX PMC

Ubuntu 24.04 - 6.8.0-1009-aws - GCC 13.2.0

1 System - 27 Benchmark Results

DO-Premium-AMD - DigitalOcean Droplet v20171212 - Intel 440FX 82441FX PMC

Ubuntu 24.04 - 6.8.0-35-generic - GCC 13.2.0

1 System - 28 Benchmark Results

Intel Xeon E5-2686 v4 - Xen HVM domU - Intel 440FX 82441FX PMC

Ubuntu 24.04 - 6.8.0-1009-aws - GCC 13.2.0

1 System - 28 Benchmark Results

AMD EPYC 7543P 32-Core - QEMU Standard PC - Intel 440FX 82441FX PMC

Ubuntu 24.04 - 6.8.0-35-generic - GCC 13.2.0

1 System - 28 Benchmark Results

AMD EPYC 7543P 32-Core - QEMU Standard PC - Intel 440FX 82441FX PMC

Ubuntu 24.04 - 6.8.0-35-generic - GCC 13.2.0

1 System - 29 Benchmark Results

AMD EPYC 7543P 32-Core - QEMU Standard PC - Intel 440FX 82441FX PMC

Ubuntu 24.04 - 6.8.0-31-generic - GCC 13.2.0

1 System - 28 Benchmark Results

AMD EPYC 7642 48-Core - Linode Compute Instance - Intel 82G33

Ubuntu 24.04 - 6.8.0-35-generic - GCC 13.2.0

1 System - 28 Benchmark Results

AMD EPYC 7642 48-Core - Linode Compute Instance - Intel 82G33

Ubuntu 24.04 - 6.8.0-35-generic - GCC 13.2.0

1 System - 28 Benchmark Results

AMD EPYC 7601 32-Core - Linode Compute Instance - Intel 82G33

Ubuntu 24.04 - 6.8.0-35-generic - GCC 13.2.0

1 System - 7 Benchmark Results

2 x Intel Xeon E5-2680 v3 - Dell 0CN7X8 - Intel Xeon E7 v3

Ubuntu 22.04 - 5.15.0-82-generic - GNOME Shell 42.9

1 System - 7 Benchmark Results

2 x Intel Xeon E5-2680 v3 - Dell 0CN7X8 - Intel Xeon E7 v3

Ubuntu 22.04 - 5.15.0-82-generic - GNOME Shell 42.9

Most Popular Test Results

OpenBenchmarking.org Results Compare

2 Systems - 384 Benchmark Results

Intel Core i9-13900K - ASUS PRIME Z790-P WIFI - Intel Device 7a27

Clear Linux OS 37600 - 6.0.7-1207.native - GNOME Shell 43.0

2 Systems - 361 Benchmark Results

AMD Ryzen Threadripper 3960X 24-Core - MSI Creator TRX40 - AMD Starship

Ubuntu 22.04 - 5.19.0-051900rc7-generic - GNOME Shell 42.2

3 Systems - 131 Benchmark Results

AMD Ryzen 7 5800X3D 8-Core - ASUS ROG CROSSHAIR VIII HERO - AMD Starship

Ubuntu 22.04 - 5.17.0-1019-oem - GNOME Shell 42.2

2 Systems - 334 Benchmark Results

2 x AMD EPYC 7601 32-Core - Dell 02MJ3T - AMD 17h

Ubuntu 22.04 - 5.15.0-40-generic - GNOME Shell 42.2

2 Systems - 286 Benchmark Results

ARMv8 Cortex-A72 - BCM2835 Raspberry Pi 400 Rev 1.0 - Broadcom BCM2711

Debian 11 - 5.15.84-v8+ - LXDE

4 Systems - 215 Benchmark Results

AMD EPYC 7343 16-Core - Supermicro H12SSL-i v1.02 - 8 x 64 GB DDR4-3200MT

AlmaLinux 9.1 - 5.14.0-162.12.1.el9_1.x86_64 - GCC 11.3.1 20220421

4 Systems - 84 Benchmark Results

AMD Ryzen 9 7950X 16-Core - ASUS ROG CROSSHAIR X670E HERO - AMD Device 14d8

Ubuntu 22.10 - 5.19.0-19-generic - GNOME Shell 43.0

5 Systems - 203 Benchmark Results

AMD EPYC 9654 96-Core - AMD Titanite_4G - AMD Device 14a4

Ubuntu 23.04 - 5.19.0-21-generic - GNOME Shell 43.1

3 Systems - 184 Benchmark Results

AMD Ryzen 9 3900XT 12-Core - MSI MEG X570 GODLIKE - AMD Starship

Ubuntu 22.04 - 5.15.0-47-generic - GNOME Shell 42.2

4 Systems - 75 Benchmark Results

Intel Core i5-12600K - ASUS PRIME Z690-P WIFI D4 - Intel Device 7aa7

Ubuntu 22.04 - 5.19.0-051900rc6daily20220716-generic - GNOME Shell 42.1

2 Systems - 343 Benchmark Results

2 x Intel Xeon Platinum 8280 - GIGABYTE MD61-SC2-00 v01000100 - Intel Sky Lake-E DMI3 Registers

Ubuntu 21.04 - 5.11.0-49-generic - GNOME Shell 3.38.4

3 Systems - 270 Benchmark Results

AMD EPYC 7F32 8-Core - ASRockRack EPYCD8 - AMD Starship

Debian 11 - 5.10.0-10-amd64 - GNOME Shell 3.38.6

2 Systems - 168 Benchmark Results

AMD Ryzen 9 7950X 16-Core - ASUS ROG CROSSHAIR X670E HERO - AMD Device 14d8

Ubuntu 22.10 - 6.1.0-060100rc3daily20221103-generic - GNOME Shell 43.0

4 Systems - 286 Benchmark Results

Intel Core i7-2630QM - ASUS G73Sw v1.0 - Intel 2nd Generation Core DRAM

ManjaroLinux 22.0.5 - 6.2.8-1-MANJARO - Cinnamon 5.6.8

Find More Test Results