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

1 Second

Average Run Time

7 Minutes, 29 Seconds

Test Dependencies

C/C++ Compiler Toolchain

Accolades

300k+ Downloads + 10k+ Public Benchmark Results

Supported Platforms


Public Result UploadsTest Completions*Reported Installs*OpenBenchmarking.orgEventsCacheBench Popularity Statisticspts/cachebench2011.032011.072011.112012.032012.072012.112013.032013.072013.112014.032014.072014.112015.032015.072015.112016.032016.072016.112017.032017.072017.112018.032018.072018.112019.032019.072019.112020.032020.072020.112021.03140K280K420K560K700K
* 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.
Data current as of Sat, 06 Mar 2021 20:17:40 GMT.
Read / Modify / Write43.0%Write26.4%Read30.7%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

Write Cache

OpenBenchmarking.org metrics for this test profile configuration based on 1,678 public results since 4 January 2017 with the latest data as of 5 March 2021.

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
# Matching Public Results
MB/s (Average)
100th
3
35056 +/- 295
100th
10
32122 +/- 502
100th
5
32108 +/- 4
98th
3
31612 +/- 2731
98th
29
31548 +/- 573
97th
4
31107 +/- 1189
96th
5
30567 +/- 1571
95th
9
29949 +/- 1052
93rd
3
28788 +/- 3156
92nd
8
28516 +/- 362
91st
6
28394 +/- 3000
90th
5
27561 +/- 2384
90th
3
27513 +/- 2
89th
5
27333 +/- 332
88th
3
27000 +/- 2319
88th
5
26771 +/- 518
87th
9
26468 +/- 274
86th
9
26153 +/- 2600
85th
8
26095 +/- 3409
84th
16
25918 +/- 590
84th
4
25911 +/- 291
84th
11
25681 +/- 320
83rd
7
25570 +/- 1171
80th
4
25053 +/- 598
79th
4
24849 +/- 4
78th
3
24504 +/- 1265
78th
4
24436 +/- 696
77th
4
24298 +/- 160
77th
7
24267 +/- 281
Mid-Tier
75th
< 23885
74th
4
23725 +/- 645
72nd
3
23055 +/- 499
72nd
3
22870 +/- 1511
72nd
3
22870 +/- 2568
70th
6
21975 +/- 1330
65th
9
20651 +/- 1603
58th
4
19000 +/- 2299
51st
4
16804 +/- 1475
51st
4
16698 +/- 29
Median
50th
16632
45th
4
14475 +/- 1624
44th
3
14231 +/- 446
43rd
10
13955 +/- 537
41st
3
13393 +/- 6
37th
4
12196 +/- 152
31st
3
11073 +/- 146
30th
5
10716 +/- 12
29th
3
10697 +/- 7
28th
6
10334 +/- 55
28th
4
10317 +/- 359
Low-Tier
25th
< 9839
25th
3
9823 +/- 903
23rd
3
9081 +/- 549
17th
6
7470 +/- 317
16th
3
7208 +/- 491
9th
3
5567 +/- 18
8th
3
5349 +/- 9
8th
23
5234 +/- 78
5th
4
3668 +/- 440
OpenBenchmarking.orgDistribution Of Public Results - Write Cache1678 Results Range From 1024 To 10850394868029 MB/s102421700789836543401579570665102369304786803159038810850394877291302047385070151905528241117360631797521953071077093217007897443423870868717752604094769116282110266645730381105637983255118461139347212635848036891342558213906142153162412315005050343401579478444557165845185477417374252649911816398675208189537208542519743454956422053318905859213229231607622112657262932290239136510236921254672724481859569442527159367161260613277737826851061875952764079597812284305300802929220264182463000999828463307997323868031589466488973237920059114331689346933133958668795483474840289765355381369998236327871010199371176051104163790733921063338697073310850394868074400800120016002000

Based on OpenBenchmarking.org data, the selected test / test configuration (CacheBench - Write Cache) has an average run-time of 4 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-Time510152025Min: 1 / Avg: 3.89 / Max: 19

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

OpenBenchmarking.orgPercent, Fewer Is BetterAverage Deviation Between RunsWrite CacheDeviation510152025Min: 0 / Avg: 0.58 / Max: 22

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 Cache246820240.43130.86261.29391.72522.1565

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: 30 January 2021

This test profile binary relies on the shared libraries librt.so.1, libc.so.6, libpthread.so.0.

Recent Test Results

OpenBenchmarking.org Results Compare

1 System - 22 Benchmark Results

Intel Xeon X3470 - ASUS P7P55 LX - Intel Core DMI

Linuxmint 20.1 - 5.4.0-66-generic - Xfce 4.14

1 System - 20 Benchmark Results

Loongson-3A R4 - EA EA-LS3B4000-7A1000 v1.0 - Loongson LLC Hyper Transport Bridge

JHLS 5.2 - 3.10.0-693.jhl.18.mips64el - X Server 1.20.4

2 Systems - 53 Benchmark Results

2 x Intel Xeon E5-2640 v4 - Supermicro X10DRG-O+-CPU v1.00 - Intel Xeon E7 v4

Ubuntu 18.04 - 5.4.0-66-generic - X Server

1 System - 22 Benchmark Results

Intel Xeon Platinum 8275CL - Amazon EC2 c5.2xlarge - Intel 440FX 82441FX PMC

Ubuntu 16.04 - 4.4.0-1121-aws - 1.0.61

1 System - 22 Benchmark Results

AMD Ryzen 9 3950X 16-Core - Gigabyte X570 AORUS MASTER - AMD Starship

Fedora 33 - 5.10.15-200.fc33.x86_64 - GNOME Shell 3.38.3

1 System - 120 Benchmark Results

2 x AMD EPYC 7V12 64-Core - Microsoft Virtual Machine - 434GB

Ubuntu 20.04 - 5.4.0-1039-azure - GNOME Shell 3.36.4

3 Systems - 22 Benchmark Results

AMD Eng Sample ZS1711E3VIVG5_24/17_N - Supermicro H11SSL-i v2.00 - AMD Starship

Debian GNU - 5.4.73-1-pve - gigabyte

1 System - 22 Benchmark Results

Intel Xeon Platinum 8275CL - Amazon EC2 c5.2xlarge - Intel 440FX 82441FX PMC

Ubuntu 20.04 - 5.4.0-1037-aws - GCC 9.3.0

1 System - 22 Benchmark Results

Intel Xeon Platinum 8275CL - Amazon EC2 c5.2xlarge - Intel 440FX 82441FX PMC

Ubuntu 18.04 - 5.4.0-1037-aws - GCC 7.5.0

1 System - 22 Benchmark Results

AMD Eng Sample ZS1711E3VIVG5_24/17_N - Supermicro H11SSL-i v2.00 - AMD Starship

Debian GNU - 5.4.73-1-pve - nouveau

1 System - 74 Benchmark Results

2 x AMD EPYC 7V12 64-Core - Microsoft Virtual Machine - 434GB

Ubuntu 20.04 - 5.4.0-1039-azure - GNOME Shell 3.36.4

1 System - 22 Benchmark Results

AMD Ryzen 9 5900X 12-Core - ASRock X570 Taichi - AMD Starship

Arch Linux - 5.10.8-arch1-1 - GCC 10.2.0

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

3 Systems - 22 Benchmark Results

AMD Eng Sample ZS1711E3VIVG5_24/17_N - Supermicro H11SSL-i v2.00 - AMD Starship

Debian GNU - 5.4.73-1-pve - gigabyte

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

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 - 68 Benchmark Results

AMD Opteron X3216 APU - HPE ProLiant MicroServer Gen10 - AMD Device 1576

Debian 9.1 - 4.13.4-041304-generic - GCC 6.3.0 20170516

1 System - 71 Benchmark Results

Intel Core i7-6600U - SLIMBOOK KATANA - Intel Sky Lake

neon 16.04 - 4.8.0-46-generic - KDE Frameworks 5

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 - 1444 Benchmark Results

AMD Ryzen 7 1800X Eight-Core - ASUS CROSSHAIR VI HERO - AMD 17h

Debian unstable - 5.3.0-rc2-csm - Xfce 4.12

Find More Test Results