Apache Benchmark

This is a test of ab, which is the Apache benchmark program. This test profile measures how many requests per second a given system can sustain when carrying out 1,000,000 requests with 100 requests being carried out concurrently.

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

Project Site

apache.org

Test Created

6 December 2010

Last Updated

31 May 2019

Test Maintainer

Michael Larabel 

Test Type

System

Average Install Time

1 Minute, 7 Seconds

Average Run Time

4 Minutes, 32 Seconds

Test Dependencies

C/C++ Compiler Toolchain + PERL + Perl Compatible Regular Expressions + Expat XML Parser Library

Accolades

400k+ Downloads + 30k+ Public Benchmark Results

Supported Platforms


Public Result Uploads *Reported Test Completions **Reported Installs **Test Profile Page Views ***OpenBenchmarking.orgEventsApache Benchmark Popularity Statisticspts/apache2010.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.04100K200K300K400K500K
* 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 14 June 2021.

Revision History

pts/apache-1.7.2   [View Source]   Fri, 31 May 2019 18:08:21 GMT
Add expat as external dependency per https://github.com/phoronix-test-suite/test-profiles/issues/82 and also update one broken download link...

pts/apache-1.7.1   [View Source]   Thu, 01 Mar 2018 19:33:47 GMT
Add Windows support for Apache test.

pts/apache-1.7.0   [View Source]   Wed, 07 Feb 2018 12:06:57 GMT
Update against HTTPD 2.4.29 and latest APR / APR-Util packages.

pts/apache-1.6.1   [View Source]   Sun, 30 Mar 2014 20:51:53 GMT
Update download links, add pcre external dependency rather than just relying upon perl external dependency.

pts/apache-1.6.0   [View Source]   Tue, 03 Dec 2013 16:12:28 GMT
Update upstream packages, up the run count to one million requests.

pts/apache-1.5.2   [View Source]   Mon, 28 Jan 2013 20:19:38 GMT
Apache test profile works on PC-BSD 9.1.

pts/apache-1.5.1   [View Source]   Sat, 19 Jan 2013 17:51:16 GMT
Add perl as external dependency to Apache so pcre-devel is obtained on distributions where needed. Also fix a broken download link in downloads.xml.

pts/apache-1.5.0   [View Source]   Thu, 04 Oct 2012 00:45:22 GMT
Update against upstream Apache HTTPD 2.4.3 release.

pts/apache-1.4.0   [View Source]   Sun, 29 Jan 2012 15:48:07 GMT
Update against upstream Apache HTTPD 2.2.21.

pts/apache-1.3.1   [View Source]   Sun, 29 Jan 2012 10:35:29 GMT
Update download links for upstream Apache HTTPD. No other changes.

pts/apache-1.3.0   [View Source]   Mon, 06 Dec 2010 14:18:04 GMT
Initial import into OpenBenchmarking.org

Suites Using This Test

C/C++ Compiler Tests

Common Kernel Benchmarks

Server

CPU Massive


Performance Metrics

Analyze Test Configuration:

Apache Benchmark 2.4.29

Static Web Page Serving

OpenBenchmarking.org metrics for this test profile configuration based on 42,264 public results since 7 February 2018 with the latest data as of 9 June 2021.

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
9
47275 +/- 5970
100th
35
45182 +/- 3587
100th
15
41905 +/- 5309
100th
13
40592 +/- 4790
100th
9
40309 +/- 563
100th
10
39411 +/- 5876
100th
10
38171 +/- 2865
100th
7
38101 +/- 982
100th
3
38066 +/- 3061
100th
58
37512 +/- 5288
100th
21
37473 +/- 5587
100th
3
37455 +/- 1263
100th
118
37455 +/- 2418
100th
5
37318 +/- 407
100th
3
36622 +/- 280
100th
4
36288 +/- 2871
100th
3
36217 +/- 1788
100th
8
35869 +/- 2740
100th
3
35675 +/- 2106
100th
20
33480 +/- 667
100th
4
31866 +/- 991
100th
5
31592 +/- 3561
99th
3
29475 +/- 3062
99th
47
29260 +/- 2007
99th
11
28849 +/- 3306
99th
10
28477 +/- 392
98th
6
27779 +/- 1893
98th
8
27481 +/- 3978
98th
4
26873 +/- 481
98th
4
26484 +/- 2887
98th
6
26446 +/- 1325
98th
14
26200 +/- 357
98th
4
26086 +/- 593
98th
3
25548 +/- 727
98th
3
25418 +/- 247
97th
48
25280 +/- 2117
97th
4
25205 +/- 2440
97th
41
25185 +/- 2318
97th
4
25027 +/- 45
97th
4
24692 +/- 188
97th
3
24016 +/- 1376
97th
7
23946 +/- 703
97th
5
23825 +/- 1910
97th
5
23765 +/- 2103
97th
3
23284 +/- 2824
97th
5
23153 +/- 1402
96th
63
22828 +/- 2889
96th
192
22694 +/- 193
96th
5
22492 +/- 1517
96th
3
22341 +/- 1168
96th
5
22233 +/- 1996
96th
3
22068 +/- 215
95th
4
21741 +/- 511
95th
4
21718 +/- 3188
95th
3
21686 +/- 687
95th
7
21539 +/- 2726
95th
15
21435 +/- 1504
95th
5
21217 +/- 171
95th
5
21120 +/- 303
95th
4
20902 +/- 873
95th
4
20885 +/- 534
95th
4
20765 +/- 68
94th
3
20057 +/- 2114
94th
7
19653 +/- 2532
94th
3
19545 +/- 2465
94th
15
19163 +/- 2524
94th
98
18794 +/- 2357
94th
4
18741 +/- 1734
94th
16
18707 +/- 1473
93rd
3
17923 +/- 2096
93rd
10
17898 +/- 2020
93rd
3
17795 +/- 808
93rd
4
17776 +/- 232
93rd
6
17584 +/- 2602
93rd
3
17505 +/- 1734
93rd
33
17334 +/- 2599
93rd
8
17247 +/- 2241
93rd
18
17203 +/- 1890
93rd
3
17119 +/- 1112
93rd
60
17010 +/- 1710
93rd
9
16943 +/- 2413
92nd
4
16823 +/- 567
92nd
3
16601 +/- 207
92nd
3
16346 +/- 51
92nd
8
16150 +/- 1262
92nd
3
15806 +/- 271
92nd
10
15730 +/- 1400
92nd
10
15687 +/- 244
92nd
8
15683 +/- 242
91st
7
15251 +/- 1679
91st
27
15229 +/- 2252
91st
15
15053 +/- 1520
91st
10
14982 +/- 1481
91st
3
14964 +/- 1893
91st
3
14960 +/- 2228
90th
3
14516 +/- 2106
90th
10
14429 +/- 307
89th
3
13623 +/- 241
89th
10
13550 +/- 1567
89th
13
13240 +/- 1454
89th
8
13193 +/- 1810
89th
144
13096 +/- 479
89th
5
13070 +/- 1090
89th
3
13046 +/- 1495
89th
6
12943 +/- 654
89th
13
12884 +/- 1481
88th
3
12132 +/- 1356
88th
4
11932 +/- 124
88th
5
11820 +/- 693
87th
8
11287 +/- 973
87th
10
11188 +/- 880
87th
4
10775 +/- 1193
86th
5
10573 +/- 82
86th
3
10485 +/- 104
86th
5
10152 +/- 142
85th
8
9252 +/- 1135
84th
5
8288 +/- 103
84th
3
7945 +/- 432
83rd
12
7411 +/- 435
83rd
5
7238 +/- 516
83rd
3
7066 +/- 67
83rd
96
7010 +/- 467
80th
3
5276 +/- 141
80th
9
5143 +/- 334
79th
48
4819
79th
4
4674 +/- 27
79th
4
4323 +/- 240
Mid-Tier
75th
< 4169
39th
3
3960 +/- 230
28th
3
3843 +/- 370
Low-Tier
25th
< 3804
21st
57
3721 +/- 238
11th
14
3347 +/- 132
10th
21
3174 +/- 430
10th
17
3024 +/- 258
10th
4
2995 +/- 187
9th
3
2967 +/- 7
3rd
9
2167 +/- 179
3rd
4
1826 +/- 53
3rd
6
1759 +/- 101
OpenBenchmarking.orgDistribution Of Public Results - Static Web Page Serving42264 Results Range From 137 To 63785 Requests Per Second1371410268339565229650277759048103211159412867141401541316686179591923220505217782305124324255972687028143294163068931962332353450835781370543832739600408734214643419446924596547238485114978451057523305360354876561495742258695599686124162514637874K8K12K16K20K

Based on OpenBenchmarking.org data, the selected test / test configuration (Apache Benchmark 2.4.29 - Static Web Page Serving) has an average run-time of 14 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 BenchmarkStatic Web Page ServingRun-Time20406080100Min: 1 / Avg: 13.25 / Max: 101

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 RunsStatic Web Page ServingDeviation246810Min: 0 / Avg: 0.8 / Max: 6

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 BaseApache Benchmark CPU Core ScalingStatic Web Page Serving24681216202432640.66881.33762.00642.67523.344

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.
 
CVTSI2SD DIVSD UCOMISD COMISD MULSD MOVAPD SUBSD ADDSD XORPD SQRTSD CVTTSD2SI MOVDQU MOVDQA ANDPD
Requires passing a supported compiler/build flag (verified with targets: sandybridge, skylake, tigerlake, cascadelake, znver2, znver3).
Found on Intel processors since Sandy Bridge (2011).
Found on AMD processors since Bulldozer (2011).

 
VINSERTF128 VZEROUPPER VEXTRACTF128 VBROADCASTSD
Requires passing a supported compiler/build flag (verified with targets: skylake, tigerlake, cascadelake, znver2, znver3).
Found on Intel processors since Haswell (2013).
Found on AMD processors since Excavator (2016).

 
VPERMQ VEXTRACTI128 VPBROADCASTW VPBROADCASTQ VPBROADCASTD VPMASKMOVD VPERM2I128 VINSERTI128
FMA (FMA)
Requires passing a supported compiler/build flag (verified with targets: skylake, tigerlake, cascadelake, znver2, znver3).
Found on Intel processors since Haswell (2013).
Found on AMD processors since Bulldozer (2011).

 
VFMADD231SD VFMADD132SD
The test / benchmark does honor compiler flag changes.
Last automated analysis: 9 May 2021

This test profile binary relies on the shared libraries libssl.so.1.1, libcrypto.so.1.1, libaprutil-1.so.0, libapr-1.so.0, libm.so.6, libc.so.6, libpthread.so.0, libdl.so.2, libexpat.so.1, libcrypt.so.1, libuuid.so.1.

Recent Test Results

OpenBenchmarking.org Results Compare

3 Systems - 103 Benchmark Results

Intel Xeon Gold 6238R - Supermicro X11SPL-F v1.02 - Intel Sky Lake-E DMI3 Registers

CentOS Linux 8 - 4.18.0-193.19.1.el8_2.x86_64 - GCC 8.3.1 20191121

1 System - 1 Benchmark Result

Phytium FT2000A 4-Core - Phytium FT2004 - 8GB

Kylin 4.0.2 - 4.4.131-20191204.kylin.desktop-generic - X Server 1.18.4

8 Systems - 195 Benchmark Results

AMD EPYC - Hetzner vServer v20171111 - 1 x 8000 MB RAM QEMU

Debian 11 - 5.10.35-rt39-xanmod1 - GCC 10.2.1 20210110

7 Systems - 195 Benchmark Results

AMD EPYC - Hetzner vServer v20171111 - 1 x 8000 MB RAM QEMU

Debian 11 - 5.12.8-xanmod1 - GCC 10.2.1 20210110

6 Systems - 195 Benchmark Results

AMD EPYC - Hetzner vServer v20171111 - 1 x 8000 MB RAM QEMU

Debian 11 - 5.12.8-051208-lowlatency - GCC 10.2.1 20210110

10 Systems - 12 Benchmark Results

Intel Core i3-3110M - LENOVO - Intel 3rd Gen Core DRAM

Ubuntu 21.04 - 5.11.0-16-generic - MATE 1.24.1

5 Systems - 195 Benchmark Results

AMD EPYC - Hetzner vServer v20171111 - 1 x 8000 MB RAM QEMU

Debian 11 - 4.19.0-16-amd64 - GCC 10.2.1 20210110

4 Systems - 195 Benchmark Results

AMD EPYC - Hetzner vServer v20171111 - 1 x 8000 MB RAM QEMU

Debian 11 - 5.12.8-051208-generic - GCC 10.2.1 20210110

1 System - 5 Benchmark Results

2 x AMD EPYC 7742 64-Core - GIGABYTE MZ92-FS0-00 v01010101 - AMD Starship

CentOS Linux 8 - 4.18.0-240.22.1.el8_3.x86_64 - xfs

3 Systems - 195 Benchmark Results

AMD EPYC - Hetzner vServer v20171111 - 1 x 8000 MB RAM QEMU

Debian 11 - 5.12.8-051208-generic - GCC 10.2.1 20210110

2 Systems - 195 Benchmark Results

AMD EPYC - Hetzner vServer v20171111 - 1 x 8000 MB RAM QEMU

Debian 10 - 4.19.0-16-amd64 - GCC 8.3.0

1 System - 190 Benchmark Results

AMD EPYC - Hetzner vServer v20171111 - 1 x 8000 MB RAM QEMU

Debian 10 - 4.19.0-16-amd64 - GCC 8.3.0

Most Popular Test Results

OpenBenchmarking.org Results Compare

1 System - 538 Benchmark Results

ARMv7 rev 1 - Marvell Armada 380/385 - 2048MB

Debian GNU - 4.4.0+ - GCC 4.9.2

1 System - 201 Benchmark Results

Unknown - Pine64 Rock64 - 4096MB

Ubuntu 18.04 - 4.4.120-rockchip-ayufan-213 - GCC 7.3.0

1 System - 476 Benchmark Results

Unknown - Marvell 8040 MACCHIATOBin - 16384MB

Ubuntu 18.04 - 4.14.22-150490-gd265712 - GCC 7.3.0

1 System - 855 Benchmark Results

Intel Core i5-5300U - LENOVO Intel powered classmate PC - Intel Broadwell-U-OPI

Kali kali-rolling - 4.15.0-kali3-amd64 - GNOME Shell 3.28.0

1 System - 1269 Benchmark Results

Intel Core i5-4570 - ASRock Z87 Extreme4 - Intel 4th Gen Core DRAM

Ubuntu 18.04 - 4.15.0-20-generic - GNOME Shell 3.28.1

3 Systems - 30 Benchmark Results

MIPS P5600 V3.0 FPU V2.0 - Baikal-T1 BFK3 evaluation board - 2048MB

Debian 9.3 - 4.4.100-bfk3 - GCC 6.3.0 20170516 + Clang 3.8.1-24 + LLVM 3.8.1

2 Systems - 178 Benchmark Results

Intel Core i9-7980XE - ASUS PRIME X299-A - Intel Sky Lake-E DMI3 Registers

Ubuntu 18.04 - 4.15.2-041502-generic - GNOME Shell 3.26.2

1 System - 1004 Benchmark Results

SiFive RISC-V - FriendlyElec NanoPC-T4 - Rockchip RK3399

Ubuntu 18.04 - 4.4.138 - LXDE 0.9.3

14 Systems - 22 Benchmark Results

52 x AMD EPYC (with IBPB) - QEMU Standard PC - Intel 440FX- 82441FX PMC

Ubuntu 18.04 - 4.19.0-041900rc1-generic - GNOME Shell 3.28.2

2 Systems - 7 Benchmark Results

AMD G-T56N - HP 17E2 - AMD 14h Root Complex

Ubuntu 20.04 - 5.4.0-42-generic - GCC 9.3.0

Find More Test Results