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 14 June 2024.
Write32.6%Read / Modify / Write33.9%Read33.4%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 340 public results since 10 January 2024 with the latest data as of 13 June 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)
99th
9
173609 +/- 4022
96th
5
149088 +/- 405
94th
4
142074 +/- 2188
91st
3
134157 +/- 4070
91st
4
132960 +/- 617
88th
5
131493 +/- 703
84th
3
130087 +/- 1321
82nd
5
123784 +/- 16558
82nd
4
123063 +/- 2345
77th
3
112673 +/- 217
76th
3
110843 +/- 125
Mid-Tier
75th
< 110770
73rd
4
107640 +/- 62
68th
3
104482 +/- 523
68th
3
104343 +/- 510
67th
4
103577 +/- 1484
63rd
5
98952 +/- 220
61st
3
97480 +/- 67
56th
3
89924 +/- 856
53rd
6
87333 +/- 258
51st
4
87223 +/- 5
Median
50th
87116
49th
3
86933 +/- 239
47th
3
84222 +/- 11307
29th
3
60801 +/- 902
26th
4
57611 +/- 9
Low-Tier
25th
< 56517
14th
4
41606 +/- 51
12th
8
39304 +/- 81
8th
6
35203 +/- 1309
OpenBenchmarking.orgDistribution Of Public Results - Test: Read / Modify / Write331 Results Range From 1979 To 176236 MB/s1979546589511243715923194092289526381298673335336839403254381147297507835426957755612416472768213716997518578671821578564389129926159610199587103073106559110045113531117017120503123989127475130961134447137933141419144905148391151877155363158849162335165821169307172793176279612182430

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.21 / 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

2 Systems - 19 Benchmark Results

Intel Xeon E5-2686 v4 - Xen HVM domU - Intel 440FX 82441FX PMC

Ubuntu 24.04 - 6.8.0-1009-aws - GCC 13.2.0

1 System - 19 Benchmark Results

Intel Xeon E5-2686 v4 - Xen HVM domU - Intel 440FX 82441FX PMC

Ubuntu 24.04 - 6.8.0-1009-aws - GCC 13.2.0

1 System - 28 Benchmark Results

AMD EPYC 7543P 32-Core - QEMU Standard PC - Intel 440FX 82441FX PMC

Ubuntu 24.04 - 6.8.0-35-generic - GCC 13.2.0

1 System - 28 Benchmark Results

AMD EPYC 7543P 32-Core - QEMU Standard PC - Intel 440FX 82441FX PMC

Ubuntu 24.04 - 6.8.0-35-generic - GCC 13.2.0

1 System - 29 Benchmark Results

AMD EPYC 7543P 32-Core - QEMU Standard PC - Intel 440FX 82441FX PMC

Ubuntu 24.04 - 6.8.0-31-generic - GCC 13.2.0

1 System - 28 Benchmark Results

AMD EPYC 7642 48-Core - Linode Compute Instance - Intel 82G33

Ubuntu 24.04 - 6.8.0-35-generic - GCC 13.2.0

1 System - 28 Benchmark Results

AMD EPYC 7642 48-Core - Linode Compute Instance - Intel 82G33

Ubuntu 24.04 - 6.8.0-35-generic - GCC 13.2.0

1 System - 28 Benchmark Results

AMD EPYC 7601 32-Core - Linode Compute Instance - Intel 82G33

Ubuntu 24.04 - 6.8.0-35-generic - GCC 13.2.0

1 System - 3 Benchmark Results

AMD Ryzen 9 5900X 12-Core - ASRock X570 Phantom Gaming 4 - AMD Starship

EndeavourOS rolling - 6.9.1-arch1-1 - X Server 1.21.1.13

1 System - 80 Benchmark Results

Intel Xeon E5-2686 v4 - Xen HVM domU - Intel 440FX 82441FX PMC

Amazon Linux 2 - 5.10.217-205.860.amzn2.x86_64 - GCC 7.3.1 20180712

1 System - 74 Benchmark Results

Intel Xeon E5-2686 v4 - Xen HVM domU - Intel 440FX 82441FX PMC

Amazon Linux 2 - 5.10.217-205.860.amzn2.x86_64 - GCC 7.3.1 20180712

1 System - 80 Benchmark Results

2 x Intel Xeon E5-2686 v4 - Xen HVM domU - Intel 440FX 82441FX PMC

Amazon Linux 2 - 5.10.217-205.860.amzn2.x86_64 - GCC 7.3.1 20180712

1 System - 74 Benchmark Results

2 x Intel Xeon E5-2686 v4 - Xen HVM domU - Intel 440FX 82441FX PMC

Amazon Linux 2 - 5.10.217-205.860.amzn2.x86_64 - GCC 7.3.1 20180712

1 System - 80 Benchmark Results

Intel Xeon E5-2686 v4 - Xen HVM domU - Intel 440FX 82441FX PMC

Amazon Linux 2 - 5.10.217-205.860.amzn2.x86_64 - GCC 7.3.1 20180712

1 System - 74 Benchmark Results

Intel Xeon E5-2686 v4 - Xen HVM domU - Intel 440FX 82441FX PMC

Amazon Linux 2 - 5.10.217-205.860.amzn2.x86_64 - GCC 7.3.1 20180712

Most Popular Test Results

OpenBenchmarking.org Results Compare

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

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

2 Systems - 64 Benchmark Results

Intel Core i5-6600 - ASUS H170 PRO GAMING - Intel Xeon E3-1200 v5

openSUSE 20240209 - 6.7.4-1-default - KDE Plasma 6.0.80

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

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

2 Systems - 262 Benchmark Results

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

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

ARMv8 Cortex-A76 - BCM2835 Raspberry Pi 5 Model B Rev 1.0 - 8GB

Ubuntu 23.10 - 6.5.0-1011-raspi - GNOME Shell 45.2

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

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

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 - 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

7 Systems - 167 Benchmark Results

AMD EPYC 7601 32-Core - TYAN B8026T70AE24HR - AMD 17h

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

Find More Test Results