RocksDB

This is a benchmark of Meta/Facebook's RocksDB as an embeddable persistent key-value store for fast storage based on Google's LevelDB.

To run this test with the Phoronix Test Suite, the basic command is: phoronix-test-suite benchmark rocksdb.

Project Site

rocksdb.org

Source Repository

github.com

Test Created

8 October 2019

Last Updated

18 March 2023

Test Maintainer

Michael Larabel 

Test Type

System

Average Install Time

6 Minutes, 25 Seconds

Average Run Time

15 Minutes, 23 Seconds

Test Dependencies

C/C++ Compiler Toolchain + BC + GFlags + CMake + Snappy Compression

Accolades

50k+ Downloads

Supported Platforms


Public Result Uploads *Reported Installs **Reported Test Completions **Test Profile Page Views ***OpenBenchmarking.orgEventsRocksDB Popularity Statisticspts/rocksdb2019.102019.122020.022020.042020.062020.082020.102020.122021.022021.042021.062021.082021.102021.122022.022022.042022.062022.082022.102022.122023.022023.042023.062023.082023.102023.125K10K15K20K25K
* 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 3 December 2023.
Random Read19.2%Random Fill Sync8.3%Read Random Write Random18.3%Update Random17.6%Sequential Fill8.2%Read While Writing19.0%Random Fill9.4%Test Option PopularityOpenBenchmarking.org

Revision History

pts/rocksdb-1.5.0   [View Source]   Sat, 18 Mar 2023 09:04:43 GMT
Update against RocksDB 8.0 for GCC 13 compiler compatibility.

pts/rocksdb-1.4.0   [View Source]   Wed, 18 Jan 2023 08:30:14 GMT
Update against upstream RocksDB 7.9.2 to fix compiler build issues.

pts/rocksdb-1.3.0   [View Source]   Mon, 05 Sep 2022 21:04:18 GMT
Update against RocksDB 7.5.3 upstream and address GCC 12 build issues.

pts/rocksdb-1.2.0   [View Source]   Sat, 12 Mar 2022 08:03:37 GMT
Update against RocksDB 7.0.1 upstream.

pts/rocksdb-1.1.0   [View Source]   Tue, 13 Jul 2021 15:33:50 GMT
Update against upstream RocksDB 6.22.1.

pts/rocksdb-1.0.2   [View Source]   Wed, 09 Oct 2019 07:43:51 GMT
Satisfy previous version to work on both older and newer compilers

pts/rocksdb-1.0.1   [View Source]   Wed, 09 Oct 2019 07:28:01 GMT
CXXFLAGS update for allowing to build on GCC9/Clang8

pts/rocksdb-1.0.0   [View Source]   Tue, 08 Oct 2019 18:48:16 GMT
Initial commit of Facebook RocksDB benchmark.

Suites Using This Test

Database Test Suite

Server

Common Kernel Benchmarks


Performance Metrics

Analyze Test Configuration:

RocksDB 8.0

Test: Random Read

OpenBenchmarking.org metrics for this test profile configuration based on 440 public results since 18 March 2023 with the latest data as of 28 November 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
Op/s (Average)
100th
4
1251911829 +/- 87512860
99th
5
995174645 +/- 60087624
94th
7
611161404 +/- 388961
89th
3
457000294 +/- 2916737
88th
7
453008586 +/- 1263395
86th
7
442047786 +/- 9893587
82nd
12
401480123 +/- 41248796
81st
5
382667308 +/- 20192015
80th
3
376983415
77th
10
342132937 +/- 45388151
76th
3
287165838 +/- 369941
Mid-Tier
75th
< 284642250
74th
6
271477098 +/- 2543285
73rd
3
264403227 +/- 32977753
71st
3
242943253 +/- 3847209
70th
3
213244145 +/- 2038117
68th
6
195506446 +/- 2551009
68th
3
179716344 +/- 6650506
65th
3
160798775 +/- 15019127
63rd
3
146478218 +/- 1284596
60th
3
139904768 +/- 4877245
60th
13
137036347 +/- 3748894
57th
3
123006903 +/- 4572892
56th
4
115019931 +/- 219144
53rd
15
110446610 +/- 2966268
53rd
3
106929036 +/- 818412
51st
11
102205978 +/- 2815039
Median
50th
101892351
47th
10
96963587 +/- 1528946
44th
3
86042027 +/- 3416003
42nd
4
75815372 +/- 517716
39th
3
72159981 +/- 723015
39th
5
71624985 +/- 30487
36th
3
69593548 +/- 74223
36th
8
69388369 +/- 1561183
34th
11
56570782 +/- 808522
31st
4
53952253 +/- 3892465
30th
4
53274886 +/- 328162
30th
3
51464348 +/- 409802
28th
9
50191516 +/- 2943233
28th
4
49495784 +/- 181866
Low-Tier
25th
< 47892274
23rd
3
38003677 +/- 105516
21st
5
36492285 +/- 954697
19th
7
34928263 +/- 364903
19th
7
34738619 +/- 1785601
16th
4
33360097 +/- 580980
16th
3
33232985 +/- 4026891
14th
3
29197360 +/- 343661
13th
5
24721439 +/- 229898
13th
3
24537196 +/- 2940957
12th
3
22739892 +/- 55733
10th
3
21989636 +/- 329586
9th
3
17886725 +/- 152656
6th
3
15905603 +/- 153247
5th
6
15657805 +/- 1460473
4th
3
13168190 +/- 98167
3rd
3
10625273 +/- 1215691
2nd
4
5780720 +/- 701803
OpenBenchmarking.orgDistribution Of Public Results - Test: Random Read440 Results Range From 4752830 To 1383181119 Op/s47528303232139659889962874585281150270941425956601701642261977327922253013582528699242804384903080070563355756223631441883907127544182813204458498864734184525009870185285555845561241505836927166112612826388298486663984146939669807215355467491041127766726788042412448318098108593783768869469429145155089420840749696526409972212061024789772105235833810799269041107495470113506403611626326021190201168121776973412453383001272906866130047543213280439981355612564138318113020406080100

Based on OpenBenchmarking.org data, the selected test / test configuration (RocksDB 8.0 - Test: Random Read) has an average run-time of 5 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: Random ReadRun-Time48121620Min: 3 / Avg: 4.73 / Max: 15

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

OpenBenchmarking.orgPercent, Fewer Is BetterAverage Deviation Between RunsTest: Random ReadDeviation246810Min: 0 / Avg: 0.2 / Max: 4

Does It Scale Well With Increasing Cores?

Yes, based on the automated analysis of the collected public benchmark data, this test / test settings does 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 BaseRocksDB CPU Core ScalingTest: Random Read46812324864128510152025

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
Used by default on supported hardware.
Found on Intel processors since Sandy Bridge (2011).
Found on AMD processors since Bulldozer (2011).

 
VZEROUPPER VPERMILPD VBROADCASTSD
Used by default on supported hardware.
Found on Intel processors since Haswell (2013).
Found on AMD processors since Excavator (2016).

 
VPBROADCASTQ VINSERTI128 VPBROADCASTB VPBROADCASTW VPERMQ VEXTRACTI128 VPGATHERQQ VPBROADCASTD VPSRLVQ
FMA (FMA)
Used by default on supported hardware.
Found on Intel processors since Haswell (2013).
Found on AMD processors since Bulldozer (2011).

 
VFMADD132SD VFMADD231SD VFMADD213SD VFNMADD132SD VFMSUB132SD VFNMADD231SD
SSE 4.2 (SSE4_2)
Used by default on supported hardware.
Found on Intel processors since at least 2010.
Found on AMD processors since Bulldozer (2011).

 
POPCNT CRC32
Advanced Vector Extensions 512 (AVX512)
Used by default on supported hardware.
 
(ZMM REGISTER USE)
The test / benchmark does honor compiler flag changes.
Last automated analysis: 19 March 2023

This test profile binary relies on the shared libraries librocksdb.so.8, libgflags.so.2.2, libsnappy.so.1, libm.so.6, libc.so.6, libpthread.so.0.

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-A72 4-Core, ARMv8 Neoverse-N1 128-Core, ARMv8 Neoverse-V1 64-Core, Apple M2

Recent Test Results

OpenBenchmarking.org Results Compare

4 Systems - 35 Benchmark Results

8 x AMD EPYC - QEMU Standard PC - Intel 440FX 82441FX PMC

Ubuntu 22.04 - 5.15.0-88-generic - 1.3.238

2 Systems - 35 Benchmark Results

16 x AMD EPYC - QEMU Standard PC - Intel 440FX 82441FX PMC

Ubuntu 22.04 - 5.15.0-88-generic - 1.3.238

1 System - 35 Benchmark Results

4 x AMD EPYC - QEMU Standard PC - Intel 440FX 82441FX PMC

Ubuntu 22.04 - 5.15.0-88-generic - 1.3.238

19 Systems - 35 Benchmark Results

8 x AMD EPYC (with IBPB) - QEMU Standard PC - Intel 440FX- 82441FX PMC

Ubuntu 18.04 - 5.3.0-51-generic - ext4

1 System - 566 Benchmark Results

ARMv8 Cortex-A72 - BCM2835 Raspberry Pi 4 Model B Rev 1.5 - Broadcom BCM2711

Arch Linux ARM - 6.1.58-2-rpi-ARCH - GCC 12.1.0 + Clang 16.0.6

1 System - 7 Benchmark Results

AMD Ryzen 9 5950X 16-Core - ASUS TUF GAMING B550-PLUS WIFI II - AMD Starship

Fedora Linux 39 - 6.5.12-300.fc39.x86_64 - KDE Plasma 5.27.9

18 Systems - 35 Benchmark Results

4 x AMD EPYC (with IBPB) - QEMU Standard PC - Intel 440FX- 82441FX PMC

Ubuntu 18.04 - 5.3.0-51-generic - ext4

17 Systems - 35 Benchmark Results

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

Ubuntu 18.04 - 5.3.0-51-generic - ext4

15 Systems - 35 Benchmark Results

4 x AMD EPYC (with IBPB) - QEMU Standard PC - Intel 440FX- 82441FX PMC

Ubuntu 18.04 - 5.3.0-51-generic - ext4

1 System - 7 Benchmark Results

AMD EPYC 7R13 48-Core - Supermicro H12SSL-I v1.02 - AMD Starship

EndeavourOS rolling - 6.6.2-zen1-1-zen - Xfce 4.18

4 Systems - 350 Benchmark Results

AMD EPYC 8534P 64-Core - AMD Cinnabar - AMD Device 14a4

Ubuntu 23.10 - 6.5.0-5-generic - GNOME Shell 45.0

16 Systems - 35 Benchmark Results

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

Ubuntu 18.04 - 5.3.0-51-generic - ext4

15 Systems - 35 Benchmark Results

4 x Intel Xeon E312xx (Sandy Bridge IBRS update) - QEMU Standard PC - Intel 440FX- 82441FX PMC

Ubuntu 18.04 - 5.3.0-51-generic - ext4

1 System - 7 Benchmark Results

AMD EPYC 7R13 48-Core - Supermicro H12SSL-I v1.02 - AMD Starship

EndeavourOS rolling - 6.6.1-zen1-1-zen - Xfce 4.18

3 Systems - 513 Benchmark Results

AMD EPYC 8534P 64-Core - AMD Cinnabar - AMD Device 14a4

Ubuntu 23.10 - 6.5.0-5-generic - GNOME Shell 45.0

Most Popular Test Results

OpenBenchmarking.org Results Compare

3 Systems - 131 Benchmark Results

AMD Ryzen 7 5800X3D 8-Core - ASUS ROG CROSSHAIR VIII HERO - AMD Starship

Ubuntu 22.04 - 5.17.0-1019-oem - GNOME Shell 42.2

4 Systems - 215 Benchmark Results

AMD EPYC 7343 16-Core - Supermicro H12SSL-i v1.02 - 8 x 64 GB DDR4-3200MT

AlmaLinux 9.1 - 5.14.0-162.12.1.el9_1.x86_64 - GCC 11.3.1 20220421

2 Systems - 608 Benchmark Results

5 Systems - 203 Benchmark Results

AMD EPYC 9654 96-Core - AMD Titanite_4G - AMD Device 14a4

Ubuntu 23.04 - 5.19.0-21-generic - GNOME Shell 43.1

2 Systems - 111 Benchmark Results

AMD Ryzen 7 6800U - System76 Pangolin - AMD Device 14b5

Pop 22.04 - 6.2.6-76060206-generic - GNOME Shell 42.5

4 Systems - 92 Benchmark Results

AMD Ryzen 7 PRO 6850U - LENOVO 21CM0001US - AMD Device 14b5

Ubuntu 22.10 - 5.19.0-38-generic - GNOME Shell 43.1

2 Systems - 328 Benchmark Results

AMD Ryzen 9 3900XT 12-Core - MSI MEG X570 GODLIKE - AMD Starship

Ubuntu 22.04 - 5.15.0-53-generic - GNOME Shell 42.2

3 Systems - 231 Benchmark Results

2 x Intel Xeon Platinum 8380 - Intel M50CYP2SB2U - Intel Ice Lake IEH

Ubuntu 22.10 - 6.2.0-rc5-phx-dodt - GNOME Shell 43.0

4 Systems - 132 Benchmark Results

2 x AMD EPYC 7773X 64-Core - AMD DAYTONA_X - AMD Starship

Ubuntu 22.04 - 6.2.0-phx - GNOME Shell 42.5

3 Systems - 237 Benchmark Results

AMD Ryzen 7 4800U - ASRock 4X4-4000 - AMD Renoir

Ubuntu 22.04 - 5.19.0-rc6-phx-retbleed - GNOME Shell 42.2

Find More Test Results