nginx

This is a benchmark of the lightweight Nginx HTTP(S) web-server. This Nginx web server benchmark test profile makes use of the Golang "Bombardier" program for facilitating the HTTP requests over a fixed period time with a configurable number of concurrent clients.

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

19 April 2022

Test Maintainer

Michael Larabel 

Test Type

System

Average Install Time

1 Minute, 15 Seconds

Average Run Time

4 Minutes, 7 Seconds

Test Dependencies

C/C++ Compiler Toolchain + Zlib + Go Language

Accolades

150k+ 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.042011.082011.122012.042012.082012.122013.042013.082013.122014.042014.082014.122015.042015.082015.122016.042016.082016.122017.042017.082017.122018.042018.082018.122019.042019.082019.122020.042020.082020.122021.042021.082021.122022.0420K40K60K80K100K
* 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 current as of 27 May 2022.
10016.9%114.9%100019.5%50017.1%20016.6%2015.0%Concurrent Requests Option PopularityOpenBenchmarking.org

Revision History

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

Concurrent Requests: 1000

OpenBenchmarking.org metrics for this test profile configuration based on 883 public results since 12 August 2021 with the latest data as of 26 May 2022.

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
8
490755 +/- 14084
99th
10
485695 +/- 8564
99th
4
481845 +/- 27139
98th
7
467589 +/- 29497
98th
3
449613 +/- 1125
94th
3
376172 +/- 1604
93rd
3
366671 +/- 3464
93rd
4
363291 +/- 39210
92nd
31
349897 +/- 12376
88th
3
339347 +/- 1686
87th
9
333117 +/- 15613
87th
3
327991 +/- 1657
86th
3
323931 +/- 586
85th
4
315972 +/- 231
83rd
5
305267 +/- 33228
83rd
3
304002 +/- 1821
81st
4
289444 +/- 421
80th
3
274222 +/- 1010
79th
6
265087 +/- 5967
79th
3
262714 +/- 765
78th
3
255678 +/- 395
77th
3
249065 +/- 1564
76th
3
245169 +/- 2483
76th
3
243872 +/- 2682
Mid-Tier
75th
< 233516
75th
4
231908 +/- 1412
73rd
4
220732 +/- 111
73rd
3
219676 +/- 3828
69th
3
204700 +/- 10630
69th
3
203993 +/- 2454
65th
3
190378 +/- 448
63rd
4
187319 +/- 10560
63rd
8
184485 +/- 1215
62nd
9
182113 +/- 5838
61st
7
181139 +/- 552
60th
3
178119 +/- 1937
57th
10
167243 +/- 19984
57th
4
164727 +/- 12745
56th
4
162708 +/- 3641
55th
3
161866 +/- 308
52nd
4
151662 +/- 3461
52nd
4
150602 +/- 1359
51st
6
147567 +/- 765
51st
3
146936 +/- 983
Median
50th
145997
50th
3
142043 +/- 552
47th
4
136199 +/- 942
46th
3
130892 +/- 1482
45th
3
123098 +/- 139
44th
3
114059 +/- 86
43rd
4
110199 +/- 1559
40th
3
103520 +/- 4112
37th
14
94947 +/- 3865
36th
3
92939 +/- 7483
34th
4
91015 +/- 8574
34th
22
89766 +/- 5976
33rd
6
89083 +/- 1771
Low-Tier
25th
< 71036
10th
14
35077 +/- 1273
7th
7
30607 +/- 1229
OpenBenchmarking.orgDistribution Of Public Results - Concurrent Requests: 1000871 Results Range From 211 To 635790 Requests Per Second211129232563538347510596377176483891951019071146191273311400431527551654671781791908912036032163152290272417392544512671632798752925873052993180113307233434353561473688593815713942834069954197074324194451314578434705554832674959795086915214035341155468275595395722515849635976756103876230996358111428425670

Based on OpenBenchmarking.org data, the selected test / test configuration (nginx 1.21.1 - Concurrent Requests: 1000) 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 BenchmarkConcurrent Requests: 1000Run-Time48121620Min: 5 / Avg: 5.19 / Max: 17

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

OpenBenchmarking.orgPercent, Fewer Is BetterAverage Deviation Between RunsConcurrent Requests: 1000Deviation3691215Min: 0 / Avg: 0.42 / Max: 7

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 Benchmark CPU Core ScalingConcurrent Requests: 1000468162432641280.71.42.12.83.5

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 Westmere (2011).
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)
IBM Z
s390x
(Many Processors)
ARMv7 32-bit
armv7l
ARMv7 Cortex-A53 4-Core, ARMv7 Cortex-A72 4-Core
ARMv8 64-bit
aarch64
ARMv8 Cortex-A72, ARMv8 Cortex-A72 4-Core, ARMv8 Cortex-A75 8-Core, ARMv8 Neoverse-N1, ARMv8 Neoverse-N1 2-Core, ARMv8 Neoverse-N1 32-Core, ARMv8 Neoverse-N1 64-Core, ARMv8 Neoverse-V1, Ampere ARMv8 Neoverse-N1 128-Core, Ampere ARMv8 Neoverse-N1 160-Core, Ampere ARMv8 Neoverse-N1 256-Core, Ampere Altra ARMv8 Neoverse-N1 160-Core, Ampere Altra ARMv8 Neoverse-N1 80-Core, Apple M1

Recent Test Results

OpenBenchmarking.org Results Compare

1 System - 7 Benchmark Results

Intel Core i5-7200U - Acer Ironman_SK - Intel Xeon E3-1200 v6

Artix rolling - 5.17.8-artix1-1 - LXQt 1.1.0

1 System - 7 Benchmark Results

Intel Core i5-7200U - Acer Ironman_SK - Intel Xeon E3-1200 v6

Artix rolling - 5.17.8-artix1-1 - LXQt 1.1.0

5 Systems - 94 Benchmark Results

ARMv8 Neoverse-V1 - Amazon EC2 c7g.4xlarge - Amazon Device 0200

Ubuntu 22.04 - 5.15.0-1004-aws - GCC 11.2.0

1 System - 5 Benchmark Results

Intel Core i5-7200U - Acer Ironman_SK - Intel Xeon E3-1200 v6

Artix rolling - 5.17.8-artix1-1 - LXQt 1.1.0

3 Systems - 102 Benchmark Results

ARMv8 Neoverse-V1 - Amazon EC2 c7g.4xlarge - Amazon Device 0200

Ubuntu 22.04 - 5.15.0-1004-aws - GCC 11.2.0

3 Systems - 101 Benchmark Results

ARMv8 Neoverse-V1 - Amazon EC2 c7g.4xlarge - Amazon Device 0200

Ubuntu 22.04 - 5.15.0-1004-aws - GCC 11.2.0

2 Systems - 101 Benchmark Results

ARMv8 Neoverse-V1 - Amazon EC2 c7g.4xlarge - Amazon Device 0200

Ubuntu 22.04 - 5.15.0-1004-aws - GCC 11.2.0

2 Systems - 102 Benchmark Results

ARMv8 Neoverse-V1 - Amazon EC2 c7g.4xlarge - Amazon Device 0200

Ubuntu 22.04 - 5.15.0-1004-aws - GCC 11.2.0

1 System - 1 Benchmark Result

ARMv8 Neoverse-N1 - Amazon EC2 c6g.large - Amazon Device 0200

Amazon Linux 2 - 5.10.109-104.500.amzn2.aarch64 - GCC 7.3.1 20180712

15 Systems - 49 Benchmark Results

Unknown - THTF BC82AMDGE - Huawei HiSilicon

openEuler 22.03 LTS - 5.10.0-60.27.0.57.oe2203.aarch64 - GCC 10.3.1

1 System - 106 Benchmark Results

ARMv8 Neoverse-V1 - Amazon EC2 c7g.4xlarge - Amazon Device 0200

Ubuntu 22.04 - 5.15.0-1004-aws - GCC 11.2.0

1 System - 1 Benchmark Result

AMD Ryzen 5 5600X 6-Core - MSI B450M PRO-M2 - AMD Starship

Clear Linux OS 36010 - 5.16.13-1132.native - GNOME Shell 41.4

1 System - 8 Benchmark Results

AMD A9-9425 RADEON R5 5 COMPUTE CORES 2C+3G - LENOVO LNVNB161216 - AMD 15h

Ubuntu 20.04 - 5.13.0-41-generic - GNOME Shell 3.36.9

1 System - 42 Benchmark Results

4 x AMD Opteron 8378 - HP ProLiant DL585 G5 - AMD 10h HyperTransport Configuration

Debian 11 - 5.10.0-14-amd64 - X Server 1.20.11

1 System - 42 Benchmark Results

4 x AMD Opteron 8378 - HP ProLiant DL585 G5 - AMD 10h HyperTransport Configuration

Debian 11 - 5.10.0-14-amd64 - X Server 1.20.11

Most Popular Test Results

OpenBenchmarking.org Results Compare

4 Systems - 196 Benchmark Results

Intel Core i7-8700K - ASUS TUF Z370-PLUS GAMING - Intel 8th Gen Core

Ubuntu 20.04 - 5.9.0-050900rc6daily20200923-generic - GNOME Shell 3.36.4

5 Systems - 34 Benchmark Results

2 x AMD EPYC 7763 64-Core - AMD DAYTONA_X - AMD Starship

Debian 11 - 5.10.0-8-amd64 - GNOME Shell 3.38.4

2 Systems - 56 Benchmark Results

Intel Xeon Platinum 8259CL - Amazon EC2 m5.8xlarge - Intel 440FX 82441FX PMC

Ubuntu 20.04 - 5.4.0-1045-aws - 1.0.2

3 Systems - 12 Benchmark Results

AMD Ryzen 9 5900HX - ASUS G513QY v1.0 - AMD Renoir Root Complex

Ubuntu 21.10 - 5.14.0-051400rc4daily20210804-generic - GNOME Shell 40.2

2 Systems - 16 Benchmark Results

Ampere Altra ARMv8 Neoverse-N1 - WIWYNN Mt.Jade - Ampere Computing LLC Altra PCI Root Complex A

Ubuntu 21.04 - 5.11.0-25-generic - 1.0.2

4 Systems - 75 Benchmark Results

AMD FX-8150 Eight-Core - ASUS M5A78L-M LX PLUS - AMD RS780 + SB7x0

Ubuntu 20.10 - 5.8.0-53-generic - GNOME Shell 3.38.1

3 Systems - 13 Benchmark Results

AMD Ryzen 5 5500U - LENOVO LNVNB161216 - AMD Renoir Root Complex

Ubuntu 21.04 - 5.14.0-051400rc5daily20210811-generic - GNOME Shell 3.38.4

3 Systems - 8 Benchmark Results

Intel Xeon Gold 6240 - Intel 440BX - Intel 440BX

CentOS Linux 7 - 3.10.0-1160.36.2.el7.x86_64 - GCC 4.8.5 20150623

3 Systems - 68 Benchmark Results

Intel Xeon E3-1275 v6 - ASUS P10S-M WS - Intel Xeon E3-1200 v6

Ubuntu 20.04 - 5.9.0-050900rc8daily20201007-generic - X Server 1.20.8

6 Systems - 8 Benchmark Results

2 x Intel Xeon Gold 6240 - Intel 440BX - Intel 440BX

CentOS Linux 7 - 3.10.0-1160.36.2.el7.x86_64 - GCC 4.8.5 20150623

6 Systems - 254 Benchmark Results

AMD Ryzen 3 PRO 4350G - ASRock B450M Pro4 - AMD Renoir Root Complex

Clear Linux OS 35000 - 5.13.13-1070.native - GNOME Shell 40.4

4 Systems - 63 Benchmark Results

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

Ubuntu 20.10 - 5.11.0-rc1-phx - GNOME Shell 3.38.1

Find More Test Results