Tests
Suites
Latest Results
Search
Register
Login
Popular Tests
Timed Linux Kernel Compilation
7-Zip Compression
nginx
SVT-AV1
PostgreSQL
FFmpeg
Newest Tests
WarpX
Epoch
Valkey
Whisperfile
XNNPACK
GROMACS
Recently Updated Tests
Apache CouchDB
PostgreSQL
NAMD
Apache Cassandra
Opus Codec Encoding
ParaView
New & Recently Updated Tests
Recently Updated Suites
Database Test Suite
Machine Learning
Steam
New & Recently Updated Suites
Component Benchmarks
CPUs / Processors
GPUs / Graphics
OpenGL
Disks / Storage
Motherboards
File-Systems
Operating Systems
OpenBenchmarking.org
Corporate / Organization Info
Bug Reports / Feature Requests
NGINX Benchmark 1.1.0
pts/nginx-1.1.0
- 29 January 2012 -
Update against upstream NGINX 1.0.11 web-server release.
downloads.xml
<?xml version="1.0"?> <!--Phoronix Test Suite v3.8.0m1 (Bygland)--> <PhoronixTestSuite> <Downloads> <Package> <URL>http://nginx.org/download/nginx-1.0.11.tar.gz</URL> <MD5>a41a01d7cd46e13ea926d7c9ca283a95</MD5> <FileName>nginx-1.0.11.tar.gz</FileName> <FileSize>707584</FileSize> </Package> <Package> <URL>http://archive.apache.org/dist/httpd/httpd-2.2.17.tar.gz</URL> <MD5>66d8e107f85acc039fd5e624e85728a9</MD5> <FileName>httpd-2.2.17.tar.gz</FileName> <FileSize>6597991</FileSize> </Package> <Package> <URL>http://www.phoronix-test-suite.com/benchmark-files/apache-ab-test-files-1.tar.gz, http://www.phoronix.net/downloads/phoronix-test-suite/benchmark-files/apache-ab-test-files-1.tar.gz</URL> <MD5>ca0c5bf0dd482a2847c68a52c0759942</MD5> <FileName>apache-ab-test-files-1.tar.gz</FileName> <FileSize>6008</FileSize> </Package> </Downloads> </PhoronixTestSuite>
install.sh
#!/bin/sh mkdir $HOME/nginx_ tar -zxvf apache-ab-test-files-1.tar.gz tar -zxvf nginx-1.0.11.tar.gz tar -zxvf httpd-2.2.17.tar.gz # we need apache for ab, compile only apr,apt-utils,pcre and ab cd httpd-2.2.17/ ./configure --prefix=$HOME/httpd_ --enable-static-ab --without-http-cache cd srclib/apr make cd ../apr-util make cd ../pcre make cd ../../support make ab cd ../.. cp -av httpd-2.2.17/support/ab nginx_/ cd nginx-1.0.11/ ./configure --prefix=$HOME/nginx_ --without-http_rewrite_module --without-http-cache make -j $NUM_CPU_JOBS echo $? > ~/install-exit-status make install cd .. rm -rf nginx-1.0.11/ rm -rf httpd-2.2.17/ # patch listen port 80 -> 8088 echo " --- nginx_/conf/nginx.conf.orig 2010-11-09 18:22:34.000000000 +0200 +++ nginx_/conf/nginx.conf 2010-11-09 18:17:14.000000000 +0200 @@ -33,7 +33,7 @@ #gzip on; server { + listen 8088; - listen 80; server_name localhost; #charset koi8-r; " > CHANGE-NGINX-PORT.patch patch -p0 < CHANGE-NGINX-PORT.patch mv -f test.html nginx_/html/ mv -f pts.png nginx_/html/ echo "#!/bin/sh ./nginx_/ab \$@ > \$LOG_FILE 2>&1 echo \$? > ~/test-exit-status" > nginx chmod +x nginx
post.sh
#!/bin/sh ./nginx_/sbin/nginx -s quit rm -f nginx_/logs/* sleep 3
pre.sh
#!/bin/sh ./nginx_/sbin/nginx sleep 5
results-definition.xml
<?xml version="1.0"?> <!--Phoronix Test Suite v3.8.0m1 (Bygland)--> <PhoronixTestSuite> <ResultsParser> <OutputTemplate>Document Path: /test.html Document Length: 3064 bytes Concurrency Level: 100 Time taken for tests: 29.224 seconds Complete requests: 500000 Failed requests: 0 Write errors: 0 Total transferred: 1659096222 bytes HTML transferred: 1532088856 bytes Requests per second: #_RESULT_# [#/sec] (mean) Time per request: 5.845 [ms] (mean) Time per request: 0.058 [ms] (mean, across all concurrent requests) Transfer rate: 55440.49 [Kbytes/sec] received</OutputTemplate> </ResultsParser> </PhoronixTestSuite>
test-definition.xml
<?xml version="1.0"?> <!--Phoronix Test Suite v3.8.0m1 (Bygland)--> <PhoronixTestSuite> <TestInformation> <Title>NGINX Benchmark</Title> <AppVersion>1.0.11</AppVersion> <Description>This is a test of ab, which is the Apache Benchmark program running against nginx. This test profile measures how many requests per second a given system can sustain when carrying out 500,000 requests with 100 requests being carried out concurrently.</Description> <ResultScale>Requests Per Second</ResultScale> <Proportion>HIB</Proportion> <SubTitle>Static Web Page Serving</SubTitle> <TimesToRun>3</TimesToRun> </TestInformation> <TestProfile> <Version>1.1.0</Version> <SupportedPlatforms>Linux</SupportedPlatforms> <SoftwareType>Utility</SoftwareType> <TestType>System</TestType> <License>Free</License> <Status>Verified</Status> <ExternalDependencies>build-utilities, zlib-development</ExternalDependencies> <EnvironmentSize>61</EnvironmentSize> <ProjectURL>http://nginx.net/</ProjectURL> <Maintainer>Pekka Panula</Maintainer> </TestProfile> <TestSettings> <Default> <Arguments>-n 500000 -c 100 http://localhost:8088/test.html</Arguments> </Default> </TestSettings> </PhoronixTestSuite>