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 21 April 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 2,287 public results since 4 January 2017 with the latest data as of 25 April 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
7
11917 +/- 626
100th
5
10908 +/- 1
95th
3
5633 +/- 76
95th
3
5451 +/- 82
94th
3
5204 +/- 78
94th
3
5140 +/- 1
94th
9
5005 +/- 696
92nd
3
4671 +/- 452
92nd
3
4291 +/- 241
91st
11
4261 +/- 379
89th
3
3860 +/- 491
89th
4
3815 +/- 230
88th
23
3806 +/- 5
87th
4
3765 +/- 262
87th
3
3748 +/- 346
86th
3
3710 +/- 393
85th
13
3665 +/- 351
85th
10
3625 +/- 304
84th
3
3586 +/- 208
84th
7
3576 +/- 254
83rd
3
3533 +/- 375
82nd
4
3397 +/- 421
81st
3
3389 +/- 3
80th
6
3344 +/- 211
79th
5
3300 +/- 274
78th
3
3286 +/- 15
77th
4
3276 +/- 28
77th
6
3271 +/- 60
77th
5
3268 +/- 48
76th
13
3226 +/- 260
Mid-Tier
75th
< 3201
75th
5
3199 +/- 243
75th
3
3195 +/- 10
75th
8
3192 +/- 353
74th
4
3164 +/- 76
74th
3
3133 +/- 7
73rd
8
3129 +/- 410
73rd
10
3129 +/- 276
73rd
7
3113 +/- 291
72nd
4
3111 +/- 42
72nd
9
3098 +/- 133
72nd
4
3093 +/- 34
70th
34
3045 +/- 105
69th
11
3041 +/- 3
67th
4
3029 +/- 27
67th
3
3023 +/- 2
66th
6
3006 +/- 108
62nd
16
2944 +/- 124
61st
4
2913 +/- 17
58th
3
2875 +/- 316
58th
3
2872 +/- 2
57th
12
2859 +/- 180
56th
4
2842 +/- 71
56th
3
2831 +/- 41
56th
5
2828 +/- 313
55th
3
2798 +/- 13
54th
3
2794 +/- 87
53rd
6
2781 +/- 48
52nd
18
2743 +/- 109
52nd
3
2736 +/- 90
Median
50th
2704
49th
3
2696 +/- 190
48th
3
2686 +/- 271
48th
4
2684 +/- 21
48th
17
2680 +/- 24
47th
10
2654 +/- 131
46th
3
2634 +/- 148
44th
3
2591 +/- 57
42nd
13
2567 +/- 146
42nd
17
2556 +/- 338
40th
20
2526 +/- 183
39th
5
2518 +/- 2
39th
5
2507 +/- 28
35th
12
2432 +/- 317
35th
5
2432 +/- 4
32nd
3
2366 +/- 1
32nd
4
2363 +/- 296
30th
3
2305 +/- 258
29th
4
2278 +/- 277
27th
3
2253 +/- 108
27th
3
2236 +/- 162
27th
4
2230 +/- 146
Low-Tier
25th
< 2188
24th
5
2147 +/- 290
24th
4
2127 +/- 24
20th
7
2061 +/- 54
18th
4
2025 +/- 2
17th
15
2002 +/- 60
16th
10
1954 +/- 79
13th
6
1847 +/- 6
11th
5
1767 +/- 46
9th
3
1620 +/- 4
8th
4
1511 +/- 59
7th
3
1361 +/- 72
5th
3
1132 +/- 5
OpenBenchmarking.orgDistribution Of Public Results - Read Cache2287 Results Range From 227 To 2740863117734 MB/s22754817262578109634524929164451787280219269049631274086311982328903574333383720836684438538099035493355361386548172623737602989886088657807148439712624410790767441673141822258935492877076197843931893460194986710722545104152798489610963452472471151162509598120597977194912607970343001315614296651137043155900214252488213531480066083704153488334605515897006084061644517870757169933513310817541523954591808969657810186378692016119186041825121973421444863202823870721420830559695652137873231916219269049426722475077566182302325018969235714228132024119595436712466776806022252159406837325764113307242631228593075268604585542627408631177775001000150020002500

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: 4 / Avg: 7.12 / Max: 21

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 CacheDeviation48121620Min: 0 / Avg: 0.3 / Max: 16

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 ScalingRead Cache24681216202428320.46250.9251.38751.852.3125

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)
IBM Z
s390x
(Many Processors)
RISC-V 64-bit
riscv64
SiFive RISC-V
IBM POWER (PowerPC) 64-bit
ppc64le
POWER8, POWER9 16-Core
IBM POWER (PowerPC) 64-bit
ppc64
PPC970MP
MIPS 64-bit
mips64
Loongson-3A R4, Loongson-3A3000 V0.9 FPU V0.1
Intel / AMD x86 32-bit
i686
(Many Processors)
ARMv7 32-bit
armv7l
ARMv7 Cortex-A7 2-Core, ARMv7 Cortex-A72 4-Core, ARMv7 rev 1 2-Core, ARMv7 rev 10 2-Core, ARMv7 rev 10 4-Core, ARMv7 rev 2, ARMv7 rev 2 4-Core, ARMv7 rev 3 4-Core, ARMv7 rev 4 4-Core, ARMv7 rev 5 2-Core, ARMv7 rev 5 4-Core, Exynos ARMv7 rev 3 8-Core
ARMv8 64-bit
aarch64
AArch64 rev 4, ARMv8 9-Core, ARMv8 Cortex-A53 2-Core, ARMv8 Cortex-A53 4-Core, ARMv8 Cortex-A72 4-Core, ARMv8 Neoverse-N1, ARMv8 Neoverse-N1 16-Core, ARMv8 Neoverse-N1 80-Core, ARMv8 Neoverse-V1, ARMv8 rev 3 6-Core, Ampere ARMv8 Neoverse-N1 160-Core, Ampere eMAG ARMv8 32-Core, Rockchip ARMv8 Cortex-A76 6-Core

Recent Test Results

OpenBenchmarking.org Results Compare

3 Systems - 22 Benchmark Results

Intel Xeon E5-2640 v3 - HUANANZHI X99-BD4 - Intel Xeon E7 v3

openSUSE 20230326 - 6.2.8-1-default - GNOME Shell 44.0

1 System - 4 Benchmark Results

Intel Xeon E5-2620 v4 - Microsoft Virtual Machine - 1 x 2768 MB 0MHz

Microsoft Windows 10 Pro Build 19045 - 10.0.19045.3803 - 10.0.19041.3636

1 System - 22 Benchmark Results

AMD Ryzen 9 7950X3D 16-Core - ASUS ROG STRIX X670E-E GAMING WIFI - AMD Device 14d8

Linuxmint 21.2 - 6.2.0-39-generic - Cinnamon 5.8.4

1 System - 22 Benchmark Results

AMD Ryzen 5 5600X 6-Core - MSI B550-A PRO - AMD Starship

Linuxmint 21.2 - 6.2.0-39-generic - Cinnamon 5.8.4

1 System - 22 Benchmark Results

8 x Intel Xeon E5-2620 v4 - Microsoft Virtual Machine - 6GB

Ubuntu 22.04 - 5.15.0-91-generic - GNOME Shell 42.9

1 System - 4 Benchmark Results

8 x Intel Xeon E5-2620 v4 - Microsoft Virtual Machine - 766 + 766 + 766 + 766 + 766 + 138 + 628 + 764 + 764 0MHz

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

1 System - 22 Benchmark Results

Intel Core i9-13900KS - ASUS ROG MAXIMUS Z790 HERO - Intel Device 7a27

cachyos rolling - 6.6.8-5-cachyos-rt-bore-lto - Xfce 4.18

1 System - 4 Benchmark Results

Intel Core i7-1370P - GETAC B360G2 - 2 x 32768 MB 5200MHz Samsung M425R4GA3BB0-CWMOD

Microsoft Windows 11 Pro Build 22621 - 10.0.22621.2861 - 31.0.101.4889

1 System - 22 Benchmark Results

Intel Core i9-13900KS - ASUS ROG MAXIMUS Z790 HERO - Intel Device 7a27

cachyos rolling - 6.6.8-5-cachyos-rt-bore-lto - Xfce 4.18

1 System - 22 Benchmark Results

Intel Core i7-12700K - QEMU Standard PC - Intel 82G33

Arch rolling - 6.6.7-arch1-1 - X Server 1.21.1.4

1 System - 22 Benchmark Results

Intel Core i9-13900KS - ASUS ROG MAXIMUS Z790 HERO - Intel Device 7a27

ArcoLinux rolling - 6.6.8-1-cachyos-bore - X Server 1.21.1.10

1 System - 22 Benchmark Results

Intel Xeon Platinum 8269CA - Alibaba Cloud ECS - Intel 440FX 82441FX PMC

CentOS 7.9.2009 - 3.10.0-1160.36.2.el7.x86_64 - GCC 8.3.1 20190311

1 System - 4 Benchmark Results

QEMU Virtual 2.5+ - Placa-me - 1 x 3328 MB 0MHz QEMU

Microsoft Windows 10 Pro Build 19045 - 10.0.19045.3803 - 10.0.19041.3636

1 System - 4 Benchmark Results

QEMU Virtual 2.5+ - Placa-me - 1 x 3328 MB 0MHz QEMU

Microsoft Windows 10 Pro Build 19045 - 10.0.19045.3803 - 10.0.19041.3636

1 System - 22 Benchmark Results

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

Debian 11 - 5.10.0-26-amd64 - GNOME Shell 3.38.6

Most Popular Test Results

OpenBenchmarking.org Results Compare

1 System - 538 Benchmark Results

ARMv7 rev 1 - Marvell Armada 380/385 - 2048MB

Debian GNU - 4.4.0+ - GCC 4.9.2

1 System - 201 Benchmark Results

Unknown - Pine64 Rock64 - 4096MB

Ubuntu 18.04 - 4.4.120-rockchip-ayufan-213 - GCC 7.3.0

1 System - 476 Benchmark Results

Unknown - Marvell 8040 MACCHIATOBin - 16384MB

Ubuntu 18.04 - 4.14.22-150490-gd265712 - GCC 7.3.0

1 System - 813 Benchmark Results

ARMv7 rev 5 - BCM2835 Raspberry Pi 2 Model B Rev 1.1 - 927MB

Raspbian 9.4 - 4.14.34-v7+ - GCC 6.3.0 20170516

1 System - 855 Benchmark Results

Intel Core i5-5300U - LENOVO Intel powered classmate PC - Intel Broadwell-U-OPI

Kali kali-rolling - 4.15.0-kali3-amd64 - GNOME Shell 3.28.0

1 System - 1269 Benchmark Results

Intel Core i5-4570 - ASRock Z87 Extreme4 - Intel 4th Gen Core DRAM

Ubuntu 18.04 - 4.15.0-20-generic - GNOME Shell 3.28.1

6 Systems - 129 Benchmark Results

Loongson-3A3000 V0.9 FPU V0.1 - Unknown - AMD RS780 + SB7x0

Loongnix 1.0 - 3.10.84-15.fc21.loongson.mips64el - X Server 1.16.1

6 Systems - 56 Benchmark Results

2 x Intel Xeon Platinum 8168 - Dell 06G98X - Intel Device 2020

CentOS Linux 7 - 3.10.0-693.11.1.el7.x86_64 - GCC 4.8.5 20150623

7 Systems - 72 Benchmark Results

2 x AMD Opteron 6180 SE - HP ProLiant DL385 G7 - AMD RD890 + SB7x0

Ubuntu 14.04 - 4.4.0-142-generic - GCC 4.8

6 Systems - 254 Benchmark Results

AMD Ryzen 3 PRO 4350G - ASRock B450M Pro4 - AMD Renoir Root Complex

Clear Linux OS 35000 - 5.13.13-1070.native - GNOME Shell 40.4

6 Systems - 301 Benchmark Results

3 Systems - 50 Benchmark Results

Intel Xeon E5-26xx - Hetzner vServer v2 - Intel 440FX- 82441FX PMC

Debian 9.2 - 4.9.0-4-amd64 - GCC 6.3.0 20170516

12 Systems - 276 Benchmark Results

Intel Xeon X3440 - ASUS P7H55-M - Intel Core DMI

Ubuntu 14.04 - 3.13.0-85-generic - Unity 7.2.2

13 Systems - 276 Benchmark Results

Intel Xeon X3440 - ASUS P7H55-M - Intel Core DMI

Ubuntu 14.04 - 4.4.0-79-generic - Unity 7.2.2

Find More Test Results