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 23 November 2024.
Write32.4%Read / Modify / Write33.8%Read33.8%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

Read Cache

OpenBenchmarking.org metrics for this test profile configuration based on 238 public results since 13 January 2024 with the latest data as of 20 November 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
3
22572 +/- 669
100th
4
22009 +/- 539
87th
38
17865 +/- 337
79th
3
17190 +/- 191
Mid-Tier
75th
< 14299
65th
13
12768 +/- 60
55th
9
11724 +/- 953
55th
4
11709 +/- 110
54th
3
11462 +/- 165
51st
3
11266 +/- 23
Median
50th
11251
OpenBenchmarking.orgDistribution Of Public Results - Read Cache227 Results Range From 1132 To 23270 MB/s113215752018246129043347379042334676511955626005644868917334777782208663910695499992104351087811321117641220712650130931353613979144221486515308157511619416637170801752317966184091885219295197382018120624210672151021953223962283923282510152025

Based on OpenBenchmarking.org data, the selected test / test configuration (CacheBench - Read Cache) has an average run-time of 8 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 BenchmarkRead CacheRun-Time714212835Min: 7 / Avg: 8.06 / Max: 31

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

OpenBenchmarking.orgPercent, Fewer Is BetterAverage Deviation Between RunsRead CacheDeviation3691215Min: 0 / Avg: 0.4 / Max: 9

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)
Loongson LoongArch 64-bit
loongarch64
Loongson-3A5000
ARMv8 64-bit
aarch64
ARMv8 Cortex-A76 4-Core

Recent Test Results

OpenBenchmarking.org Results Compare

2 Systems - 52 Benchmark Results

Intel Core i5-8350U - HP EliteBook 850 G5 83B2 - Intel Xeon E3-1200 v6

Ubuntu 24.04 - 6.8.0-49-generic - GNOME Shell 46.0

1 System - 22 Benchmark Results

Intel Core i5-1235U - SAMSUNG NP550XED-KF2BR - Intel Alder Lake PCH

Debian 12 - 6.1.0-27-amd64 - GNOME Shell 43.9

1 System - 52 Benchmark Results

Intel Core i5-8350U - HP EliteBook 850 G5 83B2 - Intel Xeon E3-1200 v6

Ubuntu 24.04 - 6.8.0-49-generic - GNOME Shell 46.0

1 System - 22 Benchmark Results

2 x QEMU Virtual 2.5+ - QEMU Standard PC - Intel 440FX 82441FX PMC

Debian 12 - 6.1.0-27-amd64 - GCC 12.2.0

1 System - 22 Benchmark Results

2 x QEMU Virtual 2.5+ - QEMU Standard PC - Intel 440FX 82441FX PMC

Debian 12 - 6.1.0-27-amd64 - GCC 12.2.0

1 System - 22 Benchmark Results

2 x Intel Xeon X5675 - Supermicro X8DTN+-F - Intel 5520 I

Ubuntu 24.04 - 6.8.12-1-pve - GCC 13.2.0

7 Systems - 34 Benchmark Results

Intel Core i7-8550U - 8192MB - 0GB Virtual Disk + 2GB Virtual Disk + 1100GB Virtual Disk

Ubuntu 24.04 - 5.15.167.4-microsoft-standard-WSL2 - Wayland

1 System - 4 Benchmark Results

Intel Core 5 120U - Dell Inspiron 14 7440 2-in-1 [0K09R8] - 1 x 8192MB 5200MHz M425R1GB4PB0-CWMOD

Microsoft Windows 11 Home Build 26100 - 10.0.26100.2314 - 31.0.101.5186

1 System - 4 Benchmark Results

AMD Ryzen 7 5825U - HP 8A0F - 2 x 8192MB 3200MHz Samsung M471A1G44BB0-CWE

Microsoft Windows 11 Home Single Language Build 22631 - 10.0.22631.4460 - 31.0.12044.3

1 System - 4 Benchmark Results

AMD Ryzen 5 7520U - Oracle VirtualBox - 12GB

Microsoft Windows Server 2019 Standard Evaluation Build 17763 - 10.0.17763.3650 - 10.0.17763.1

1 System - 22 Benchmark Results

Intel Core i5-1235U - Intel VMware Virtual 440BX Desktop - Intel 440BX

Kali 2024.3 - 6.8.11-amd64 - Xfce 4.18

1 System - 22 Benchmark Results

AMD Ryzen 7 5825U - 8GB - 0GB Virtual Disk + 2GB Virtual Disk + 1100GB Virtual Disk

Ubuntu 22.04 - 5.15.167.4-microsoft-standard-WSL2 - Wayland

1 System - 22 Benchmark Results

Intel Core i5-12450H - Oracle VirtualBox v1.2 - Intel 440FX 82441FX PMC

openSUSE 15.6 - 6.4.0-150600.23.25-default - KDE Plasma 5.27.11

1 System - 22 Benchmark Results

AMD Ryzen 7 5825U - 8GB - 0GB Virtual Disk + 2GB Virtual Disk + 1100GB Virtual Disk

Ubuntu 22.04 - 5.15.153.1-microsoft-standard-WSL2 - Wayland

Most Popular Test Results

OpenBenchmarking.org Results Compare

2 Systems - 95 Benchmark Results

16 x AMD Ryzen 7 5700G - Intel 440BX - Intel 440BX

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

3 Systems - 141 Benchmark Results

Intel Xeon Gold 6148 - Supermicro X11SPW-TF v1.03 - Intel Sky Lake-E DMI3 Registers

Ubuntu 22.04 - 5.15.0-112-generic - X Server

2 Systems - 22 Benchmark Results

AMD Ryzen 9 5900X 12-Core - ASUS ROG CROSSHAIR VII HERO - AMD Starship

openSUSE 20240208 - 6.7.4-1-default - X Server 1.21.1.11 + Wayland

3 Systems - 27 Benchmark Results

AMD Ryzen 9 7900 12-Core - MSI MAG B650M MORTAR WIFI - AMD Device 14d8

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

2 Systems - 70 Benchmark Results

AMD Ryzen 9 7945HX - Shenzhen Meigao Electronic Equipment DRFXI - AMD Device 14d8

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

2 Systems - 22 Benchmark Results

Intel Core Ultra 7 155H - LENOVO LNVNB161216 - Intel Device 7e7f

Fedora Linux 40 - 6.9.7-200.fc40.x86_64 - GNOME Shell 46.3.1

3 Systems - 22 Benchmark Results

AMD Ryzen 7 5700G - ASRock X300M-STX - AMD Renoir

Pop 22.04 - 6.6.10-76060610-generic - GNOME Shell 42.5

4 Systems - 61 Benchmark Results

AMD Ryzen 5 5600G - MSI MPG B550 GAMING EDGE WIFI - AMD Renoir

Arch rolling - 6.6.10-arch1-1 - KDE Plasma 5.27.10

4 Systems - 61 Benchmark Results

AMD Ryzen 5 5600G - MSI MPG B550 GAMING EDGE WIFI - AMD Renoir

Arch rolling - 6.6.10-arch1-1 - KDE Plasma 5.27.10

2 Systems - 23 Benchmark Results

AMD Ryzen 9 7900 12-Core - MSI MAG B650M MORTAR WIFI - AMD Device 14d8

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

2 Systems - 22 Benchmark Results

Intel Xeon w5-2465X - Dell 0MTVXW - Intel Alder Lake-S PCH

Ubuntu 22.04 - 5.15.0-118-generic - X Server 1.21.1.4

13 Systems - 22 Benchmark Results

Intel Core Ultra 7 155H - LENOVO LNVNB161216 - Intel Device 7e7f

Fedora Linux 40 - 6.10.6-200.fc40.x86_64 - GNOME Shell 46.4

Find More Test Results