Nginx

This is a benchmark of the lightweight Nginx HTTP(S) web-server. This Nginx web server benchmark test profile relies upon nginx being present in the system PATH / already installed on the system if wanting to benchmark the operating system's provided nginx package. Use the pts/ngnx test profile if wanting to test a locally-built Nginx web server. Wrk is used for facilitating the HTTP web server load testing.

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

Project Site

nginx.org

Source Repository

github.com

Test Created

16 October 2021

Test Maintainer

 

Test Type

System

Average Install Time

12 Minutes, 23 Seconds

Average Run Time

9 Minutes, 3 Seconds

Test Dependencies

C/C++ Compiler Toolchain

Accolades

5k+ Downloads

Supported Platforms


Reported Installs **Reported Test Completions **Public Result Uploads *Test Profile Page ViewsOpenBenchmarking.orgEventsNginx Popularity Statisticssystem/nginx2021.082021.102021.112021.122022.012022.022022.032022.042022.052022.062022.072022.082022.092022.102022.112022.122023.012023.022023.032023.042023.052023.062023.072023.082023.092023.102023.112023.122024.012024.022024.032024.042024.052024.062024.072024.082024.092024.102024.112024.122025.0160K120K180K240K300K
* 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.
Data updated weekly as of 16 January 2025.
Long Connection47.1%Short Connection52.9%Test Option PopularityOpenBenchmarking.org
50034.4%100032.6%10033.0%Connections Option PopularityOpenBenchmarking.org

Revision History

system/nginx-1.0.0   [View Source]   Sat, 16 Oct 2021 10:42:25 GMT
Add system wide nginx test profile complement to pts/nginx. Cleaned up and improved version of system/nginx from https://github.com/phoronix-test-suite/test-profiles/pull/208 Closes: https://github.com/phoronix-test-suite/test-profiles/pull/208


Performance Metrics

Analyze Test Configuration:

Nginx

Test: Short Connection - Connections: 100

OpenBenchmarking.org metrics for this test profile configuration based on 206 public results since 16 October 2021 with the latest data as of 6 January 2025.

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
152744 +/- 338
99th
3
150110 +/- 1371
97th
4
145122 +/- 878
94th
3
140535 +/- 153
89th
4
119862 +/- 1573
85th
3
97789 +/- 184
82nd
3
95826 +/- 670
82nd
4
95811 +/- 429
79th
3
93617 +/- 194
78th
4
93291 +/- 450
76th
3
87950 +/- 114
Mid-Tier
75th
< 87851
74th
3
77086 +/- 462
73rd
3
71827 +/- 71
68th
3
62346 +/- 127
66th
3
59134 +/- 830
65th
3
57344 +/- 308
61st
3
55532 +/- 583
60th
4
51233 +/- 503
57th
3
46795 +/- 155
55th
3
46051 +/- 69
52nd
3
45435 +/- 15
Median
50th
44928
49th
6
44417 +/- 2534
46th
3
41022 +/- 133
44th
3
40027 +/- 206
42nd
3
37015 +/- 1660
39th
4
31016 +/- 258
37th
3
23587 +/- 210
33rd
3
16064 +/- 263
Low-Tier
25th
< 11913
Detailed Performance Overview
OpenBenchmarking.orgDistribution Of Public Results - Test: Short Connection - Connections: 100206 Results Range From 973 To 160928 Requests Per Second9734173737310573137731697320173233732657329773329733617339373425734577348973521735537358573617736497368173713737457377773809738417387373905739377396973100173103373106573109773112973116173119373122573125773128973132173135373138573141773144973148173151373154573157773160973612182430

Based on OpenBenchmarking.org data, the selected test / test configuration (Nginx - Test: Short Connection - Connections: 100) has an average run-time of 7 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 BenchmarkTest: Short Connection - Connections: 100Run-Time48121620Min: 3 / Avg: 6.14 / Max: 15

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

OpenBenchmarking.orgPercent, Fewer Is BetterAverage Deviation Between RunsTest: Short Connection - Connections: 100Deviation3691215Min: 0 / Avg: 1.02 / Max: 12

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 CPU Core ScalingTest: Short Connection - Connections: 100468120.71461.42922.14382.85843.573

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)
ARMv8 64-bit
aarch64
ARMv8 Cortex-A53 24-Core, ARMv8 Cortex-A72 4-Core, ARMv8 Neoverse-N1, Ampere eMAG ARMv8 32-Core

Recent Test Results

OpenBenchmarking.org Results Compare

1 System - 2 Benchmark Results

2 x Intel Core i7-10700 - Intel VMware Virtual 440BX Desktop - Intel 440BX

CentOS Stream 9 - 5.14.0-514.el9.x86_64 - GNOME Shell 40.10

1 System - 2 Benchmark Results

Intel Xeon E3-1270 v5 - HP 802E - Intel Xeon E3-1200 v5

Ubuntu 24.04 - 6.8.0-45-generic - GCC 13.2.0

Find More Test Results