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 18 September 2024.
Write33.0%Read / Modify / Write33.5%Read33.5%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 192 public results since 13 January 2024 with the latest data as of 18 September 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
99th
4
22009 +/- 539
85th
27
17955 +/- 316
80th
3
17190 +/- 191
Mid-Tier
75th
< 13768
64th
13
12768 +/- 60
53rd
9
11724 +/- 953
51st
3
11462 +/- 165
Median
50th
11413
49th
3
11266 +/- 23
Low-Tier
25th
< 6938
OpenBenchmarking.orgDistribution Of Public Results - Read Cache174 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 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 BenchmarkRead CacheRun-Time510152025Min: 7 / Avg: 7.15 / Max: 19

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

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

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)
ARMv8 64-bit
aarch64
ARMv8 Cortex-A76 4-Core

Recent Test Results

OpenBenchmarking.org Results Compare

1 System - 36 Benchmark Results

2 x Intel Xeon - Google Compute Engine - 128GB

Ubuntu 20.04.6 LTS - 6.1.75+ - GCC 9.4.0

1 System - 36 Benchmark Results

Intel Xeon Platinum 8255C - Tencent Cloud CVM v3.0 - 128GB

Ubuntu 20.04.6 LTS - 5.4.241-19-0017.1_plus - GCC 9.4.0

1 System - 36 Benchmark Results

Intel Xeon - Google Compute Engine - 128GB

Ubuntu 20.04.6 LTS - 6.1.85+ - GCC 9.4.0

1 System - 36 Benchmark Results

Intel Xeon - Google Compute Engine - 128GB

Ubuntu 20.04.6 LTS - 6.1.85+ - GCC 9.4.0

1 System - 32 Benchmark Results

Intel Xeon - Google Compute Engine - 128GB

Ubuntu 20.04.6 LTS - 6.1.85+ - GCC 9.4.0

1 System - 33 Benchmark Results

Intel Xeon - Google Compute Engine - 128GB

Ubuntu 20.04.6 LTS - 6.1.85+ - GCC 9.4.0

1 System - 36 Benchmark Results

Intel Xeon Platinum 8255C - Tencent Cloud CVM v3.0 - 128GB

Ubuntu 20.04.6 LTS - 5.4.241-19-0017.1_plus - GCC 9.4.0

1 System - 35 Benchmark Results

Intel Xeon - Google Compute Engine - 128GB

Ubuntu 20.04.6 LTS - 6.1.90+ - GCC 9.4.0

1 System - 36 Benchmark Results

AMD EPYC 9754 128-Core - Tencent Cloud CVM v3.0 - 128GB

Ubuntu 20.04.6 LTS - 5.4.241-19-0017.1_plus - GCC 9.4.0

1 System - 22 Benchmark Results

Intel Xeon - Google Compute Engine - 128GB

Ubuntu 20.04.6 LTS - 6.1.90+ - GCC 9.4.0

1 System - 22 Benchmark Results

Intel Xeon - Google Compute Engine - 128GB

Ubuntu 20.04.6 LTS - 6.1.90+ - GCC 9.4.0

1 System - 22 Benchmark Results

Intel Xeon - Google Compute Engine - 128GB

Ubuntu 20.04.6 LTS - 6.1.90+ - GCC 9.4.0

1 System - 22 Benchmark Results

Intel Xeon - Google Compute Engine - 128GB

Ubuntu 20.04.6 LTS - 6.1.90+ - GCC 9.4.0

1 System - 22 Benchmark Results

Intel Xeon - Google Compute Engine - 128GB

Ubuntu 20.04.6 LTS - 6.1.90+ - GCC 9.4.0

1 System - 22 Benchmark Results

Intel Xeon - Google Compute Engine - 128GB

Ubuntu 20.04.6 LTS - 6.1.90+ - GCC 9.4.0

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

4 Systems - 61 Benchmark Results

AMD Ryzen 9 5950X 16-Core - MSI MPG B550 GAMING EDGE WIFI - AMD Starship

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

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

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

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

1 System - 494 Benchmark Results

Find More Test Results