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.042024.09200K400K600K800K1000K
* 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 6 October 2024.
Write32.7%Read / Modify / Write34.1%Read33.2%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 1,034 public results since 10 January 2024 with the latest data as of 1 October 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
100th
5
149088 +/- 405
99th
4
142074 +/- 2188
97th
3
134157 +/- 4070
97th
4
132960 +/- 617
96th
5
131493 +/- 703
95th
3
130087 +/- 1321
94th
5
123784 +/- 16558
94th
4
123063 +/- 2345
92nd
3
112673 +/- 217
92nd
3
110843 +/- 125
90th
4
107640 +/- 62
88th
3
104482 +/- 523
88th
3
104343 +/- 510
88th
4
103577 +/- 1484
85th
5
98952 +/- 220
84th
3
97480 +/- 67
84th
39
94995 +/- 7220
78th
3
89924 +/- 856
76th
6
87333 +/- 258
76th
4
87223 +/- 5
Mid-Tier
75th
< 87155
75th
3
86933 +/- 239
63rd
3
84222 +/- 11307
Median
50th
77558
35th
3
67064 +/- 2092
31st
4
63916 +/- 1
30th
3
60801 +/- 902
29th
4
57611 +/- 9
Low-Tier
25th
< 56400
15th
4
41606 +/- 51
14th
8
39304 +/- 81
5th
8
35398 +/- 1164
3rd
3
14399 +/- 441
OpenBenchmarking.orgDistribution Of Public Results - Test: Read / Modify / Write1032 Results Range From 1979 To 176236 MB/s1979546589511243715923194092289526381298673335336839403254381147297507835426957755612416472768213716997518578671821578564389129926159610199587103073106559110045113531117017120503123989127475130961134447137933141419144905148391151877155363158849162335165821169307172793176279306090120150

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-Time510152025Min: 7 / Avg: 7.43 / Max: 21

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.49 / 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 / 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-A55 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, AmpereOne 192-Core, Apple M2, Phytium D2000, Rockchip RK3588S

Recent Test Results

OpenBenchmarking.org Results Compare

1 System - 11 Benchmark Results

1 System - 11 Benchmark Results

AMD Ryzen AI 9 HX 370 - ASUS M5606WA v1.0 - AMD Device 1507

Arch rolling - 6.11.0-1-mainline-um5606-dirty - GNOME Shell 47.0

1 System - 11 Benchmark Results

1 System - 11 Benchmark Results

AMD Ryzen AI 9 HX 370 - ASUS M5606WA v1.0 - AMD Device 1507

Arch rolling - 6.11.0-1-mainline-um5606-dirty - GNOME Shell 47.0

1 System - 11 Benchmark Results

1 System - 11 Benchmark Results

AMD Ryzen AI 9 HX 370 - ASUS UM5606WA v1.0 - AMD Device 1507

Arch rolling - 6.11.0-1-mainline-um5606-dirty - GNOME Shell 47.0

1 System - 22 Benchmark Results

Intel Xeon E5-2673 v4 - 8192MB - 0GB Virtual Disk + 2GB Virtual Disk + 2 x 1100GB Virtual Disk

Debian 12 - 5.15.153.1-microsoft-standard-WSL2 - GCC 12.2.0

1 System - 11 Benchmark Results

1 System - 11 Benchmark Results

AMD Ryzen AI 9 HX 370 - ASUS UM5606WA v1.0 - AMD Device 1507

Arch rolling - 6.11.0-1-mainline-um5606-dirty - GNOME Shell 47.0

1 System - 11 Benchmark Results

AMD Ryzen AI 9 HX 370 - ASUS UM5606WA v1.0 - AMD Device 1507

Arch rolling - 6.11.0-1-mainline-um5606-dirty - GNOME Shell 47.0

1 System - 11 Benchmark Results

AMD Ryzen AI 9 HX 370 - ASUS UM5606WA v1.0 - AMD Device 1507

Arch rolling - 6.11.0-1-mainline-um5606-dirty - GNOME Shell 47.0

1 System - 11 Benchmark Results

AMD Ryzen AI 9 HX 370 - ASUS UM5606WA v1.0 - AMD Device 1507

Arch rolling - 6.11.0-1-mainline-um5606-dirty - GNOME Shell 47.0

1 System - 11 Benchmark Results

AMD Ryzen AI 9 HX 370 - ASUS M5606WA v1.0 - AMD Device 1507

Arch rolling - 6.11.0-1-mainline-um5606-dirty - GNOME Shell 47.0

1 System - 11 Benchmark Results

AMD Ryzen AI 9 HX 370 - ASUS M5606WA v1.0 - AMD Device 1507

Arch rolling - 6.11.0-1-mainline-um5606-dirty - GNOME Shell 47.0

1 System - 11 Benchmark Results

AMD Ryzen AI 9 HX 370 - ASUS M5606WA v1.0 - AMD Device 1507

Arch rolling - 6.11.0-1-mainline-um5606-dirty - GNOME Shell 47.0

Most Popular Test Results

OpenBenchmarking.org Results Compare

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

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

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

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

2 Systems - 28 Benchmark Results

AMD EPYC 7413 24-Core - GIGABYTE MZ32-AR0-00 v01000100 - AMD Starship

Rocky Linux 9.3 - 5.14.0-362.24.1.el9_3.x86_64 - GNOME Shell 40.10

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

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

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

3 Systems - 7 Benchmark Results

2 x Hygon C86 7390 32-core - QEMU Standard PC - Intel 440FX 82441FX PMC

Uos 20 - 4.19.90-2106.3.0.0095.up2.uel20.x86_64 - Deepin Desktop Environment

44 Systems - 425 Benchmark Results

Intel Core i7-14700K - ASUS ProArt B760-CREATOR - Intel Device 7a27

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

2 Systems - 6 Benchmark Results

2 x Hygon C86 7390 32-core - QEMU Standard PC - Intel 440FX 82441FX PMC

Uos 20 - 4.19.90-2106.3.0.0095.up2.uel20.x86_64 - Deepin Desktop Environment

2 Systems - 262 Benchmark Results

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

Debian 12 - 6.1.0-11-amd64 - X Server

Find More Test Results