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

10 January 2024

Test Maintainer

Michael Larabel 

Test Type

Processor

Average Install Time

3 Seconds

Average Run Time

6 Minutes, 27 Seconds

Test Dependencies

C/C++ Compiler Toolchain

Accolades

300k+ Downloads + 20k+ Public Benchmark Results

Supported Platforms


Public Result Uploads *Reported Test Completions **Reported Installs **Test Profile Page Views ***OpenBenchmarking.orgEventsCacheBench Popularity Statisticspts/cachebench2010.122011.052011.102012.032012.082013.012013.062013.112014.042014.092015.022015.072015.122016.052016.102017.032017.082018.012018.062018.112019.042019.092020.022020.072020.122021.052021.102022.032022.082023.012023.062023.112024.04200K400K600K800K1000K
* 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 7 May 2024.
Write33.0%Read / Modify / Write33.5%Read33.5%Test Option PopularityOpenBenchmarking.org

Revision History

pts/cachebench-1.2.0   [View Source]   Wed, 10 Jan 2024 10:30:23 GMT
Ensure -O3 is set in its build system.

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 6,855 public results since 4 January 2017 with the latest data as of 7 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.

Component
Percentile Rank
# Compatible Public Results
MB/s (Average)
100th
7
93278 +/- 1545
100th
18
83717 +/- 2032
100th
4
81644 +/- 3992
100th
4
80316 +/- 1927
100th
3
79491 +/- 2322
100th
4
78104 +/- 1736
100th
16
77327 +/- 3454
100th
3
74085 +/- 8356
100th
4
69697 +/- 967
99th
4
67904 +/- 119
99th
5
66737 +/- 4792
99th
8
66079 +/- 3139
99th
6
65879 +/- 744
99th
7
64166 +/- 1972
99th
6
63913 +/- 5651
98th
5
61058 +/- 2502
97th
3
59946 +/- 165
96th
5
55859 +/- 89
94th
3
51055 +/- 69
93rd
6
50496 +/- 339
92nd
14
48252 +/- 68
91st
3
46980 +/- 185
90th
3
46349 +/- 114
90th
10
45963 +/- 2548
89th
8
45787 +/- 2477
89th
16
44997 +/- 1691
89th
3
44922 +/- 2907
88th
3
44668 +/- 77
88th
24
44480 +/- 382
87th
4
43458 +/- 1564
87th
7
42620 +/- 6349
87th
34
42483 +/- 1996
86th
15
42307 +/- 183
86th
3
42134 +/- 963
86th
6
41942 +/- 1543
86th
3
41839 +/- 62
85th
4
41409 +/- 1328
83rd
4
39772 +/- 3060
83rd
3
39761 +/- 119
82nd
3
39468 +/- 118
82nd
6
39262 +/- 206
81st
4
38548 +/- 4672
80th
3
38168 +/- 42
80th
3
38007 +/- 70
79th
4
37786 +/- 911
79th
23
37762 +/- 229
79th
4
37732 +/- 5005
79th
3
37603 +/- 1150
77th
3
35262 +/- 319
Mid-Tier
75th
< 34515
75th
38
34461 +/- 214
75th
7
34312 +/- 2731
75th
24
34281 +/- 224
74th
19
34181 +/- 1095
74th
8
34072 +/- 4515
74th
5
33903 +/- 5
73rd
7
33277 +/- 4538
73rd
3
33177 +/- 4297
73rd
3
33159 +/- 166
72nd
4
33051 +/- 4413
72nd
4
32974 +/- 206
72nd
5
32931 +/- 87
71st
3
32368 +/- 1051
69th
5
32014 +/- 4338
68th
3
31337 +/- 3
67th
6
31296 +/- 4173
67th
6
30931 +/- 2783
67th
3
30802 +/- 1547
66th
3
30316 +/- 1753
66th
3
30072 +/- 1820
65th
4
29829 +/- 1807
62nd
6
28747 +/- 733
62nd
13
28426 +/- 570
61st
6
28242 +/- 60
61st
4
28178 +/- 1137
60th
5
27871 +/- 1
60th
4
27358 +/- 62
56th
8
26004 +/- 3618
55th
16
25462 +/- 1683
55th
3
25405 +/- 47
54th
11
25138 +/- 3160
51st
6
24042 +/- 1202
Median
50th
23857
48th
10
23210 +/- 461
48th
6
22994 +/- 518
46th
6
22269 +/- 369
46th
5
22125 +/- 1170
45th
4
21612 +/- 168
45th
21
21444 +/- 226
44th
3
21294 +/- 119
44th
3
20968 +/- 1631
43rd
3
20758 +/- 64
42nd
4
20667 +/- 49
42nd
4
20642 +/- 41
39th
11
19526 +/- 94
39th
4
19397 +/- 1349
37th
3
19195 +/- 76
36th
16
18898 +/- 2
36th
14
18893 +/- 10
35th
22
18884 +/- 17
26th
3
17849 +/- 1214
26th
4
17688 +/- 180
Low-Tier
25th
< 17147
24th
22
17055 +/- 1825
23rd
3
16343
20th
4
15999 +/- 41
20th
3
15968 +/- 1
20th
5
15967 +/- 1
17th
24
15477 +/- 139
17th
3
15427 +/- 16
17th
18
15287 +/- 107
16th
3
14878 +/- 1746
16th
3
14683 +/- 71
16th
3
14654 +/- 186
15th
5
14222 +/- 558
13th
4
13271 +/- 347
12th
5
13237 +/- 5
12th
4
13067 +/- 89
12th
29
12765 +/- 1757
11th
18
12142 +/- 133
9th
17
10969 +/- 1
9th
5
10604 +/- 425
6th
18
9666 +/- 2
6th
6
9647 +/- 1324
6th
3
8612 +/- 3
5th
3
6690 +/- 844
5th
3
5910 +/- 469
5th
5
5871 +/- 356
4th
3
2657 +/- 3
3rd
5
2303 +/- 204
3rd
25
2181 +/- 295
3rd
4
2124 +/- 172
3rd
3
2073 +/- 85
2nd
4
1840 +/- 198
OpenBenchmarking.orgDistribution Of Public Results - Test: Read / Modify / Write6855 Results Range From 25 To 17912463584660 MB/s253582492717187164985434111074747815104143299708679717912463584902149495630183250774490187628659941735693224243445262358249271695539407419886484298991260341465724053203450154898037275373739075420573198834711360902376188066448486890499680673616219271649854338857523234705578788148397727182397332489648597982520657895623179235093144810640439672730335736100309796074291038922887912210747478150815111057274225081146397669420111822225965894121804752375871253872450928012896973780973132552230526661361347232435913971721596052143299708677451468822013943815046469411131154047186828241576296795451716121217226210164794664979031683771576959617195965041289175542143129821791246358467515003000450060007500

Based on OpenBenchmarking.org data, the selected test / test configuration (CacheBench - Test: Read / Modify / Write) 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: Read / Modify / WriteRun-Time918273645Min: 4 / Avg: 7.44 / Max: 42

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

OpenBenchmarking.orgPercent, Fewer Is BetterAverage Deviation Between RunsTest: Read / Modify / WriteDeviation612182430Min: 0 / Avg: 1.32 / Max: 26

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.

AMDIntelOpenBenchmarking.orgRelative Core Scaling To BaseCacheBench CPU Core ScalingTest: Read / Modify / Write246812162024361.02292.04583.06874.09165.1145

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 CVTSI2SD DIVSD MOVAPD ADDSD UNPCKLPD MOVUPD ADDPD
Last automated analysis: 11 January 2024

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)
RISC-V 64-bit
riscv64
SiFive RISC-V, rv64imafdc, rv64imafdcvsu, sifive rocket0
IBM POWER (PowerPC) 64-bit
ppc64le
POWER8, POWER9 16-Core, POWER9 44-Core, POWER9 8-Core, POWER9 altivec supported 44-Core, POWER9 altivec supported 64-Core
IBM POWER (PowerPC) 64-bit
ppc64
PPC970MP altivec supported, e6500
IBM POWER (PowerPC)
ppc
(Many Processors)
MIPS 64-bit
mips64
ICT Loongson-3A R3, Loongson-2K V0.3 FPU V0.1, Loongson-3A R3, Loongson-3B R2
MIPS
mips
Baikal-T1 1.2 GHz MIPS P5600 V3.0 FPU V2.0
Loongson LoongArch 64-bit
loongarch64
Loongson-3A5000, Loongson-3A5000-HV, Loongson-3A5000LL, Loongson-3A6000, Loongson-3C5000, Loongson-3C5000L
Intel / AMD x86 32-bit
i686
(Many Processors)
C-SKY
csky
(Many Processors)
ARMv8 64-bit
armv8l
ARMv8 rev 12 8-Core, ARMv8 rev 4 8-Core
ARMv7 32-bit
armv7l
ARMv7, ARMv7 Cortex-A53 4-Core, ARMv7 Cortex-A7, ARMv7 Cortex-A7 4-Core, ARMv7 Cortex-A72 4-Core, ARMv7 Cortex-A9 4-Core, ARMv7 rev 0 2-Core, ARMv7 rev 1 2-Core, ARMv7 rev 1 4-Core, ARMv7 rev 10, ARMv7 rev 10 2-Core, ARMv7 rev 10 4-Core, ARMv7 rev 2, ARMv7 rev 2 4-Core, ARMv7 rev 3 4-Core, ARMv7 rev 3 8-Core, ARMv7 rev 4 4-Core, ARMv7 rev 5 4-Core
ARMv6 32-bit
armv6l
ARMv6-compatible rev 7, ARMv7
ARMv5 32-bit
armv5tel
Feroceon 88FR131 rev 1
ARMv8 64-bit
aarch64
AArch64 rev 12, AArch64 rev 3, AArch64 rev 4, ARMVv8 Cortex-A53 4-Core, ARMv8, ARMv8 4-Core, ARMv8 Cortex-A53, ARMv8 Cortex-A53 4-Core, ARMv8 Cortex-A53 6-Core, ARMv8 Cortex-A53 8-Core, ARMv8 Cortex-A55 4-Core, ARMv8 Cortex-A57 6-Core, ARMv8 Cortex-A72, ARMv8 Cortex-A72 4-Core, ARMv8 Cortex-A72 6-Core, ARMv8 Cortex-A73 2-Core, ARMv8 Cortex-A73 4-Core, ARMv8 Cortex-A73 6-Core, ARMv8 Cortex-A73 8-Core, ARMv8 Cortex-A76 4-Core, ARMv8 Cortex-A77 6-Core, ARMv8 Cortex-A78 4-Core, ARMv8 Cortex-A78E 6-Core, ARMv8 Neoverse-N1, ARMv8 Neoverse-N1 128-Core, ARMv8 Neoverse-N1 2-Core, ARMv8 Neoverse-N1 32-Core, ARMv8 Neoverse-N1 64-Core, ARMv8 Neoverse-N1 8-Core, ARMv8 Neoverse-N1 80-Core, ARMv8 Neoverse-N2, ARMv8 Neoverse-V1, ARMv8 Neoverse-V1 16-Core, ARMv8 Neoverse-V1 64-Core, ARMv8 rev 0, ARMv8 rev 0 6-Core, ARMv8 rev 1 4-Core, ARMv8 rev 3 6-Core, Amlogic ARMv8 Cortex-A53 4-Core, Ampere eMAG ARMv8 32-Core, Apple, Apple M1, FT2000AHK, HUAWEI Kunpeng 920, HUAWEI Kunpeng 920 5221K, Phytium FT-2000, Phytium FT1500A, Phytium FT2000A 4-Core, Phytium S2500, Rockchip ARMv8 4-Core, Rockchip ARMv8 Cortex-A53 4-Core, Rockchip ARMv8 Cortex-A55 4-Core, Rockchip ARMv8 Cortex-A72 6-Core, Rockchip ARMv8 Cortex-A76 6-Core, SiFive RISC-V

Recent Test Results

OpenBenchmarking.org Results Compare

24 Systems - 30 Benchmark Results

Rockchip ARMv8 Cortex-A55 - Radxa ROCK3 Model A - 2048MB

Ubuntu 20.04 - 4.19.193-58-rockchip-gbac1feba87f0 - GCC 9.4.0

23 Systems - 30 Benchmark Results

Loongson-3A6000 - O.E.M - Loongson LLC Hyper Transport Bridge

Loongnix 20 - 4.19.0-19-loongson-3 - X Server 1.20.4

1 System - 27 Benchmark Results

Intel Core i9-13900K - ASUS ProArt Z790-CREATOR WIFI - Intel Device 7a27

Clear Linux OS 38020 - 5.15.86-30.lts2021 - GCC 12.2.1 20230105 releases

1 System - 6 Benchmark Results

AMD Athlon 64 3000+ - ECS nForce3-A - NVIDIA nForce3 250Gb

Debian 11 - 5.10.0-16-amd64 - nouveau

1 System - 5 Benchmark Results

AMD Athlon 64 3000+ - ECS nForce3-A - NVIDIA nForce3 250Gb

Debian 11 - 5.10.0-16-amd64 - nouveau

1 System - 57 Benchmark Results

2 x QEMU Virtual 2.5+ - QEMU Standard PC - Intel 440FX 82441FX PMC

Ubuntu 22.04 - 5.15.0-91-generic - 1.3.238

1 System - 57 Benchmark Results

Intel Core Ultra 7 155H - 16GB - 0GB Virtual Disk + 4GB Virtual Disk + 1100GB Virtual Disk

Ubuntu 22.04 - 5.15.133.1-microsoft-standard-WSL2 - X Server + Wayland

2 Systems - 3 Benchmark Results

Unknown - OpenStack Foundation Nova - Red Hat QEMU PCIe

Ubuntu 18.04 - 4.15.0-70-generic - GCC 7.4.0

1 System - 3 Benchmark Results

Intel Xeon Gold 6278C - OpenStack Foundation Nova - Intel 440FX 82441FX PMC

Ubuntu 22.04 - 5.15.0-76-generic - GCC 11.4.0

1 System - 3 Benchmark Results

Unknown - OpenStack Foundation Nova - Red Hat QEMU PCIe

Ubuntu 18.04 - 4.15.0-70-generic - GCC 7.4.0

23 Systems - 30 Benchmark Results

Loongson-3A6000 - O.E.M - Loongson LLC Hyper Transport Bridge

Loongnix 20 - 4.19.0-19-loongson-3 - X Server 1.20.4

1 System - 99 Benchmark Results

AMD Ryzen 9 5900X 12-Core - MSI MPG X570 GAMING EDGE WIFI - 4 x 16384 MB 3600MHz F4-3600C16-16GTZNC

Microsoft Windows 11 Pro Build 22621 - 10.0.22621.2861 - 546.33

1 System - 73 Benchmark Results

ARMv8 Cortex-A53 - Khadas VIM4 - 8GB

Debian 12 - 5.15.78 - GCC 12.2.0

1 System - 3 Benchmark Results

AMD Ryzen 7 7700X 8-Core - Gigabyte B650M K - 2 x 32768 MB 5200MHz F5-5200J3636D32G

Microsoft Windows 11 Pro Build 22631 - 10.0.22631.2861 - 31.0.23013.1023

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

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

5 Systems - 87 Benchmark Results

ARMv7 rev 1 - Rockchip - 2048MB

Ubuntu 16.04 - 4.4.66-rockchip - Xfce 4.12

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

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

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 - 9 Benchmark Results

Intel Xeon E5620 - 10240MB - 40GB

Debian unstable - 4.14.0-3-amd64 - GCC 7.2.0

2 Systems - 601 Benchmark Results

2 x Intel Xeon Gold 6140 - Intel S2600WFT - Intel Device 2020

Debian 9.4 - 4.9.0-6-amd64 - GCC 6.3.0 20170516 + Clang 3.8.1-24

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

3 Systems - 182 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

2 Systems - 6 Benchmark Results

Unknown - NationalChip gx6605s - 57MB

Buildroot 2018.02-git - 4.9.56 - GNOME Shell

Find More Test Results