CacheBench

This is a performance test of CacheBench, which is part of LLCbench. CacheBench is designed to test the memory and cache bandwidth performance

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

Project Site

icl.cs.utk.edu

Test Created

6 December 2010

Last Updated

7 April 2018

Test Maintainer

Michael Larabel 

Test Type

Processor

Average Install Time

1 Second

Average Run Time

7 Minutes, 33 Seconds

Test Dependencies

C/C++ Compiler Toolchain

Accolades

300k+ Downloads + 10k+ Public Benchmark Results

Supported Platforms


Public Result Uploads *Reported Test Completions **Reported Installs **Test Profile Page Views ***OpenBenchmarking.orgEventsCacheBench Popularity Statisticspts/cachebench2010.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.042021.08200K400K600K800K1000K
* 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 22 October 2021.
Read / Modify / Write41.2%Write27.5%Read31.4%Test Option PopularityOpenBenchmarking.org

Revision History

pts/cachebench-1.1.2   [View Source]   Sat, 07 Apr 2018 17:38:36 GMT
Fix for FreeBSD

pts/cachebench-1.1.1   [View Source]   Sun, 04 Mar 2018 10:07:15 GMT
Windows support.

pts/cachebench-1.1.0   [View Source]   Wed, 04 Jan 2017 20:24:47 GMT
Change download link to a static one.

pts/cachebench-1.0.0   [View Source]   Mon, 06 Dec 2010 14:34:54 GMT
Initial import into OpenBenchmarking.org

Suites Using This Test

Memory Test Suite

CPU Massive

Single-Threaded


Performance Metrics

Analyze Test Configuration:

CacheBench

Test: Read / Modify / Write

OpenBenchmarking.org metrics for this test profile configuration based on 3,405 public results since 4 January 2017 with the latest data as of 20 October 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
MB/s (Average)
100th
10
68962 +/- 666
100th
4
66164 +/- 3254
97th
6
55866 +/- 82
96th
8
53157 +/- 981
89th
16
44997 +/- 1691
88th
24
44480 +/- 382
86th
3
43333 +/- 3514
86th
7
42620 +/- 6349
84th
15
42307 +/- 183
84th
3
42134 +/- 963
83rd
32
41999 +/- 614
83rd
6
41942 +/- 1543
83rd
3
41839 +/- 62
82nd
4
41409 +/- 1328
79th
4
39772 +/- 3060
79th
3
39761 +/- 119
79th
3
39468 +/- 118
78th
6
39262 +/- 206
78th
4
38548 +/- 4672
77th
3
38168 +/- 42
77th
4
37786 +/- 911
77th
23
37762 +/- 229
77th
4
37732 +/- 5005
Mid-Tier
75th
< 36805
74th
6
35342 +/- 179
73rd
3
34720 +/- 1309
72nd
38
34461 +/- 214
71st
24
34281 +/- 224
71st
3
34188 +/- 565
71st
19
34181 +/- 1095
70th
5
33903 +/- 5
68th
3
33177 +/- 4297
68th
3
33159 +/- 166
67th
4
33051 +/- 4413
67th
4
32974 +/- 206
67th
5
32931 +/- 87
66th
3
32368 +/- 1051
63rd
4
31594 +/- 2912
63rd
7
31560 +/- 3706
63rd
5
31552 +/- 2608
63rd
3
31337 +/- 3
62nd
3
30802 +/- 1547
61st
8
30563 +/- 4077
60th
3
30072 +/- 1820
59th
4
29829 +/- 1807
59th
3
29449 +/- 560
54th
6
28747 +/- 733
53rd
3
28479 +/- 1182
53rd
13
28426 +/- 570
53rd
6
28242 +/- 60
52nd
5
27871 +/- 1
Median
50th
27402
50th
4
27358 +/- 62
47th
8
26004 +/- 3618
45th
3
25405 +/- 47
45th
12
25213 +/- 1862
41st
5
23877 +/- 1265
40th
3
23607 +/- 13
40th
3
23600 +/- 13
40th
10
23210 +/- 461
39th
6
22994 +/- 518
37th
5
22125 +/- 1170
36th
4
21612 +/- 168
35th
3
21294 +/- 119
35th
3
20968 +/- 1631
33rd
3
20758 +/- 64
30th
3
19195 +/- 76
29th
16
18898 +/- 2
28th
14
18893 +/- 10
28th
22
18884 +/- 17
26th
3
17849 +/- 1214
Low-Tier
25th
< 17537
23rd
22
17055 +/- 1825
21st
4
15999 +/- 41
21st
3
15968 +/- 1
21st
5
15967 +/- 1
19th
24
15477 +/- 139
19th
3
15427 +/- 16
18th
18
15287 +/- 107
17th
5
14222 +/- 558
15th
3
13317 +/- 410
14th
18
12142 +/- 133
13th
11
11789 +/- 1599
12th
5
11090 +/- 17
12th
7
11058 +/- 9
11th
17
10969 +/- 1
10th
5
10604 +/- 425
9th
18
9666 +/- 2
9th
6
9647 +/- 1324
8th
3
8612 +/- 3
7th
3
6690 +/- 844
4th
5
2303 +/- 204
4th
25
2181 +/- 295
3rd
3
2073 +/- 85
3rd
3
2050 +/- 105
2nd
4
1840 +/- 198
OpenBenchmarking.orgDistribution Of Public Results - Test: Read / Modify / Write3405 Results Range From 25 To 17912463584660 MB/s25358249271718716498543411107474781510414329970867971791246358490214949563018325077449018762865994173569322424344526235824927169553940741988648429899126034146572405320345015489803727537373907542057319883471136090237618806644848689049968067361621927164985433885752323470557878814839772718239733248964859798252065789562317923509314481064043967273033573610030979607429103892288791221074747815081511105727422508114639766942011182222596589412180475237587125387245092801289697378097313255223052666136134723243591397172159605214329970867745146882201394381504646941113115404718682824157629679545171612121722621016479466497903168377157695961719596504128917554214312982179124635846757001400210028003500

Based on OpenBenchmarking.org data, the selected test / test configuration (CacheBench - Test: Read / Modify / Write) has an average run-time of 4 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: Read / Modify / WriteRun-Time612182430Min: 1 / Avg: 3.77 / Max: 25

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

OpenBenchmarking.orgPercent, Fewer Is BetterAverage Deviation Between RunsTest: Read / Modify / WriteDeviation48121620Min: 0 / Avg: 0.45 / Max: 13

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 BaseCacheBench CPU Core ScalingTest: Read / Modify / Write2468121620361.07712.15423.23134.30845.3855

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.
 
COMISD MULSD SUBSD DIVSD ADDSD CVTSI2SD MOVAPD
Last automated analysis: 10 May 2021

This test profile binary relies on the shared libraries libc.so.6.

Recent Test Results

OpenBenchmarking.org Results Compare

1 System - 48 Benchmark Results

2 x Intel Xeon E5-2680 v2 - HP ProLiant DL380p Gen8 - Intel Xeon E7 v2

Ubuntu 20.04 - 5.11.22-5-pve - GCC 9.3.0

1 System - 18 Benchmark Results

AMD Ryzen 7 5800X 8-Core - MSI MEG X570 UNIFY - AMD Starship

openSUSE Tumbleweed 20211019 - 5.14.11-2-default - KDE Plasma 5.23.0

1 System - 4 Benchmark Results

Intel Core i5-10210U - ASUS P2451FA - 1 x 8192 MB 2667MHz Samsung M471A1K43DB1-CTD

Microsoft Windows 10 Pro Build 19042 - 10.0 - 27.20.100.8681

1 System - 24 Benchmark Results

AMD Ryzen 5 5600X 6-Core - ASRock X570 Taichi - AMD Starship

Fedora 34 - 5.14.12-200.fc34.x86_64 - Xfce 4.16

1 System - 20 Benchmark Results

2 x Common KVM - QEMU Standard PC - 4096MB

Ubuntu 21.10 - 5.13.0-19-generic - 1.1.182

1 System - 27 Benchmark Results

2 x Common KVM - QEMU Standard PC - Intel 82G33

Ubuntu 20.04 - 5.4.0-88-generic - GNOME Shell 3.36.9

1 System - 160 Benchmark Results

AMD Ryzen 5 4600HS - ASUS GA401IH v1.0 - AMD Renoir Root Complex

ManjaroLinux 21.1.6 - 5.14.12-zen1-1-zen-g14 - KDE Plasma 5.22.5

1 System - 22 Benchmark Results

8 x Hygon C86 7285 32-core - Intel 440BX - Intel 440BX

CentOS Linux 7 - 3.10.0-957.el7.x86_64 - GCC 4.8.5 20150623

1 System - 48 Benchmark Results

2 x Intel Xeon E5-2643 v4 - HP ProLiant ML350 Gen9 - Intel Xeon E7 v4

Ubuntu 20.04 - 5.11.22-5-pve - 1.0.2

1 System - 22 Benchmark Results

AMD Ryzen 5 4600HS - ASUS GA401IH v1.0 - AMD Renoir Root Complex

ManjaroLinux 21.1.5 - 5.14.12-zen1-1-zen-g14 - KDE Plasma 5.22.5

1 System - 48 Benchmark Results

AMD Ryzen 9 3900X 12-Core - Gigabyte B550M AORUS PRO-P - AMD Starship

Ubuntu 20.04 - 5.11.22-5-pve - X Server

1 System - 48 Benchmark Results

2 x Intel Xeon E5-2643 v4 - HP ProLiant ML350 Gen9 - Intel Xeon E7 v4

Ubuntu 20.04 - 5.11.22-5-pve - 1.0.2

1 System - 48 Benchmark Results

AMD Ryzen 9 3900X 12-Core - Gigabyte B550M AORUS PRO-P - AMD Starship

Ubuntu 20.04 - 5.11.22-5-pve - X Server

1 System - 48 Benchmark Results

2 x Intel Xeon E5-2643 v4 - HP ProLiant ML350 Gen9 - Intel Xeon E7 v4

Ubuntu 20.04 - 5.11.22-5-pve - 1.0.2

2 Systems - 48 Benchmark Results

2 x Intel Xeon E5-2643 v4 - HP ProLiant ML350 Gen9 - Intel Xeon E7 v4

Ubuntu 20.04 - 5.11.22-5-pve - 1.0.2

Most Popular Test Results

OpenBenchmarking.org Results Compare

2 Systems - 927 Benchmark Results

Intel Celeron N3160 - SECO UDOO x86 - Intel Atom

Debian 9.0 - 4.9.0-3-amd64 - LXDE 0.9.3

5 Systems - 87 Benchmark Results

ARMv7 rev 1 - Rockchip - 2048MB

Ubuntu 16.04 - 4.4.66-rockchip - Xfce 4.12

1 System - 88 Benchmark Results

AArch64 rev 3 - HiKey Development Board - 2048MB

Debian 8.7 - 3.18.0-linaro-hikey - X Server 1.16.4

6 Systems - 1421 Benchmark Results

Unknown - Marvell Armada 3720 Board - 2048MB

Ubuntu 16.04 - 4.4.52-armada-17.06.2-g12feccb - GCC 5.4.0 20160609

2 Systems - 7 Benchmark Results

ARMv8 Cortex-A72 - BCM2835 Raspberry Pi 4 Model B Rev 1.4 - 8GB

Debian 10 - 5.4.42-v8+ - X Server 1.20.4

2 Systems - 178 Benchmark Results

AMD Ryzen Threadripper 1950X 16-Core - Gigabyte X399 AORUS Gaming 7 - AMD Family 17h

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

3 Systems - 182 Benchmark Results

AMD Ryzen Threadripper 1950X 16-Core - ASUS ROG STRIX X399-E GAMING - AMD Device 1450

Ubuntu 17.10 - 4.13.0-32-generic - KDE Frameworks 5

2 Systems - 6 Benchmark Results

Unknown - NationalChip gx6605s - 57MB

Buildroot 2018.02-git - 4.9.56 - GNOME Shell

1 System - 62 Benchmark Results

ICT Loongson-3A R3 - Unknown - AMD RS780 + SB7x0

Loongnix 1.0 - 3.10.84-16.fc21.loongson.mips64el - MATE 1.8.1

1 System - 748 Benchmark Results

Intel Core i7-7700K - MSI Z270 GAMING M7 - Intel Intel Kaby Lake + Z270

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

3 Systems - 56 Benchmark Results

AMD Ryzen 5 2400G with Radeon Vega - Gigabyte AX370-Gaming 5 - AMD Device 15d0

Ubuntu 17.10 - 4.15.1-041501-generic - GNOME Shell 3.26.2

4 Systems - 119 Benchmark Results

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

FreeBSD - 12.0-CURRENT - Lumina 1.4.2

Find More Test Results