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

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 21 April 2024.
20018.4%50024.5%100021.4%209.1%10016.5%400010.0%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: 1

OpenBenchmarking.org metrics for this test profile configuration based on 36 public results since 2 January 2023 with the latest data as of 22 April 2024.

Additional benchmark metrics will come after OpenBenchmarking.org has collected a sufficient data-set.

OpenBenchmarking.orgDistribution Of Public Results - Connections: 135 Results Range From 1665 To 6653 Requests Per Second1665176518651965206521652265236524652565266527652865296530653165326533653465356536653765386539654065416542654365446545654665476548654965506551655265536554655565566557655865596560656165626563656465656566653691215

Based on OpenBenchmarking.org data, the selected test / test configuration (nginx 1.23.2 - Connections: 1) has an average run-time of 9 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: 1Run-Time510152025Min: 5 / Avg: 8.6 / Max: 23

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

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

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)

Recent Test Results

OpenBenchmarking.org Results Compare

1 System - 7 Benchmark Results

2 x Intel Xeon Gold 6354 - Supermicro X12DPU-6-G8-NI22 - Intel Ice Lake IEH

Rocky Linux 8.9 - 4.18.0-425.19.2.el8_7.x86_64 - GCC 8.5.0 20210514

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-435.el9.x86_64 - X Server

1 System - 7 Benchmark Results

AMD Ryzen 9 7900X3D 12-Core - ASUS ProArt B650-CREATOR - AMD Device 14d8

Debian 12 - 6.1.0-20-amd64 - GNOME Shell 43.9

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-435.el9.x86_64 - X Server

1 System - 214 Benchmark Results

1 System - 211 Benchmark Results

ARMv8 Neoverse-V2 - Amazon EC2 r8g.4xlarge - Amazon Device 0200

Amazon Linux 2023.4.20240401 - 6.1.82-99.168.amzn2023.aarch64 - GCC 11.4.1 20230605

1 System - 208 Benchmark Results

ARMv8 Neoverse-V2 - Amazon EC2 r8g.4xlarge - Amazon Device 0200

Amazon Linux 2023.4.20240401 - 6.1.82-99.168.amzn2023.aarch64 - GCC 11.4.1 20230605

1 System - 192 Benchmark Results

ARMv8 Neoverse-V2 - Amazon EC2 r8g.4xlarge - Amazon Device 0200

Amazon Linux 2023.4.20240401 - 6.1.82-99.168.amzn2023.aarch64 - GCC 11.4.1 20230605

1 System - 188 Benchmark Results

ARMv8 Neoverse-V2 - Amazon EC2 r8g.4xlarge - Amazon Device 0200

Amazon Linux 2023.4.20240401 - 6.1.82-99.168.amzn2023.aarch64 - GCC 11.4.1 20230605

1 System - 152 Benchmark Results

ARMv8 Neoverse-V2 - Amazon EC2 r8g.4xlarge - Amazon Device 0200

Amazon Linux 2023.4.20240401 - 6.1.82-99.168.amzn2023.aarch64 - GCC 11.4.1 20230605

1 System - 148 Benchmark Results

ARMv8 Neoverse-V2 - Amazon EC2 r8g.4xlarge - Amazon Device 0200

Amazon Linux 2023.4.20240401 - 6.1.82-99.168.amzn2023.aarch64 - GCC 11.4.1 20230605

1 System - 147 Benchmark Results

ARMv8 Neoverse-V2 - Amazon EC2 r8g.4xlarge - Amazon Device 0200

Amazon Linux 2023.4.20240401 - 6.1.82-99.168.amzn2023.aarch64 - GCC 11.4.1 20230605

1 System - 144 Benchmark Results

ARMv8 Neoverse-V2 - Amazon EC2 r8g.4xlarge - Amazon Device 0200

Amazon Linux 2023.4.20240401 - 6.1.82-99.168.amzn2023.aarch64 - GCC 11.4.1 20230605

1 System - 129 Benchmark Results

ARMv8 Neoverse-V2 - Amazon EC2 r8g.4xlarge - Amazon Device 0200

Amazon Linux 2023.4.20240401 - 6.1.82-99.168.amzn2023.aarch64 - GCC 11.4.1 20230605

1 System - 214 Benchmark Results

ARMv8 Neoverse-N1 - Amazon EC2 r6g.4xlarge - Amazon Device 0200

Amazon Linux 2023.4.20240401 - 6.1.82-99.168.amzn2023.aarch64 - GCC 11.4.1 20230605

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

Ubuntu 22.10 - 5.19.0-23-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

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

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

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

Apple M2 - Apple MacBook Air - 8GB

Arch rolling - 5.19.0-rc7-asahi-2-1-ARCH - KDE Plasma 5.25.4

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

3 Systems - 75 Benchmark Results

AMD Ryzen Threadripper 3970X 32-Core - ASUS ROG ZENITH II EXTREME - AMD Starship

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

2 Systems - 96 Benchmark Results

AMD Ryzen Threadripper 1950X 16-Core - ASRock X399 Taichi - AMD 17h

Arch rolling - 6.2.8-273-tkg-cfs-llvm - KDE Plasma 5.27.3

Find More Test Results