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, 10 Seconds

Average Run Time

4 Minutes, 7 Seconds

Test Dependencies

C/C++ Compiler Toolchain + Zlib + OpenSSL

Accolades

250k+ 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.042024.0960K120K180K240K300K
* 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 24 December 2024.
20017.3%50026.0%100023.1%208.9%10015.1%40009.5%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,945 public results since 4 November 2022 with the latest data as of 17 December 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
24
473480 +/- 39081
99th
3
288066 +/- 8352
99th
7
285752 +/- 2040
97th
5
260506 +/- 463
97th
7
255110 +/- 16173
95th
22
239577 +/- 16657
95th
8
232289 +/- 258
93rd
15
223615 +/- 3606
92nd
9
219537 +/- 7556
92nd
13
218975 +/- 8647
92nd
4
209841 +/- 11031
91st
3
208848 +/- 804
89th
14
199031 +/- 3777
88th
32
196617 +/- 10389
88th
4
196179 +/- 22321
88th
26
195279 +/- 7965
85th
6
179527 +/- 1011
85th
4
177557 +/- 1375
84th
8
176409 +/- 15089
82nd
71
168165 +/- 6786
82nd
3
167324 +/- 249
81st
3
166550 +/- 572
81st
6
166052 +/- 308
81st
3
165751 +/- 856
80th
27
165417 +/- 7766
80th
6
165403 +/- 558
79th
7
164941 +/- 23188
79th
5
164556 +/- 547
79th
3
163763 +/- 3355
78th
3
162022 +/- 1473
78th
3
160732 +/- 1169
78th
4
160490 +/- 260
76th
5
155255 +/- 939
Mid-Tier
75th
< 155100
75th
4
152880 +/- 10849
75th
29
151928 +/- 10121
74th
3
149161 +/- 14080
73rd
5
146071 +/- 41
72nd
6
144544 +/- 4851
72nd
5
143245 +/- 2378
71st
10
141408 +/- 18345
69th
6
134337 +/- 525
69th
31
134163 +/- 6857
67th
17
131431 +/- 3533
66th
21
127480 +/- 4320
65th
8
126956 +/- 5987
65th
7
126284 +/- 6460
65th
8
125863 +/- 1693
63rd
23
117677 +/- 6672
62nd
6
113690 +/- 123
61st
22
104461 +/- 5989
60th
10
102141 +/- 1959
59th
4
100931 +/- 4025
57th
4
99088 +/- 517
57th
28
98003 +/- 2519
56th
25
95632 +/- 3424
55th
4
94087 +/- 1721
54th
23
93222 +/- 894
54th
5
92473 +/- 243
53rd
8
87671 +/- 1555
52nd
7
83724 +/- 8023
52nd
10
81857 +/- 1220
51st
7
80688 +/- 8536
Median
50th
79994
48th
16
76741 +/- 7638
46th
7
74111 +/- 1960
46th
11
73955 +/- 1622
45th
19
71516 +/- 7703
42nd
9
64138 +/- 9421
41st
16
62544 +/- 3034
39th
4
56801 +/- 1172
38th
18
55554 +/- 1720
37th
5
53748 +/- 4497
35th
7
52932 +/- 74
34th
3
51850 +/- 99
33rd
7
49703 +/- 2558
32nd
11
48722 +/- 2346
31st
10
45828 +/- 6524
31st
4
45516 +/- 397
30th
7
44110 +/- 2771
30th
3
43953 +/- 743
30th
18
43063 +/- 1042
30th
5
42941 +/- 6179
29th
7
42337 +/- 3051
28th
3
41653 +/- 3067
28th
5
40701 +/- 28
27th
6
39952 +/- 2219
27th
7
38345 +/- 1044
26th
4
37513 +/- 47
26th
6
37083 +/- 3814
Low-Tier
25th
< 35825
24th
7
33113 +/- 4905
24th
10
31690 +/- 935
23rd
6
31387 +/- 2506
23rd
6
30465 +/- 623
22nd
44
28942 +/- 2810
22nd
6
28405 +/- 632
19th
7
24585 +/- 253
19th
5
24183 +/- 2678
17th
6
20703 +/- 168
17th
5
19600 +/- 1636
16th
6
18235 +/- 51
16th
4
18071 +/- 2137
15th
3
16028 +/- 44
3rd
6
2171 +/- 23
Detailed Performance Overview
OpenBenchmarking.orgDistribution Of Public Results - Connections: 5001945 Results Range From 122 To 523767 Requests Per Second1221059521068315414201452487629607343383906943791048521153251257981362711467441572171676901781631886361991092095822200552305282410012514742619472724202828932933663038393143123247853352583457313562043666773771503876233980964085694190424295154399884504614609344714074818804923535028265132995237724080120160200

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.26 / Max: 5

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: 5004681012141624325664961282.074.146.218.2810.35

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 8-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

3 Systems - 24 Benchmark Results

Intel Xeon Silver 4110 - Microsoft Virtual Machine - 3968 MB + 4224 MB

Debian 12 - 6.1.0-27-amd64 - GCC 12.2.0

14 Systems - 67 Benchmark Results

Intel Core i7-4790K - Dell OptiPlex 7020/9020 SFF [OptiPlex v1.0] - Intel 4th Gen Core DRAM

Debian - 6.11.5-amd64 - GNOME Shell 47.0

2 Systems - 9 Benchmark Results

Intel Xeon Platinum 8255C - Tencent Cloud CVM - Intel 440FX 82441FX PMC

TencentOS Server 4.2 - 6.6.47-12.tl4.x86_64 - GCC 12.3.1 20230912 + Clang 17.0.6 + LLVM 17.0.6

2 Systems - 9 Benchmark Results

Intel Xeon Platinum 8255C - Tencent Cloud CVM - Intel 440FX 82441FX PMC

TencentOS Server 4.2 - 6.6.47-12.tl4.x86_64 - GCC 12.3.1 20230912 + Clang 17.0.6 + LLVM 17.0.6

2 Systems - 7 Benchmark Results

Intel Xeon Platinum 8255C - Tencent Cloud CVM - Intel 440FX 82441FX PMC

TencentOS Server 4.2 - 6.6.47-12.tl4.x86_64 - GCC 12.3.1 20230912 + Clang 17.0.6 + LLVM 17.0.6

2 Systems - 9 Benchmark Results

Intel Xeon - Google Compute Engine n2-custom-8-16384 - 1 x 16GB RAM

CentOS Stream 9 - 5.14.0-527.el9.x86_64 - GCC 11.5.0 20240719

1 System - 6 Benchmark Results

Intel Xeon Platinum 8255C - Tencent Cloud CVM - Intel 440FX 82441FX PMC

TencentOS Server 4.2 - 6.6.47-12.tl4.x86_64 - GCC 12.3.1 20230912 + Clang 17.0.6 + LLVM 17.0.6

1 System - 5 Benchmark Results

Intel Xeon Platinum 8255C - Tencent Cloud CVM - Intel 440FX 82441FX PMC

TencentOS Server 4.2 - 6.6.47-12.tl4.x86_64 - GCC 12.3.1 20230912 + Clang 17.0.6 + LLVM 17.0.6

2 Systems - 7 Benchmark Results

Intel Xeon Platinum 8255C - Tencent Cloud CVM - Intel 440FX 82441FX PMC

TencentOS Server 4.2 - 6.6.47-12.tl4.x86_64 - GCC 12.3.1 20230912 + Clang 17.0.6 + LLVM 17.0.6

3 Systems - 9 Benchmark Results

Intel Xeon - Google Compute Engine n2-custom-4-8192 - 1 x 8GB RAM

CentOS Stream 9 - 5.14.0-527.el9.x86_64 - GCC 11.5.0 20240719

2 Systems - 7 Benchmark Results

Intel Xeon - Google Compute Engine n2-custom-8-16384 - 1 x 16GB RAM

CentOS Stream 9 - 5.14.0-527.el9.x86_64 - GCC 11.5.0 20240719

1 System - 6 Benchmark Results

Intel Xeon Platinum 8255C - Tencent Cloud CVM - Intel 440FX 82441FX PMC

TencentOS Server 4.2 - 6.6.47-12.tl4.x86_64 - GCC 12.3.1 20230912 + Clang 17.0.6 + LLVM 17.0.6

1 System - 6 Benchmark Results

Intel Xeon - Google Compute Engine n2-custom-8-16384 - 1 x 16GB RAM

CentOS Stream 9 - 5.14.0-527.el9.x86_64 - GCC 11.5.0 20240719

1 System - 5 Benchmark Results

Intel Xeon - Google Compute Engine n2-custom-8-16384 - 1 x 16GB RAM

CentOS Stream 9 - 5.14.0-527.el9.x86_64 - GCC 11.5.0 20240719

1 System - 5 Benchmark Results

Intel Xeon Platinum 8255C - Tencent Cloud CVM - Intel 440FX 82441FX PMC

TencentOS Server 4.2 - 6.6.47-12.tl4.x86_64 - GCC 12.3.1 20230912 + Clang 17.0.6 + LLVM 17.0.6

Most Popular Test Results

OpenBenchmarking.org Results Compare

2 Systems - 21 Benchmark Results

ARMv8 Cortex-A53 - BCM2835 Raspberry Pi 3 Model B Rev 1.2 - 948MB

Ubuntu 22.10 - 5.19.0-1006-raspi - GCC 12.2.0

2 Systems - 384 Benchmark Results

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

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

3 Systems - 413 Benchmark Results

Intel Core Ultra 7 155H - MTL Swift SFG14-72T Coral_MTH - Intel Device 7e7f

Ubuntu 24.04 - 6.10.0-061000rc4daily20240621-generic - GNOME Shell 46.0

6 Systems - 87 Benchmark Results

AMD EPYC 7R13 - Amazon EC2 c6a.16xlarge - Intel 440FX 82441FX PMC

Ubuntu 22.04 - 5.19.0-1025-aws - 1.3.238

2 Systems - 286 Benchmark Results

Rockchip ARMv8 Cortex-A76 - Orange Pi 5 - 8GB

Ubuntu 22.04 - 5.10.110-rockchip-rk3588 - Xfce 4.16

6 Systems - 162 Benchmark Results

AMD Ryzen 7 8700G - ASRock B650 Pro RS - AMD Device 14e8

Ubuntu 23.10 - 6.7.0-060700-generic - GNOME Shell 45.0

2 Systems - 168 Benchmark Results

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

Ubuntu 22.10 - 6.0.0-060000-generic - GNOME Shell 43.0

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 - 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

2 Systems - 244 Benchmark Results

AMD Ryzen 9 7900X 12-Core - ASRockRack B650D4U-2L2T/BCM - AMD Device 14d8

Ubuntu 22.04 - 6.6.0-060600rc1daily20230913-generic - GNOME Shell 42.9

18 Systems - 442 Benchmark Results

AMD Ryzen 9 7950X3D 16-Core - ASUS ROG STRIX X670E-E GAMING WIFI - AMD Device 14d8

Ubuntu 24.04 - 6.10.0-061000rc2-generic - GNOME Shell 46.0

4 Systems - 286 Benchmark Results

Rockchip ARMv8 Cortex-A76 - Orange Pi 5 - 8GB

Ubuntu 22.04 - 5.10.110-rockchip-rk3588 - Xfce 4.16

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

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

Find More Test Results