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

Test: Random Read

OpenBenchmarking.org metrics for this test profile configuration based on 1,086 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
10
905964463 +/- 31470957
100th
18
671660546 +/- 8798070
98th
12
594442839 +/- 13144346
98th
3
545846465 +/- 774191
97th
3
492225539 +/- 4823930
96th
19
452689218 +/- 27139764
95th
12
430699835 +/- 1770166
94th
3
394885877 +/- 13311821
93rd
5
364679121 +/- 488564
93rd
4
362656232 +/- 5218659
93rd
7
362169393 +/- 12879182
92nd
10
339968351 +/- 5813100
92nd
4
336150743 +/- 1001219
91st
3
324974162 +/- 12762091
91st
5
311765608 +/- 6453698
90th
11
301728887 +/- 6313104
89th
15
276695961 +/- 4248230
87th
3
250005573 +/- 121078
86th
9
246484782 +/- 3693844
85th
8
244446481 +/- 7269385
85th
21
241482138 +/- 5366840
84th
7
238242965 +/- 5477341
83rd
7
236076316 +/- 9122948
82nd
5
224260430 +/- 3485969
82nd
10
219461476 +/- 3548715
79th
24
203864961 +/- 9170738
79th
10
203614556 +/- 12029592
77th
3
189689884 +/- 7402673
Mid-Tier
75th
< 185095008
75th
3
183945118 +/- 212260
74th
31
183321566 +/- 4791028
73rd
9
181708744 +/- 708325
72nd
10
174233221 +/- 11853395
72nd
22
173108261 +/- 9375670
71st
3
168963133 +/- 28956
69th
7
162747550 +/- 3628934
69th
3
157340757 +/- 2672295
67th
12
144807925 +/- 2464576
67th
4
144256343 +/- 4332466
66th
13
141806713 +/- 3478401
65th
8
140804510 +/- 7555761
64th
6
133074592 +/- 5823208
63rd
10
130200136 +/- 9781416
63rd
14
128194950 +/- 3048834
63rd
10
126228940 +/- 7320881
62nd
4
121897994 +/- 2419443
61st
3
121049846 +/- 837535
60th
7
119864584 +/- 2690494
59th
6
118532945 +/- 6731507
58th
3
117516669 +/- 2465455
58th
8
116806584 +/- 3985206
58th
4
116089944 +/- 3282252
57th
4
113199323 +/- 5246405
57th
3
112210744 +/- 2045481
56th
5
108651965
56th
8
108531903 +/- 7913655
56th
10
106510288 +/- 8659423
52nd
35
97012976 +/- 5029403
52nd
10
95882926 +/- 2098946
Median
50th
93449392
49th
17
90170626 +/- 2845538
48th
9
86788830 +/- 8038601
47th
3
81672810 +/- 817534
47th
14
81427601 +/- 556474
45th
3
78437011 +/- 264213
44th
8
76242472 +/- 1709488
43rd
12
73615445 +/- 4221421
42nd
3
72698502 +/- 460428
41st
6
72046737 +/- 1355297
41st
25
70844842 +/- 3183046
40th
10
69076014 +/- 6163454
38th
19
66088920 +/- 5113089
37th
3
64018951 +/- 2306610
36th
10
62124332 +/- 3003807
35th
6
60566667 +/- 2504618
34th
3
58270405 +/- 346570
33rd
8
54130650 +/- 4024055
32nd
4
51642008 +/- 67292
30th
6
47855004 +/- 199836
30th
4
47601630 +/- 136241
30th
3
46605248 +/- 3836333
29th
10
44582568 +/- 4144387
29th
10
43672861 +/- 3855410
29th
6
43210359 +/- 665758
28th
4
42265189 +/- 329224
26th
5
39008121 +/- 1166239
Low-Tier
25th
< 36921889
25th
4
36857805 +/- 417892
25th
3
36665774 +/- 752232
25th
10
36490429 +/- 2887637
24th
4
34906213 +/- 455902
24th
3
33814185 +/- 362693
22nd
8
33248840 +/- 1346951
22nd
12
31771099 +/- 1333315
20th
5
24307522 +/- 819512
19th
5
22371011 +/- 148500
18th
13
21524854 +/- 646510
17th
5
20923470 +/- 43180
15th
4
18884367 +/- 202329
13th
3
15437152 +/- 1223089
6th
3
9942160 +/- 109818
3rd
6
5925178 +/- 287291
2nd
5
921327 +/- 11475
OpenBenchmarking.orgDistribution Of Public Results - Test: Random Read1086 Results Range From 905632 To 937008430 Op/s9056321962768838349744570718007579385694515912113237968131960024150682080169404136188126192206848248225570304244292360263014416281736472300458528319180584337902640356624696375346752394068808412790864431512920450234976468957032487679088506401144525123200543845256562567312581289368600011424618733480637455536656177592674899648693621704712343760731065816749787872768509928787231984805954040824676096843398152862120208880842264899564320918286376937008432306090120150

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

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

OpenBenchmarking.orgPercent, Fewer Is BetterAverage Deviation Between RunsTest: Random ReadDeviation246810Min: 0 / Avg: 0.71 / 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 Read46812161824324864128510152025

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
ARMv8, Ampere Altra ARMv8 Neoverse-N1 160-Core, Ampere eMAG ARMv8 32-Core