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 21 April 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: Write

OpenBenchmarking.org metrics for this test profile configuration based on 5,613 public results since 4 January 2017 with the latest data as of 22 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
4
57884 +/- 4249
100th
3
55615 +/- 4610
100th
7
54499 +/- 5249
100th
6
47485 +/- 483
100th
3
40814 +/- 1505
99th
4
39456 +/- 820
99th
16
39291 +/- 1564
99th
5
36175 +/- 77
99th
4
35339 +/- 367
98th
34
35159 +/- 745
98th
10
34729 +/- 945
98th
3
34005 +/- 152
97th
6
33131 +/- 320
97th
6
33008 +/- 1281
97th
6
32320 +/- 998
96th
4
32018 +/- 4137
95th
5
31674 +/- 613
95th
3
31539 +/- 2556
95th
7
31520 +/- 472
95th
11
31468 +/- 539
95th
4
31396 +/- 739
95th
5
31371 +/- 148
95th
29
31294 +/- 3732
94th
4
30964 +/- 1772
94th
3
30855 +/- 273
94th
3
30268 +/- 2635
93rd
5
29031 +/- 2662
92nd
10
28659 +/- 4292
92nd
3
28371 +/- 2591
91st
3
28028 +/- 983
91st
3
27901 +/- 2426
91st
4
27542 +/- 377
90th
6
27235 +/- 249
90th
5
27226 +/- 1
89th
77
27179 +/- 185
86th
9
26970 +/- 1056
86th
6
26840 +/- 132
86th
9
26408 +/- 3416
85th
6
26180 +/- 147
85th
3
26169 +/- 247
84th
4
25968 +/- 3006
84th
6
25903 +/- 1211
84th
5
25887 +/- 1035
84th
4
25675 +/- 346
84th
3
25632 +/- 525
83rd
4
25593 +/- 466
83rd
14
25507 +/- 807
82nd
5
25174 +/- 1143
81st
3
24850 +/- 1703
81st
22
24825 +/- 1134
81st
3
24692 +/- 4
81st
3
24588 +/- 48
80th
3
24422 +/- 133
78th
3
24210 +/- 762
78th
3
23987 +/- 79
77th
3
23948 +/- 1342
77th
4
23917 +/- 887
77th
3
23835 +/- 11
76th
4
23689 +/- 2877
76th
3
23565 +/- 1337
76th
4
23395 +/- 2366
Mid-Tier
75th
< 23394
75th
5
23323 +/- 1138
75th
8
23173 +/- 1416
75th
4
22872 +/- 1990
75th
16
22764 +/- 474
73rd
4
22437 +/- 1431
72nd
7
22071 +/- 1651
71st
10
21977 +/- 632
71st
6
21967 +/- 112
71st
5
21830 +/- 49
71st
10
21744 +/- 119
70th
3
21705 +/- 863
70th
4
21693 +/- 705
70th
3
21580 +/- 2437
70th
4
21504 +/- 710
69th
3
21433 +/- 1325
69th
5
21271 +/- 24
69th
4
21178 +/- 363
69th
4
20786 +/- 2053
68th
3
20487 +/- 28
68th
3
20360 +/- 258
67th
3
20236 +/- 1971
63rd
5
19584 +/- 2750
61st
4
19393 +/- 36
61st
6
19365 +/- 421
60th
6
19290 +/- 2585
59th
4
19191 +/- 2670
59th
3
19187 +/- 67
59th
11
19161 +/- 201
57th
3
18936 +/- 1941
54th
3
18333 +/- 532
53rd
3
18003 +/- 111
52nd
5
17462 +/- 2
Median
50th
16871
50th
4
16821 +/- 325
50th
4
16798 +/- 77
50th
4
16711 +/- 1358
45th
3
15537 +/- 724
45th
5
15076 +/- 599
43rd
3
14142 +/- 4
29th
6
12340 +/- 282
Low-Tier
25th
< 11442
25th
3
11383 +/- 1490
22nd
4
10227 +/- 1311
21st
4
9955 +/- 254
18th
3
9610 +/- 2
17th
16
9449 +/- 1
16th
22
9444 +/- 6
15th
4
9033 +/- 98
14th
3
8666 +/- 180
14th
3
8198 +/- 12
11th
5
7249 +/- 145
11th
4
7194 +/- 89
10th
7
6800 +/- 150
7th
25
6377 +/- 934
7th
4
6348 +/- 44
6th
11
5562 +/- 25
6th
4
5503 +/- 396
5th
5
5060 +/- 569
5th
3
4245 +/- 323
4th
4
3185 +/- 261
3rd
4
3130 +/- 252
3rd
5
2925 +/- 413
3rd
3
2874 +/- 2
2nd
4
819 +/- 95
OpenBenchmarking.orgDistribution Of Public Results - Test: Write5613 Results Range From 357 To 33865737905116 MB/s357677314758453135462951654920319442746452709259032741338657379083740638885489334741203307029541851806512560958328232216773147581317745046233941381277770975098805091855605948240661370110159721371797108370361298931151435088798912191665646085128689804041811354629516227714223609920373149009246784691557823943656516255554194661169328689527571761018371085318287498468949189648132270451964212798514120319442743237209967575013332167407225942922351387017525230287017756212370601653371724383331291813250606460499092573796080800526415275566101270925903241972776990508229328447219840389291245345984852980184935658130479164114677311564788727733183379363086932511108388965331884231470613386573790515712002400360048006000

Based on OpenBenchmarking.org data, the selected test / test configuration (CacheBench - Test: 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: WriteRun-Time48121620Min: 4 / Avg: 7.04 / Max: 17

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

OpenBenchmarking.orgPercent, Fewer Is BetterAverage Deviation Between RunsTest: WriteDeviation48121620Min: 0 / Avg: 0.88 / 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.

AMDIntelOpenBenchmarking.orgRelative Core Scaling To BaseCacheBench CPU Core ScalingTest: Write2468101216243236641.08132.16263.24394.32525.4065

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
e6500
IBM POWER (PowerPC)
ppc
7447A altivec supported
MIPS 64-bit
mips64
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
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 3-Core, ARMv7 rev 3 4-Core, ARMv7 rev 3 8-Core, ARMv7 rev 4 4-Core, ARMv7 rev 5 3-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, 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 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 FT2000A 4-Core, Phytium S2500, Rockchip ARMv8 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

20 Systems - 26 Benchmark Results

Unknown - ODROID-C2 - 2048MB

Ubuntu 16.04 - 3.14.79-108 - MATE 1.12.1

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

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

Ubuntu 22.04 - 5.15.0-76-generic - 1.3.238

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

ARMv8 Cortex-A53 - Sinovoip_Bananapi_M4 - 679MB

Ubuntu 18.04 - 4.9.119-BPI-M4-Kernel - X Server 1.19.6

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

1 System - 3 Benchmark Results

AMD Ryzen 7 5800X3D 8-Core - MSI B450 GAMING PRO CARBON AC - AMD Starship

Ubuntu 22.04 - 5.15.0-91-generic - GNOME Shell 42.9

1 System - 3 Benchmark Results

AMD EPYC-Rome - QEMU Standard PC - Intel 440FX 82441FX PMC

Ubuntu 20.04 - 5.4.0-26-generic - NVIDIA

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

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

Debian 10 - 5.4.42-v8+ - X Server 1.20.4

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

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

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

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

2 Systems - 6 Benchmark Results

Unknown - NationalChip gx6605s - 57MB

Buildroot 2018.02-git - 4.9.56 - GNOME Shell

4 Systems - 119 Benchmark Results

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

FreeBSD - 12.0-CURRENT - Clang 6.0.0

2 Systems - 176 Benchmark Results

2 x Intel Xeon Gold 6138 - TYAN S7106 - Intel Device 2020

Ubuntu 17.10 - 4.15.2-041502-generic - GNOME Shell 3.26.1

Find More Test Results