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 8 July 2024.
Write32.7%Read / Modify / Write33.7%Read33.7%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 400 public results since 10 January 2024 with the latest data as of 12 July 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
9
173609 +/- 4022
97th
5
149088 +/- 405
94th
4
142074 +/- 2188
92nd
3
134157 +/- 4070
91st
4
132960 +/- 617
89th
5
131493 +/- 703
86th
3
130087 +/- 1321
84th
5
123784 +/- 16558
84th
4
123063 +/- 2345
80th
3
112673 +/- 217
79th
3
110843 +/- 125
76th
4
107640 +/- 62
Mid-Tier
75th
< 107547
72nd
3
104482 +/- 523
72nd
3
104343 +/- 510
71st
4
103577 +/- 1484
67th
5
98952 +/- 220
66th
3
97480 +/- 67
59th
3
89924 +/- 856
57th
6
87333 +/- 258
55th
4
87223 +/- 5
54th
3
86933 +/- 239
52nd
3
84222 +/- 11307
Median
50th
79112
44th
3
67064 +/- 2092
35th
3
60801 +/- 902
33rd
4
57611 +/- 9
Low-Tier
25th
< 56310
13th
4
41606 +/- 51
11th
8
39304 +/- 81
8th
6
35203 +/- 1309
4th
3
14399 +/- 441
OpenBenchmarking.orgDistribution Of Public Results - Test: Read / Modify / Write389 Results Range From 1979 To 176236 MB/s1979546589511243715923194092289526381298673335336839403254381147297507835426957755612416472768213716997518578671821578564389129926159610199587103073106559110045113531117017120503123989127475130961134447137933141419144905148391151877155363158849162335165821169307172793176279918273645

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-Time48121620Min: 7 / Avg: 7.11 / Max: 17

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

OpenBenchmarking.orgPercent, Fewer Is BetterAverage Deviation Between RunsTest: Read / Modify / WriteDeviation3691215Min: 0 / Avg: 0.19 / Max: 8

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 / Write481632640.3750.751.1251.51.875

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)
RISC-V 64-bit
riscv64
SiFive RISC-V, rv64imafdcv
Loongson LoongArch 64-bit
loongarch64
(Many Processors)
Intel / AMD x86 32-bit
i686
(Many Processors)
ARMv7 32-bit
armv7l
ARMv7 rev 3 4-Core
ARMv8 64-bit
aarch64
ARMv8 Cortex-A53 4-Core, ARMv8 Cortex-A72, ARMv8 Cortex-A72 4-Core, ARMv8 Cortex-A76 4-Core, ARMv8 Neoverse-N1, ARMv8 Neoverse-N1 128-Core, ARMv8 Neoverse-V1, ARMv8 Neoverse-V2, Apple M2, Phytium D2000

Recent Test Results

OpenBenchmarking.org Results Compare

73 Systems - 527 Benchmark Results

2 x Intel Xeon E5-2680 v4 - Intel S2600CW - Intel Xeon E7 v4

Arch Linux - 6.9.7-arch1-1 - GCC 14.1.1 20240522

1 System - 3 Benchmark Results

Intel Core i7-3770K - ASRock Z77 Extreme6 - Intel Xeon E3-1200 v2

Arch rolling - 6.9.8-zen1-1-zen - Xfce 4.18

1 System - 3 Benchmark Results

Intel Core i7-3770K - ASRock Z77 Extreme6 - Intel Xeon E3-1200 v2

Arch rolling - 6.9.8-zen1-1-zen - Xfce 4.18

1 System - 3 Benchmark Results

8 x AMD EPYC - QEMU Standard PC - Intel 440FX 82441FX PMC

Ubuntu 20.04 - 5.4.0-150-generic - X Server

1 System - 3 Benchmark Results

4 x AMD EPYC - QEMU Standard PC - Intel 440FX 82441FX PMC

Ubuntu 20.04 - 5.4.0-150-generic - X Server

1 System - 3 Benchmark Results

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

CentOS Linux 8 - 4.18.0-193.el8.x86_64 - GCC 8.5.0 20210514

1 System - 3 Benchmark Results

Intel Core i7-12700K - ASUS PRIME B660-PLUS D4 - Intel Alder Lake-S PCH

cachyos rolling - 6.9.7-3-cachyos - KDE Plasma 6.1.1

1 System - 3 Benchmark Results

4 x AMD EPYC - QEMU Standard PC - Intel 440FX 82441FX PMC

Ubuntu 20.04 - 5.4.0-150-generic - X Server

1 System - 3 Benchmark Results

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

CentOS Linux 8 - 4.18.0-193.el8.x86_64 - GCC 8.5.0 20210514

25 Systems - 30 Benchmark Results

ARMv8 Cortex-A53 - BCM2835 Raspberry Pi 3 Model B Rev 1.2 - 909MB

Debian 11 - 5.10.92-v8+ - LXDE

24 Systems - 30 Benchmark Results

Unknown - Orange Pi Ai Pro 20T - 24GB

Ubuntu 22.04 - 5.10.0+ - Xfce

1 System - 22 Benchmark Results

AMD Ryzen Threadripper 2990WX 32-Core - MSI X399 GAMING PRO CARBON AC - AMD 17h

Ubuntu 22.04 - 5.15.0-113-generic - GCC 11.4.0

1 System - 3 Benchmark Results

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

CentOS Linux 8 - 4.18.0-193.el8.x86_64 - GCC 8.5.0 20210514

1 System - 3 Benchmark Results

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

Ubuntu 20.04 - 5.4.0-150-generic - X Server

1 System - 3 Benchmark Results

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

Ubuntu 20.04 - 5.4.0-150-generic - X Server

Most Popular Test Results

OpenBenchmarking.org Results Compare

27 Systems - 162 Benchmark Results

Intel Core i9-14900K - ASUS PRIME Z790-P - Intel Raptor Lake-S PCH

Arch Linux - 6.8.2-arch2-1 - GCC 13.2.1 20230801

62 Systems - 456 Benchmark Results

2 x Intel Xeon E5-2680 v4 - Intel S2600CWR - Intel Xeon E7 v4

SystemRescue 10.01 - 6.1.30-1-lts - X Server 1.21.1.8

4 Systems - 100 Benchmark Results

AMD Ryzen Threadripper PRO 5965WX 24-Cores - ASUS Pro WS WRX80E-SAGE SE WIFI - AMD Starship

Ubuntu 23.10 - 6.5.0-13-generic - GNOME Shell 45.0

2 Systems - 28 Benchmark Results

Intel 0000% - ASUS Pro WS W790E-SAGE SE - Intel Alder Lake-S PCH

Fedora 39 - 6.7.7-200.fc39.x86_64 - OpenCL 3.0 + OpenCL 1.2 Intel FPGA SDK for OpenCL 20.3 + OpenCL 3.0 LINUX + OpenCL 1.2 Intel FPGA SDK for OpenCL 20.3

3 Systems - 69 Benchmark Results

Intel Xeon Silver 4216 - TYAN S7100AG2NR - Intel Sky Lake-E DMI3 Registers

Debian 12 - 6.1.0-11-amd64 - X Server

4 Systems - 11 Benchmark Results

AMD EPYC 7551 32-Core - GIGABYTE MZ31-AR0-00 v01010101 - AMD 17h

Debian 12 - 6.1.0-10-amd64 - GCC 12.2.0

2 Systems - 262 Benchmark Results

AMD EPYC 7F32 8-Core - ASRockRack EPYCD8 - AMD Starship

Debian 12 - 6.1.0-11-amd64 - X Server

2 Systems - 31 Benchmark Results

Intel Core i9-10980XE - ASRock X299 Steel Legend - Intel Sky Lake-E DMI3 Registers

Ubuntu 22.04 - 6.2.0-39-generic - GNOME Shell 42.2

2 Systems - 390 Benchmark Results

ARMv8 Cortex-A76 - Mixtile Blade 3 v1.0.1 - 16GB

Ubuntu 22.04 - 5.10.160-rockchip - GNOME Shell 42.9

2 Systems - 64 Benchmark Results

AMD Ryzen 7 1800X Eight-Core - ASRock X370 Killer SLI - AMD 17h

Gentoo 2.14 - 6.6.13-gentoo-NVIDIA - X Server 1.21.1.11

76 Systems - 921 Benchmark Results

Intel Core i9-14900K - ASUS PRIME Z790-P - Intel Device 7a27

SystemRescue 10.01 - 6.1.30-1-lts - X Server 1.21.1.8

3 Systems - 69 Benchmark Results

Intel Core i7-8565U - Dell XPS 13 9380 0KTW76 - Intel Cannon Point-LP

Ubuntu 23.10 - 6.7.0-060700rc5-generic - GNOME Shell 45.1

7 Systems - 167 Benchmark Results

AMD EPYC 8324P 32-Core - AMD Cinnabar - AMD Device 14a4

Ubuntu 23.10 - 6.6.9-060609-generic - GNOME Shell 45.0

3 Systems - 58 Benchmark Results

AMD Ryzen 7 4700U - LENOVO IdeaPad 5 14ARE05 LNVNB161216 - AMD Renoir

Fedora Linux 39 - 6.5.7-300.fc39.x86_64 - GNOME Shell 45.0

Find More Test Results