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

19 March 2024

Test Maintainer

Michael Larabel 

Test Type

System

Average Install Time

4 Minutes, 28 Seconds

Average Run Time

15 Minutes, 23 Seconds

Test Dependencies

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

Accolades

60k+ 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.122024.022024.045K10K15K20K25K
* 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 22 April 2024.
Sequential Fill9.6%Update Random14.4%Random Read14.4%Read Random Write Random14.4%Overwrite13.6%Read While Writing14.0%Random Fill Sync9.6%Random Fill10.0%Test Option PopularityOpenBenchmarking.org

Revision History

pts/rocksdb-1.6.0   [View Source]   Tue, 19 Mar 2024 16:51:58 GMT
Update against RocksDB 9.0 upstream.

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:

Facebook RocksDB 6.3.6

Test: Sequential Fill

OpenBenchmarking.org metrics for this test profile configuration based on 767 public results since 8 October 2019 with the latest data as of 27 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
3
1822445 +/- 11445
97th
31
1591476 +/- 117029
96th
14
1561444 +/- 108884
93rd
10
1493841 +/- 138319
92nd
23
1451773 +/- 101250
90th
4
1416433 +/- 174286
90th
4
1412272 +/- 22489
90th
4
1411469 +/- 149499
87th
8
1354164 +/- 58907
86th
6
1338952 +/- 50918
84th
16
1316234 +/- 177858
84th
8
1302901 +/- 13595
82nd
8
1280944 +/- 37474
82nd
6
1274511 +/- 25265
78th
23
1215298 +/- 93590
Mid-Tier
75th
< 1202172
72nd
10
1120270 +/- 136288
70th
3
1059894 +/- 57566
70th
7
1048219 +/- 68186
67th
5
1019362 +/- 13396
65th
5
981568 +/- 64983
63rd
4
924980 +/- 12097
62nd
5
913538 +/- 84191
61st
13
898970 +/- 53931
61st
4
894678 +/- 21408
60th
7
865547 +/- 105887
59th
4
859661 +/- 383
57th
6
795944 +/- 20713
54th
7
735788 +/- 39489
53rd
5
716397 +/- 94655
53rd
8
713701 +/- 8166
52nd
3
706451 +/- 9553
Median
50th
694773
50th
8
676563 +/- 67733
49th
6
663438 +/- 55044
47th
6
618608 +/- 67639
46th
4
607229 +/- 65751
43rd
6
525849 +/- 48330
42nd
6
488751 +/- 60037
31st
5
339239 +/- 14281
31st
17
337823 +/- 37997
Low-Tier
25th
< 315568
25th
20
315200 +/- 11814
24th
5
302355 +/- 19250
20th
3
272183 +/- 1734
19th
13
264143 +/- 24835
19th
4
260553 +/- 10999
18th
3
251032 +/- 22528
13th
29
192828 +/- 2562
8th
9
182765 +/- 8792
7th
3
175208 +/- 42
3rd
3
50650 +/- 212
OpenBenchmarking.orgDistribution Of Public Results - Test: Sequential Fill767 Results Range From 26490 To 2251915 Op/s26490709991155081600172045262490352935443380533825624270714715805160895605986051076496166941257386347831438276528721619166709611791005688105019710947061139215118372412282331272742131725113617601406269145077814952871539796158430516288141673323171783217623411806850185135918958681940377198488620293952073904211841321629222207431225194020406080100

Based on OpenBenchmarking.org data, the selected test / test configuration (Facebook RocksDB 6.3.6 - Test: Sequential Fill) has an average run-time of 8 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: Sequential FillRun-Time918273645Min: 1 / Avg: 8.05 / Max: 43

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

OpenBenchmarking.orgPercent, Fewer Is BetterAverage Deviation Between RunsTest: Sequential FillDeviation48121620Min: 0 / Avg: 1.18 / Max: 14

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 BaseRocksDB CPU Core ScalingTest: Sequential Fill468162432640.37920.75841.13761.51681.896

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 VPERMD VPSLLVD 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: 6 April 2024

This test profile binary relies on the shared libraries librocksdb.so.9, 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)
IBM Z
s390x
(Many Processors)
ARMv8 64-bit
aarch64
Ampere eMAG ARMv8 32-Core

Recent Test Results

OpenBenchmarking.org Results Compare

19 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

18 Systems - 35 Benchmark Results

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

Ubuntu 18.04 - 4.15.0-88-generic - ext4

17 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

15 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

16 Systems - 35 Benchmark Results

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

Ubuntu 18.04 - 4.15.0-88-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 - 4.15.0-88-generic - ext4

Find More Test Results