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.
* 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 25 March 2024.
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.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.
OpenBenchmarking.org metrics for this test profile configuration based on 752 public results since 12 August 2021 with the latest data as of 13 March 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.
Based on OpenBenchmarking.org data, the selected test / test configuration (nginx 1.21.1 - Concurrent Requests: 1) 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.
Based on public OpenBenchmarking.org results, the selected test / test configuration has an average standard deviation of 0.4%.
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.
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.
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)
Intel / AMD x86 32-bit
i686
(Many Processors)
ARMv7 32-bit
armv7l
ARMv7 Cortex-A53 4-Core, ARMv7 Cortex-A72 4-Core, Pi 4 2GB 32-bit
ARMv8 64-bit
aarch64
ARMv8, ARMv8 Cortex-A72 4-Core, ARMv8 Cortex-A75 8-Core, ARMv8 Neoverse-N1, ARMv8 Neoverse-N1 32-Core, Ampere ARMv8 Neoverse-N1 160-Core, Ampere ARMv8 Neoverse-N1 256-Core, Apple M1, Apple M2, Pi 4 2GB 64-bit