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, 13 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 17 September 2024.
20017.7%50025.5%100022.9%209.1%10015.4%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: 200

OpenBenchmarking.org metrics for this test profile configuration based on 1,274 public results since 4 November 2022 with the latest data as of 9 September 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
7
277215 +/- 4855
100th
3
276446 +/- 2825
99th
6
257158 +/- 1348
98th
12
237601 +/- 10407
97th
9
222329 +/- 9566
96th
4
208860 +/- 6767
94th
29
204557 +/- 9229
94th
6
203407 +/- 1757
94th
5
203207 +/- 5188
93rd
4
196339 +/- 22863
92nd
4
194722 +/- 660
89th
70
178845 +/- 10062
86th
13
174422 +/- 13541
84th
4
162930 +/- 3321
83rd
5
162330 +/- 41
82nd
4
160569 +/- 31
81st
5
155560 +/- 4009
80th
6
151508 +/- 6050
78th
3
147852 +/- 10924
77th
16
143627 +/- 10815
Mid-Tier
75th
< 137210
75th
6
136295 +/- 543
75th
12
135630 +/- 1495
72nd
7
127295 +/- 1611
71st
13
122263 +/- 10827
70th
6
117703 +/- 1071
70th
16
114744 +/- 8307
70th
16
111827 +/- 8448
67th
12
102728 +/- 3315
66th
8
101173 +/- 1449
66th
4
101043 +/- 343
66th
4
100911 +/- 922
64th
12
99290 +/- 2536
64th
5
99286 +/- 1325
62nd
7
85302 +/- 1043
60th
11
82032 +/- 486
59th
7
80267 +/- 1186
58th
7
79315 +/- 3942
55th
14
76272 +/- 4847
Median
50th
61693
50th
7
61544 +/- 156
50th
3
61383 +/- 279
48th
18
58872 +/- 2874
43rd
3
52671 +/- 5617
42nd
6
51810 +/- 4286
41st
6
50487 +/- 7541
41st
4
47980 +/- 383
39th
3
46476 +/- 355
39th
6
45939 +/- 6673
39th
3
45208 +/- 5850
38th
18
43393 +/- 1115
38th
5
43347 +/- 124
37th
7
43061 +/- 673
37th
3
43040 +/- 3309
35th
4
40971 +/- 85
34th
6
39612 +/- 2705
29th
6
32393 +/- 2266
29th
6
32349 +/- 384
28th
6
31981 +/- 454
28th
6
31798 +/- 747
27th
66
31290 +/- 2554
Low-Tier
25th
< 30580
22nd
6
26627 +/- 219
21st
5
25074 +/- 2829
19th
6
22145 +/- 131
19th
6
22006 +/- 178
18th
5
21199 +/- 2809
17th
3
16470 +/- 131
4th
3
2212 +/- 34
OpenBenchmarking.orgDistribution Of Public Results - Connections: 2001274 Results Range From 155 To 380708 Requests Per Second155776715379229913060338215458275343961051686637627583887914999911110672311433512194712955913717114478315239516000716761917523118284319045519806720567921329122090322851523612724373925135125896326657527418728179928941129702330463531224731985932747133508334269535030735791936553137314338075520406080100

Based on OpenBenchmarking.org data, the selected test / test configuration (nginx 1.23.2 - Connections: 200) 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: 200Run-Time48121620Min: 5 / Avg: 5.18 / Max: 15

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

OpenBenchmarking.orgPercent, Fewer Is BetterAverage Deviation Between RunsConnections: 200Deviation246810Min: 0 / Avg: 0.23 / 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: 20046812162432642.044.086.128.1610.2

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-N2, ARMv8 Neoverse-N2 16-Core, ARMv8 Neoverse-V1, ARMv8 Neoverse-V1 16-Core, ARMv8 Neoverse-V1 64-Core, ARMv8 Neoverse-V2, 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 - 62 Benchmark Results

6 x Intel Xeon E5-2640 0 - Intel VMware Virtual 440BX Desktop - Intel 440BX

Debian 12 - 6.1.0-23-amd64 - GCC 12.2.0

6 Systems - 14 Benchmark Results

Loongson-3A6000 - Loongson Loongson-LS3A6000-7A2000-1w-EVB-V1.21 - Loongson LLC Hyper Transport Bridge

Loongnix 20 - 4.19.0-19-loongson-3 - X Server 1.20.4

2 Systems - 1 Benchmark Result

4 x Intel Core i5-8500T - Xen HVM domU v4.13 - Intel 440FX 82441FX PMC

Ubuntu 24.04 - 6.8.0-41-generic - 4.5 Mesa 24.0.9-0ubuntu0.1

1 System - 1 Benchmark Result

4 x Intel Core i5-8500T - Intel 440BX - Intel 440BX

Ubuntu 24.04 - 6.8.0-41-generic - 4.5 Mesa 24.0.9-0ubuntu0.1

1 System - 3 Benchmark Results

AMD Ryzen 9 7950X 16-Core - ASUS ProArt X670E-CREATOR WIFI - AMD Device 14d8

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

1 System - 529 Benchmark Results

Intel Xeon Platinum 8375C - Amazon EC2 m6id.4xlarge - Intel 440FX 82441FX PMC

Ubuntu 24.04 - 6.8.0-1009-aws - GCC 13.2.0

1 System - 529 Benchmark Results

Intel Xeon Platinum 8375C - Amazon EC2 m6id.4xlarge - Intel 440FX 82441FX PMC

Ubuntu 24.04 - 6.8.0-1009-aws - GCC 13.2.0

1 System - 529 Benchmark Results

AMD EPYC 7R13 - Amazon EC2 m6a.4xlarge - Intel 440FX 82441FX PMC

Ubuntu 24.04 - 6.8.0-1009-aws - GCC 13.2.0

1 System - 529 Benchmark Results

AMD EPYC 7R13 - Amazon EC2 m6a.4xlarge - Intel 440FX 82441FX PMC

Ubuntu 24.04 - 6.8.0-1009-aws - GCC 13.2.0

1 System - 22 Benchmark Results

ARMv8 - Phytium D3000 - 64GB

Kylin v10 - 5.4.18-85-generic - X Server 1.20.8

1 System - 7 Benchmark Results

2 x Intel Xeon E5-2620 v2 - ASUS Z9PE-D8 WS - Intel Xeon E7 v2

CentOS Stream 9 - 5.14.0-467.el9.x86_64 - X Server

1 System - 4 Benchmark Results

AMD EPYC - QEMU Standard PC - Intel 440FX 82441FX PMC

CentOS Linux 8 - 4.18.0-193.el8.x86_64 - GCC 8.5.0 20210514

1 System - 6 Benchmark Results

4 x AMD EPYC - QEMU Standard PC - Intel 440FX 82441FX PMC

Ubuntu 20.04 - 5.4.0-150-generic - X Server

1 System - 6 Benchmark Results

4 x AMD EPYC - QEMU Standard PC - Intel 440FX 82441FX PMC

Ubuntu 20.04 - 5.4.0-150-generic - X Server

1 System - 3 Benchmark Results

8 x AMD EPYC - QEMU Standard PC - Intel 440FX 82441FX PMC

Ubuntu 20.04 - 5.4.0-150-generic - X Server

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

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

2 Systems - 286 Benchmark Results

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

Debian 11 - 5.15.84-v8+ - LXDE

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

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

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

4 Systems - 286 Benchmark Results

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

Debian 11 - 5.15.84-v8+ - LXDE

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 - 215 Benchmark Results

Intel Xeon Gold 6346 - Supermicro X12SPO-NTF v2.00 - 8 x 64 GB DDR4-3200MT

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

5 Systems - 203 Benchmark Results

2 x 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 - 237 Benchmark Results

AMD Ryzen 7 4800U - ASRock 4X4-4000 - AMD Renoir

Ubuntu 22.04 - 5.19.0-rc6-phx-retbleed - GNOME Shell 42.2

Find More Test Results