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, 8 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.22.1

Test: Random Read

OpenBenchmarking.org metrics for this test profile configuration based on 313 public results since 13 July 2021 with the latest data as of 27 July 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
876293013 +/- 7258531
97th
15
632796922 +/- 17600493
91st
6
474033927 +/- 14542504
89th
8
430691894 +/- 2006381
86th
18
335986655 +/- 19923164
77th
9
253011694 +/- 7208173
Mid-Tier
75th
< 245874918
75th
3
238453736 +/- 3561704
73rd
6
233621781 +/- 2647916
72nd
3
225521123 +/- 8210935
70th
8
215576377 +/- 505942
67th
6
182432997 +/- 756751
64th
4
139040681 +/- 1421613
62nd
3
134922802 +/- 633955
60th
14
115455916 +/- 2783554
56th
5
107610629 +/- 2000493
55th
3
101894455 +/- 1350232
52nd
5
96641974 +/- 1872120
52nd
4
95754028 +/- 1128123
51st
3
95039610 +/- 1996212
51st
4
94307487 +/- 1910657
Median
50th
94296782
48th
4
77217845 +/- 1042987
47th
3
75330531 +/- 504251
45th
5
72743961 +/- 2512759
44th
3
65099496 +/- 437442
42nd
4
61598239 +/- 271366
41st
3
58091433 +/- 2096274
40th
3
51732491 +/- 670150
39th
3
48285411 +/- 475917
38th
3
45809720 +/- 404855
36th
3
41314808 +/- 139440
34th
3
37410047 +/- 447381
33rd
4
36584975 +/- 557017
32nd
3
34476991 +/- 344123
31st
3
31621312 +/- 42581
29th
9
28226402 +/- 557964
28th
3
27191933 +/- 177141
26th
4
26355814 +/- 171613
Low-Tier
25th
< 26207193
25th
3
24635324 +/- 425394
24th
4
23308421 +/- 538511
23rd
3
22156304 +/- 36187
21st
3
21432887 +/- 388125
20th
4
20896430 +/- 234438
18th
3
19895591 +/- 204936
17th
3
18400631 +/- 386453
16th
3
18079116 +/- 9093
15th
3
17688552 +/- 108699
14th
3
17567513 +/- 1602376
14th
3
16177188 +/- 397301
12th
3
15420335 +/- 34176
10th
3
14575059 +/- 520392
9th
3
13514823 +/- 316142
9th
4
13453365 +/- 1104078
8th
3
10747805 +/- 144296
5th
3
8521580 +/- 293768
2nd
6
5657887 +/- 645503
OpenBenchmarking.orgDistribution Of Public Results - Test: Random Read313 Results Range From 4371943 To 881850287 Op/s437194321921510394710775702064474570211921197781096693451272189121447684791623180461798676131974171802149667472325163142500658812676154482851650153027145823202641493378137163553632833729128503904624174080119844255615514431111184606606854782102524957598195133093865308589535484085205659580875835076546010572216186067886361563556537059226712554896888050567063546237239041907414537577590033247765528917941024588116520258292015928467511598643007268818502931428425670

Based on OpenBenchmarking.org data, the selected test / test configuration (Facebook RocksDB 6.22.1 - 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.57 / Max: 15

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

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

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 Read4681632642.775.548.3111.0813.85

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)
ARMv8 64-bit
aarch64
ARMv8 Cortex-A57 4-Core, ARMv8 Cortex-A72 4-Core, ARMv8 Neoverse-N1, ARMv8 Neoverse-N1 64-Core, ARMv8 Neoverse-N1 80-Core, Ampere Altra ARMv8 Neoverse-N1 160-Core, Ampere eMAG ARMv8 32-Core