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

5 Minutes, 5 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 14 April 2024.
Sequential Fill10.3%Update Random13.8%Random Read13.8%Read Random Write Random13.8%Overwrite13.8%Read While Writing13.4%Random Fill Sync10.3%Random Fill10.7%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 7.5.3

Test: Sequential Fill

OpenBenchmarking.org metrics for this test profile configuration based on 140 public results since 5 September 2022 with the latest data as of 13 March 2024.

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
1621179 +/- 1181
96th
3
1459775 +/- 51252
93rd
3
1381412 +/- 1360
89th
3
1313691 +/- 17320
86th
3
1288429 +/- 10097
83rd
3
1177973 +/- 16052
83rd
3
1177694 +/- 37347
79th
6
1064646 +/- 18831
76th
4
1057939 +/- 2532
Mid-Tier
75th
< 1054349
69th
3
1022357 +/- 10049
64th
3
990354 +/- 12388
60th
3
941632 +/- 105658
56th
3
857804 +/- 16074
53rd
3
793741 +/- 28794
51st
3
768977 +/- 11793
Median
50th
761222
49th
3
752937 +/- 9056
44th
3
734852 +/- 4697
43rd
3
695419 +/- 8438
40th
5
668213 +/- 40895
37th
3
659284 +/- 6393
37th
3
657342 +/- 16573
34th
3
642235 +/- 8115
28th
4
582576 +/- 84332
Low-Tier
25th
< 520166
21st
3
437023 +/- 25043
19th
4
432567 +/- 682
14th
3
348651 +/- 766
9th
3
294916 +/- 1075
6th
10
276775 +/- 30810
OpenBenchmarking.orgDistribution Of Public Results - Test: Sequential Fill140 Results Range From 214460 To 2307862 Op/s214460256329298198340067381936423805465674507543549412591281633150675019716888758757800626842495884364926233968102100997110518401093709113557811774471219316126118513030541344923138679214286611470530151239915542681596137163800616798751721744176361318054821847351188922019310891972958201482720566962098565214043421823032224172226604123079103691215

Based on OpenBenchmarking.org data, the selected test / test configuration (Facebook RocksDB 7.5.3 - Test: Sequential Fill) has an average run-time of 12 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-Time1122334455Min: 1 / Avg: 12 / Max: 55

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

OpenBenchmarking.orgPercent, Fewer Is BetterAverage Deviation Between RunsTest: Sequential FillDeviation246810Min: 0 / Avg: 0.1 / Max: 1

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 Neoverse-N1 80-Core, Apple M1, Apple M2