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 30 June 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 370 public results since 10 January 2024 with the latest data as of 1 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
96th
5
149088 +/- 405
94th
4
142074 +/- 2188
91st
3
134157 +/- 4070
91st
4
132960 +/- 617
89th
5
131493 +/- 703
85th
3
130087 +/- 1321
83rd
5
123784 +/- 16558
83rd
4
123063 +/- 2345
79th
3
112673 +/- 217
77th
3
110843 +/- 125
Mid-Tier
75th
< 107791
74th
4
107640 +/- 62
70th
3
104482 +/- 523
70th
3
104343 +/- 510
69th
4
103577 +/- 1484
65th
5
98952 +/- 220
63rd
3
97480 +/- 67
59th
3
89924 +/- 856
56th
6
87333 +/- 258
55th
4
87223 +/- 5
53rd
3
86933 +/- 239
51st
3
84222 +/- 11307
Median
50th
82163
33rd
3
60801 +/- 902
31st
4
57611 +/- 9
Low-Tier
25th
< 56309
14th
4
41606 +/- 51
12th
8
39304 +/- 81
9th
6
35203 +/- 1309
4th
3
14399 +/- 441
OpenBenchmarking.orgDistribution Of Public Results - Test: Read / Modify / Write358 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.13 / 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.2 / 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

1 System - 3 Benchmark Results

rv64imafdcv - Sophgo Mango - 256GB

Fedora Linux 38 - 6.1.31 - GCC 13.2.1 20230728

3 Systems - 2 Benchmark Results

Intel Core i5-7500 - ASUS PRIME B250M-A - 1 x 16384MB 2400MHz Samsung M378A2K43CB1-CTD

Microsoft Windows 10 Pro Build 19044 - 10.0.19044.1288 - 31.0.101.2111

1 System - 2 Benchmark Results

Intel Core i5-7500 - ASUS PRIME B250M-A - Intel Xeon E3-1200 v6

Tinux - 6.6.13+bpo-amd64 - GNOME Shell 43.9

1 System - 2 Benchmark Results

Intel Core i5-7500 - ASUS PRIME B250M-A - Intel Xeon E3-1200 v6

Ubuntu 22.04 - 6.5.0-18-generic - GNOME Shell 42.9

1 System - 1 Benchmark Result

Intel Core i5-7500 - ASUS PRIME B250M-A - Intel Xeon E3-1200 v6

Ubuntu 22.04 - 6.5.0-18-generic - GNOME Shell 42.9

1 System - 3 Benchmark Results

Intel Core i5-11400H - ASUS FX506HF v1.0 - Intel Tiger Lake-H

Debian 12 - 6.1.0-21-amd64 - KDE Plasma 5.27.5

1 System - 3 Benchmark Results

Intel Core i5-7500 - ASUS PRIME B250M-A - 1 x 16384MB 2400MHz Samsung M378A2K43CB1-CTD

Microsoft Windows 10 Pro Build 19045 - 10.0.19045.4529 - 31.0.101.2111

2 Systems - 3 Benchmark Results

Intel Core i7-13620H - MSI MS-17L5 - Intel Alder Lake PCH

Arch Linux - 6.9.5-arch1-1 - Budgie 10.9.1

1 System - 2 Benchmark Results

Intel Core i5-7500 - ASUS PRIME B250M-A - Intel Xeon E3-1200 v6

Debian 12 - 6.6.13+bpo-amd64 - GNOME Shell 43.9

1 System - 2 Benchmark Results

Intel Core i5-7500 - ASUS PRIME B250M-A - Intel Xeon E3-1200 v6

Debian 12 - 6.6.13+bpo-amd64 - GNOME Shell 43.9

3 Systems - 21 Benchmark Results

Intel Xeon Gold 6152 - QEMU Standard PC - Intel 440FX 82441FX PMC

Rocky Linux 9.4 - 5.14.0-427.20.1.el9_4.0.1.x86_64 - GCC 11.4.1 20231218

1 System - 2 Benchmark Results

Intel Core i5-7500 - ASUS PRIME B250M-A - 1 x 16384MB 2400MHz Samsung M378A2K43CB1-CTD

Microsoft Windows 10 Pro Build 19044 - 10.0.19044.1288 - 31.0.101.2111

10 Systems - 42 Benchmark Results

AMD Custom APU 0405 - Valve Jupiter - AMD VanGogh Root Complex

Gentoo 2.15 - 6.6.31-xanmod-rt31-x64v3-xanmod1 - KDE Plasma

1 System - 68 Benchmark Results

ARMv8 Neoverse-N1 - Amazon EC2 i4g.16xlarge - Amazon Device 0200

Amazon Linux 2 - 5.10.218-208.862.amzn2.aarch64 - GCC 7.3.1 20180712

1 System - 62 Benchmark Results

ARMv8 Neoverse-N1 - Amazon EC2 i4g.16xlarge - Amazon Device 0200

Amazon Linux 2 - 5.10.218-208.862.amzn2.aarch64 - GCC 7.3.1 20180712

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

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

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

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

Debian 12 - 6.1.0-11-amd64 - X Server

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

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

7 Systems - 167 Benchmark Results

AMD EPYC 8534PN 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