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 13 April 2024.
Write33.1%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

Write Cache

OpenBenchmarking.org metrics for this test profile configuration based on 2,284 public results since 4 January 2017 with the latest data as of 19 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
3
64081 +/- 893
100th
3
62097 +/- 365
100th
3
58850 +/- 6490
100th
3
58127 +/- 71
100th
3
53925 +/- 4293
100th
9
40688 +/- 1701
100th
5
40243 +/- 630
99th
3
39346 +/- 2049
99th
8
36157 +/- 236
98th
9
35337 +/- 177
97th
7
34687 +/- 585
97th
30
34321 +/- 570
95th
6
33694 +/- 621
95th
5
33395 +/- 1098
94th
13
32571 +/- 216
92nd
5
32108 +/- 4
92nd
22
31992 +/- 536
91st
3
31780 +/- 4689
91st
34
31629 +/- 577
91st
3
31612 +/- 2731
90th
6
31491 +/- 1127
89th
9
30916 +/- 1197
87th
16
30012 +/- 789
86th
3
29789 +/- 275
86th
3
29598 +/- 2067
84th
3
28788 +/- 3156
84th
3
28771 +/- 3137
83rd
8
28516 +/- 362
82nd
6
28394 +/- 3000
82nd
4
28237 +/- 237
81st
6
27975 +/- 842
81st
5
27561 +/- 2384
81st
3
27504 +/- 18
80th
3
27348 +/- 4
80th
5
27333 +/- 332
80th
4
27333 +/- 360
79th
3
27046 +/- 43
79th
3
27000 +/- 2319
77th
12
26552 +/- 417
77th
18
26504 +/- 267
Mid-Tier
75th
< 26180
75th
8
26095 +/- 3409
75th
10
26046 +/- 2475
75th
17
25965 +/- 604
74th
4
25911 +/- 291
74th
11
25681 +/- 320
73rd
7
25570 +/- 1171
73rd
6
25549 +/- 1258
71st
3
25239 +/- 61
70th
3
25092 +/- 106
70th
4
25053 +/- 598
68th
4
24849 +/- 4
67th
3
24504 +/- 1265
67th
4
24436 +/- 696
66th
4
24298 +/- 160
66th
7
24267 +/- 281
63rd
4
23725 +/- 645
63rd
4
23696 +/- 815
61st
3
23055 +/- 499
61st
3
22870 +/- 1511
61st
3
22870 +/- 2568
60th
4
22765 +/- 156
58th
3
22088 +/- 485
58th
10
22080 +/- 1000
54th
3
20729 +/- 258
Median
50th
19850
50th
3
19782 +/- 2839
48th
4
19000 +/- 2299
42nd
4
16804 +/- 1475
42nd
4
16698 +/- 29
37th
4
14475 +/- 1624
36th
3
14231 +/- 446
35th
10
13955 +/- 537
34th
3
13393 +/- 6
30th
5
12189 +/- 132
30th
9
12140 +/- 891
29th
5
11850 +/- 15
Low-Tier
25th
< 11094
25th
3
11073 +/- 146
24th
5
10716 +/- 12
24th
3
10697 +/- 7
24th
5
10673 +/- 853
24th
3
10652 +/- 1021
22nd
6
10334 +/- 55
21st
3
9823 +/- 903
19th
6
9306 +/- 426
19th
15
9204 +/- 1181
18th
3
8947 +/- 6
13th
6
7470 +/- 317
13th
3
7208 +/- 491
7th
3
5567 +/- 18
7th
3
5349 +/- 9
6th
23
5234 +/- 78
4th
4
3668 +/- 440
OpenBenchmarking.orgDistribution Of Public Results - Write Cache2284 Results Range From 797 To 10850394868029 MB/s797217007898142434015795487651023692832868031590177108503948752213020473848671519055282212173606317955719530710769022170078974247238708687159226040947689372821102666282303811056362732551184609723472126358317368913425566239061421530074123150050352434015794769745571658450424774173742387499118163973252081895370775425197434422564220533176758592132291126076221126457629322902380265102369211476727244818492694425271583771612606131827378268510527759527640787278122843052178029292202562824630009990784633079972528680315894597889732379194291143316892879331339586632954834748397797653553813229982363278667101993711760121041637907335710633386970702108503948680475001000150020002500

Based on OpenBenchmarking.org data, the selected test / test configuration (CacheBench - Write 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 BenchmarkWrite CacheRun-Time612182430Min: 4 / Avg: 7.5 / Max: 27

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 RunsWrite CacheDeviation510152025Min: 0 / Avg: 0.54 / Max: 23

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 ScalingWrite Cache246812162024320.42080.84161.26241.68322.104

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 15.4 - 5.14.21-150400.24.18-default - GNOME Shell 41.4

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 34550 - 5.10.32-1035.native - GNOME Shell 40.0

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

13 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

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

Find More Test Results