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

7 April 2018

Test Maintainer

Michael Larabel 

Test Type

Processor

Average Install Time

2 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.06200K400K600K800K1000K
* 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 27 September 2023.
Read / Modify / Write37.1%Write30.3%Read32.6%Test Option PopularityOpenBenchmarking.org

Revision History

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 6,809 public results since 4 January 2017 with the latest data as of 30 September 2023.

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
18
83717 +/- 2032
100th
4
81644 +/- 3992
100th
4
80316 +/- 1927
100th
4
78104 +/- 1736
100th
16
77327 +/- 3454
100th
3
74085 +/- 8356
100th
4
69697 +/- 967
99th
4
67904 +/- 119
99th
5
66737 +/- 4792
99th
5
66175 +/- 187
99th
8
66079 +/- 3139
99th
7
64166 +/- 1972
98th
4
61249 +/- 4982
98th
5
61058 +/- 2502
98th
3
59946 +/- 165
97th
6
55866 +/- 82
94th
3
51055 +/- 69
92nd
14
48252 +/- 68
91st
3
46349 +/- 114
90th
10
45963 +/- 2548
90th
16
44997 +/- 1691
89th
3
44775 +/- 1934
89th
3
44668 +/- 77
89th
24
44480 +/- 382
88th
3
42676 +/- 2
88th
7
42620 +/- 6349
87th
15
42307 +/- 183
86th
3
42134 +/- 963
86th
32
41999 +/- 614
86th
6
41942 +/- 1543
86th
3
41839 +/- 62
85th
4
41409 +/- 1328
83rd
4
39772 +/- 3060
83rd
3
39761 +/- 119
83rd
3
39468 +/- 118
83rd
6
39262 +/- 206
81st
4
38548 +/- 4672
80th
3
38168 +/- 42
80th
3
38007 +/- 70
80th
4
37786 +/- 911
80th
23
37762 +/- 229
80th
4
37732 +/- 5005
77th
6
35342 +/- 179
77th
3
35262 +/- 319
77th
3
34720 +/- 1309
76th
38
34461 +/- 214
Mid-Tier
75th
< 34377
75th
24
34281 +/- 224
75th
3
34188 +/- 565
75th
19
34181 +/- 1095
74th
5
33903 +/- 5
73rd
7
33277 +/- 4538
73rd
3
33177 +/- 4297
73rd
3
33159 +/- 166
73rd
4
33051 +/- 4413
73rd
4
32974 +/- 206
73rd
5
32931 +/- 87
71st
3
32368 +/- 1051
70th
5
32014 +/- 4338
68th
7
31560 +/- 3706
68th
5
31552 +/- 2608
68th
3
31337 +/- 3
68th
6
31296 +/- 4173
67th
3
30802 +/- 1547
67th
8
30563 +/- 4077
66th
3
30072 +/- 1820
66th
4
29829 +/- 1807
62nd
6
28747 +/- 733
62nd
13
28426 +/- 570
62nd
6
28242 +/- 60
61st
4
28178 +/- 1137
61st
5
27871 +/- 1
60th
4
27358 +/- 62
60th
13
27294 +/- 37
57th
8
26004 +/- 3618
56th
16
25462 +/- 1683
56th
3
25405 +/- 47
54th
11
25138 +/- 3160
51st
6
24042 +/- 1202
Median
50th
23857
49th
3
23607 +/- 13
49th
3
23600 +/- 13
48th
10
23210 +/- 461
48th
6
22994 +/- 518
46th
6
22269 +/- 369
46th
5
22125 +/- 1170
45th
4
21612 +/- 168
44th
3
21294 +/- 119
43rd
3
20968 +/- 1631
42nd
3
20758 +/- 64
42nd
4
20667 +/- 49
42nd
4
20642 +/- 41
39th
11
19526 +/- 94
39th
4
19397 +/- 1349
37th
3
19195 +/- 76
36th
16
18898 +/- 2
35th
14
18893 +/- 10
35th
22
18884 +/- 17
26th
3
17849 +/- 1214
26th
4
17688 +/- 180
Low-Tier
25th
< 17367
24th
22
17055 +/- 1825
23rd
3
16343
20th
4
15999 +/- 41
20th
3
15968 +/- 1
20th
5
15967 +/- 1
17th
24
15477 +/- 139
17th
3
15427 +/- 16
17th
18
15287 +/- 107
16th
3
14878 +/- 1746
15th
3
14683 +/- 71
15th
3
14654 +/- 186
15th
5
14222 +/- 558
12th
4
13271 +/- 347
12th
4
13235 +/- 3
12th
4
13067 +/- 89
11th
18
12142 +/- 133
11th
19
12076 +/- 1487
11th
11
11789 +/- 1599
9th
17
10969 +/- 1
8th
5
10604 +/- 425
6th
18
9666 +/- 2
6th
6
9647 +/- 1324
6th
3
8612 +/- 3
5th
3
6690 +/- 844
5th
3
5910 +/- 469
5th
5
5871 +/- 356
4th
3
2657 +/- 3
3rd
5
2303 +/- 204
3rd
25
2181 +/- 295
3rd
4
2124 +/- 172
3rd
3
2073 +/- 85
2nd
4
1840 +/- 198
OpenBenchmarking.orgDistribution Of Public Results - Test: Read / Modify / Write6808 Results Range From 25 To 17912463584660 MB/s253582492717187164985434111074747815104143299708679717912463584902149495630183250774490187628659941735693224243445262358249271695539407419886484298991260341465724053203450154898037275373739075420573198834711360902376188066448486890499680673616219271649854338857523234705578788148397727182397332489648597982520657895623179235093144810640439672730335736100309796074291038922887912210747478150815111057274225081146397669420111822225965894121804752375871253872450928012896973780973132552230526661361347232435913971721596052143299708677451468822013943815046469411131154047186828241576296795451716121217226210164794664979031683771576959617195965041289175542143129821791246358467515003000450060007500

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-Time918273645Min: 4 / Avg: 7.43 / Max: 42

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

OpenBenchmarking.orgPercent, Fewer Is BetterAverage Deviation Between RunsTest: Read / Modify / WriteDeviation612182430Min: 0 / Avg: 1.33 / Max: 26

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.

AMDIntelOpenBenchmarking.orgRelative Core Scaling To BaseCacheBench CPU Core ScalingTest: Read / Modify / Write246812162024360.8251.652.4753.34.125

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 DIVSD ADDSD CVTSI2SD MOVAPD
Last automated analysis: 17 January 2022

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, rv64imafdc, rv64imafdcvsu, sifive rocket0
IBM POWER (PowerPC) 64-bit
ppc64le
POWER8, POWER9 16-Core, POWER9 44-Core, POWER9 8-Core, POWER9 altivec supported 44-Core, POWER9 altivec supported 64-Core
IBM POWER (PowerPC) 64-bit
ppc64
PPC970MP altivec supported, e6500
IBM POWER (PowerPC)
ppc
(Many Processors)
MIPS 64-bit
mips64
ICT Loongson-3A R3, Loongson-2K V0.3 FPU V0.1, Loongson-3A R3, Loongson-3B R2
MIPS
mips
Baikal-T1 1.2 GHz MIPS P5600 V3.0 FPU V2.0
Loongson LoongArch 64-bit
loongarch64
Loongson-3A5000, Loongson-3A5000-HV, Loongson-3A5000LL, Loongson-3C5000, Loongson-3C5000L
Intel / AMD x86 32-bit
i686
(Many Processors)
C-SKY
csky
(Many Processors)
ARMv8 64-bit
armv8l
ARMv8 rev 12 8-Core, ARMv8 rev 4 8-Core
ARMv7 32-bit
armv7l
ARMv7 Cortex-A53 4-Core, ARMv7 Cortex-A7, ARMv7 Cortex-A7 4-Core, ARMv7 Cortex-A72 4-Core, ARMv7 Cortex-A9 4-Core, ARMv7 rev 0 2-Core, ARMv7 rev 1 2-Core, ARMv7 rev 1 4-Core, ARMv7 rev 10, 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 3 8-Core, ARMv7 rev 4 4-Core, ARMv7 rev 5 4-Core
ARMv6 32-bit
armv6l
ARMv6-compatible rev 7, ARMv7
ARMv5 32-bit
armv5tel
Feroceon 88FR131 rev 1
ARMv8 64-bit
aarch64
AArch64 rev 12, AArch64 rev 3, AArch64 rev 4, ARMVv8 Cortex-A53 4-Core, ARMv8, ARMv8 4-Core, ARMv8 Cortex-A53, ARMv8 Cortex-A53 4-Core, ARMv8 Cortex-A53 6-Core, ARMv8 Cortex-A55 4-Core, ARMv8 Cortex-A57 6-Core, ARMv8 Cortex-A72, ARMv8 Cortex-A72 4-Core, ARMv8 Cortex-A72 6-Core, ARMv8 Cortex-A73 2-Core, ARMv8 Cortex-A73 6-Core, ARMv8 Cortex-A73 8-Core, ARMv8 Cortex-A76 4-Core, ARMv8 Cortex-A77 6-Core, ARMv8 Cortex-A78E 6-Core, ARMv8 Neoverse-N1, ARMv8 Neoverse-N1 128-Core, ARMv8 Neoverse-N1 2-Core, ARMv8 Neoverse-N1 32-Core, ARMv8 Neoverse-N1 64-Core, ARMv8 Neoverse-N1 8-Core, ARMv8 Neoverse-N1 80-Core, ARMv8 Neoverse-V1, ARMv8 rev 0 6-Core, ARMv8 rev 1 4-Core, ARMv8 rev 3 6-Core, Amlogic ARMv8 Cortex-A53 4-Core, Ampere Altra ARMv8 Neoverse-N1 160-Core, Ampere eMAG ARMv8 32-Core, Apple, Apple M1, FT2000AHK, HUAWEI Kunpeng 920, HUAWEI Kunpeng 920 5221K, Phytium FT-2000, Phytium FT1500A, Phytium FT2000A 4-Core, Phytium S2500, Rockchip ARMv8 Cortex-A53 4-Core, Rockchip ARMv8 Cortex-A55 4-Core, Rockchip ARMv8 Cortex-A72 6-Core, Rockchip ARMv8 Cortex-A76 6-Core, SiFive RISC-V

Recent Test Results

OpenBenchmarking.org Results Compare

6 Systems - 69 Benchmark Results

AMD Ryzen 7 2700 Eight-Core - ASRock X370 Taichi - AMD 17h

Debian - 6.4.0-4-amd64 - KDE Plasma 5.27.7

1 System - 61 Benchmark Results

ARMv8 Neoverse-N1 - Amazon EC2 r6g.xlarge - Amazon Device 0200

Ubuntu 22.04 - 5.15.0-84-custom-arm64 - 1.3.238

1 System - 55 Benchmark Results

ARMv8 Neoverse-N1 - Amazon EC2 r6g.xlarge - Amazon Device 0200

Ubuntu 22.04 - 5.15.0-84-custom-arm64 - 1.3.238

1 System - 54 Benchmark Results

ARMv8 Neoverse-N1 - Amazon EC2 r6g.xlarge - Amazon Device 0200

Ubuntu 22.04 - 5.15.0-84-custom-arm64 - 1.3.238

1 System - 50 Benchmark Results

ARMv8 Neoverse-N1 - Amazon EC2 r6g.xlarge - Amazon Device 0200

Ubuntu 22.04 - 5.15.0-84-custom-arm64 - 1.3.238

1 System - 50 Benchmark Results

ARMv8 Neoverse-N1 - Amazon EC2 r6g.xlarge - Amazon Device 0200

Ubuntu 22.04 - 5.15.0-84-custom-arm64 - 1.3.238

1 System - 50 Benchmark Results

ARMv8 Neoverse-N1 - Amazon EC2 r6g.xlarge - Amazon Device 0200

Ubuntu 22.04 - 5.15.0-84-custom-arm64 - 1.3.238

1 System - 61 Benchmark Results

Intel Xeon Platinum 8375C - Amazon EC2 r6i.xlarge - Intel 440FX 82441FX PMC

Ubuntu 22.04 - 5.15.0-84-custom - 1.3.238

1 System - 55 Benchmark Results

Intel Xeon Platinum 8375C - Amazon EC2 r6i.xlarge - Intel 440FX 82441FX PMC

Ubuntu 22.04 - 5.15.0-84-custom - 1.3.238

1 System - 54 Benchmark Results

Intel Xeon Platinum 8375C - Amazon EC2 r6i.xlarge - Intel 440FX 82441FX PMC

Ubuntu 22.04 - 5.15.0-84-custom - 1.3.238

1 System - 50 Benchmark Results

Intel Xeon Platinum 8375C - Amazon EC2 r6i.xlarge - Intel 440FX 82441FX PMC

Ubuntu 22.04 - 5.15.0-84-custom - 1.3.238

1 System - 50 Benchmark Results

Intel Xeon Platinum 8375C - Amazon EC2 r6i.xlarge - Intel 440FX 82441FX PMC

Ubuntu 22.04 - 5.15.0-84-custom - 1.3.238

1 System - 50 Benchmark Results

Intel Xeon Platinum 8375C - Amazon EC2 r6i.xlarge - Intel 440FX 82441FX PMC

Ubuntu 22.04 - 5.15.0-84-custom - 1.3.238

1 System - 50 Benchmark Results

Intel Xeon Platinum 8375C - Amazon EC2 r6i.xlarge - Intel 440FX 82441FX PMC

Ubuntu 22.04 - 5.15.0-84-custom - 1.3.238

1 System - 50 Benchmark Results

ARMv8 Neoverse-N1 - Amazon EC2 r6g.xlarge - Amazon Device 0200

Ubuntu 22.04 - 5.15.0-84-custom-arm64 - 1.3.238

Most Popular Test Results

OpenBenchmarking.org Results Compare

2 Systems - 927 Benchmark Results

Intel Celeron N3160 - SECO UDOO x86 - Intel Atom

Debian 9.0 - 4.9.0-3-amd64 - LXDE 0.9.3

5 Systems - 87 Benchmark Results

ARMv7 rev 1 - Rockchip - 2048MB

Ubuntu 16.04 - 4.4.66-rockchip - Xfce 4.12

1 System - 88 Benchmark Results

AArch64 rev 3 - HiKey Development Board - 2048MB

Debian 8.7 - 3.18.0-linaro-hikey - X Server 1.16.4

6 Systems - 1421 Benchmark Results

Unknown - Marvell Armada 3720 Board - 2048MB

Ubuntu 16.04 - 4.4.52-armada-17.06.2-g12feccb - GCC 5.4.0 20160609

2 Systems - 7 Benchmark Results

ARMv8 Cortex-A72 - BCM2835 Raspberry Pi 4 Model B Rev 1.4 - 8GB

Debian 10 - 5.4.42-v8+ - X Server 1.20.4

1 System - 1004 Benchmark Results

SiFive RISC-V - FriendlyElec NanoPC-T4 - Rockchip RK3399

Ubuntu 18.04 - 4.4.138 - LXDE 0.9.3

2 Systems - 178 Benchmark Results

AMD Ryzen Threadripper 1950X 16-Core - Gigabyte X399 AORUS Gaming 7 - AMD Family 17h

Ubuntu 18.04 - 4.15.2-041502-generic - GNOME Shell 3.26.2

3 Systems - 182 Benchmark Results

AMD Ryzen Threadripper 1950X 16-Core - Gigabyte X399 AORUS Gaming 7 - AMD Family 17h

Ubuntu 18.04 - 4.15.2-041502-generic - GNOME Shell 3.26.2

3 Systems - 9 Benchmark Results

Intel Xeon E5620 - 10240MB - 40GB

Debian unstable - 4.14.0-3-amd64 - GCC 7.2.0

2 Systems - 6 Benchmark Results

Unknown - NationalChip gx6605s - 57MB

Buildroot 2018.02-git - 4.9.56 - GNOME Shell

1 System - 62 Benchmark Results

ICT Loongson-3A R3 - Unknown - AMD RS780 + SB7x0

Loongnix 1.0 - 3.10.84-16.fc21.loongson.mips64el - MATE 1.8.1

2 Systems - 601 Benchmark Results

2 x Intel Xeon E5-2690 v4 - Intel S2600WTT v.......... - Intel Xeon E7 v4

Debian 9.4 - 4.9.0-6-amd64 - GCC 6.3.0 20170516 + Clang 3.8.1-24

1 System - 748 Benchmark Results

Intel Core i7-7700K - MSI Z270 GAMING M7 - Intel Intel Kaby Lake + Z270

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

Find More Test Results