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

3 Minutes, 20 Seconds

Average Run Time

15 Minutes, 23 Seconds

Test Dependencies

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

Accolades

70k+ 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.042024.065K10K15K20K25K
* 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 16 June 2024.
Sequential Fill6.6%Update Random12.5%Random Read20.8%Read Random Write Random14.2%Overwrite10.4%Read While Writing20.6%Random Fill Sync7.4%Random Fill7.6%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:

RocksDB 9.0

Test: Random Read

OpenBenchmarking.org metrics for this test profile configuration based on 312 public results since 19 March 2024 with the latest data as of 11 June 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
5
1169904950 +/- 76487348
96th
14
1080817101 +/- 33997084
93rd
3
645309483
90th
3
574749552
87th
7
525274958 +/- 280574
84th
4
488021687 +/- 1025232
79th
10
443790554 +/- 16476516
77th
10
417282819 +/- 59398786
77th
4
409272949
Mid-Tier
75th
< 405533173
75th
4
404644242 +/- 1026450
75th
4
402806981 +/- 3571266
68th
8
297436930 +/- 111812
66th
7
283347168 +/- 16058145
64th
7
263718603 +/- 2054877
59th
6
234378034 +/- 142378
56th
6
205289675 +/- 87497
53rd
4
156390843 +/- 105166
52nd
4
147081611 +/- 2788719
Median
50th
143723814
50th
4
137331328 +/- 1009884
48th
5
130798178 +/- 235045
43rd
3
123569947 +/- 1258808
39th
3
82539953 +/- 326973
38th
4
77554480 +/- 225403
37th
4
73608838 +/- 657507
35th
4
69397848 +/- 20812
31st
4
59276634 +/- 370295
30th
10
57478807 +/- 3644611
27th
8
52252200 +/- 5078900
26th
3
50508251 +/- 1403705
26th
4
50047524 +/- 410746
Low-Tier
25th
< 49697822
22nd
4
42291644 +/- 128844
19th
4
34884738 +/- 1790
19th
3
34108740 +/- 418456
18th
4
33872665 +/- 34976
16th
4
32253952 +/- 67538
15th
4
28914954 +/- 2557
14th
4
26730584 +/- 407617
11th
6
21142277 +/- 313785
10th
3
20785626 +/- 28445
8th
5
16380695 +/- 166082
6th
4
16045149 +/- 29765
5th
4
16018355 +/- 285643
3rd
4
12431780 +/- 53847
2nd
4
9576828 +/- 444213
OpenBenchmarking.orgDistribution Of Public Results - Test: Random Read310 Results Range From 9192128 To 1306721104 Op/s91921283514270861093288870438681129944481389450281648956081908461882167967682427473482686979282946485083205990883465496683725002483984508284244014084503519884763025685022531485282037285541543085801048886060554686320060486579566286839072087098577887358083687617589487877095288136601088396106888655612688915118489174624289434130089693635889953141681021264748104721532810731659081099116488112506706811510176481176968228120291880812288693881254819968128077054813067211281326395265

Based on OpenBenchmarking.org data, the selected test / test configuration (RocksDB 9.0 - Test: Random Read) has an average run-time of 4 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-Time3691215Min: 3 / Avg: 3.13 / Max: 10

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: Random ReadDeviation246810Min: 0 / Avg: 0.06 / Max: 2

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

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 128-Core, ARMv8 Neoverse-V2 72-Core

Recent Test Results

OpenBenchmarking.org Results Compare

1 System - 379 Benchmark Results

2 x Intel Xeon Gold 5118 - Cisco UCSB-B200-M5 - Intel Sky Lake-E DMI3 Registers

OracleServer 8.10 - 5.15.0-206.153.7.1.el8uek.x86_64 - GCC 10.3.1 20210422

1 System - 383 Benchmark Results

8 x Intel Xeon Gold 6240 - Intel 440BX - Intel 440BX

Oracle Linux Server 9.3 - 5.14.0-362.13.1.el9_3.x86_64 - GCC 11.4.1 20230605

22 Systems - 263 Benchmark Results

Intel Xeon Platinum 8490H - Quanta Cloud QuantaGrid D54Q-2U S6Q-MB-MPS - Intel Device 1bce

Ubuntu 24.04 - 6.9.0-060900rc3-generic - GCC 13.2.0

1 System - 383 Benchmark Results

8 x Intel Xeon Gold 6240 - Intel 440BX - Intel 440BX

Oracle Linux Server 9.3 - 5.14.0-362.24.1.0.1.el9_3.x86_64 - GCC 11.4.1 20230605

2 Systems - 160 Benchmark Results

Intel Xeon E3-1280 v5 - MSI Z170A SLI PLUS - Intel Xeon E3-1200 v5

Ubuntu 20.04 - 6.1.0-phx - GNOME Shell 3.36.9

1 System - 379 Benchmark Results

2 x Intel Xeon Gold 5118 - Cisco UCSB-B200-M5 - Intel Sky Lake-E DMI3 Registers

OracleServer 8.9 - 5.15.0-205.149.5.1.el8uek.x86_64 - GCC 10.3.1 20210422

1 System - 920 Benchmark Results

4 Systems - 2 Benchmark Results

AMD EPYC 7R13 - Amazon EC2 r6a.8xlarge - Intel 440FX 82441FX PMC

Ubuntu 22.04 - 6.5.0-1017-aws - 1.3.255

3 Systems - 2 Benchmark Results

Intel Xeon Gold 6455B - Amazon EC2 r7iz.8xlarge - Intel 440FX 82441FX PMC

Ubuntu 22.04 - 6.5.0-1017-aws - 1.3.255

2 Systems - 2 Benchmark Results

Intel Xeon Gold 6455B - Amazon EC2 r7iz.8xlarge - Intel 440FX 82441FX PMC

Ubuntu 22.04 - 6.5.0-1017-aws - 1.3.255

1 System - 2 Benchmark Results

Intel Xeon Gold 6455B - Amazon EC2 r7iz.8xlarge - Intel 440FX 82441FX PMC

Ubuntu 22.04 - 6.5.0-1017-aws - 1.3.255

1 System - 926 Benchmark Results

Intel Core i5-14500 - ASUS PRIME Z790-P WIFI - Intel Raptor Lake-S PCH

Ubuntu 24.04 - 6.8.0-31-generic - GNOME Shell 46.0

1 System - 371 Benchmark Results

2 x Intel Xeon Gold 5118 - Cisco UCSB-B200-M5 - Intel Sky Lake-E DMI3 Registers

OracleServer 8.9 - 5.15.0-202.135.2.el8uek.x86_64 - GCC 10.3.1 20210422

1 System - 371 Benchmark Results

4 x Intel Xeon Gold 6240 - Intel 440BX - Intel 440BX

Oracle Linux Server 9.3 - 5.14.0-362.24.1.0.1.el9_3.x86_64 - GCC 11.4.1 20230605

1 System - 371 Benchmark Results

4 x Intel Xeon Gold 6240 - Intel 440BX - Intel 440BX

OracleServer 8.9 - 4.18.0-513.24.1.el8_9.x86_64 - GCC 10.3.1 20210422

Most Popular Test Results

OpenBenchmarking.org Results Compare

3 Systems - 55 Benchmark Results

2 x AMD EPYC 9684X 96-Core - AMD Titanite_4G - AMD Device 14a4

Ubuntu 23.10 - 6.5.0-25-generic - GCC 13.2.0

2 Systems - 108 Benchmark Results

Intel Core i7-1065G7 - Dell 06CDVY - Intel Ice Lake-LP DRAM

Ubuntu 23.10 - 6.7.0-060700rc5-generic - GNOME Shell 45.1

2 Systems - 32 Benchmark Results

2 x INTEL XEON PLATINUM 8592+ - Quanta Cloud QuantaGrid D54Q-2U S6Q-MB-MPS - Intel Device 1bce

Ubuntu 23.10 - 6.6.0-rc5-phx-patched - GNOME Shell 45.0

2 Systems - 49 Benchmark Results

2 x AMD EPYC 9684X 96-Core - AMD Titanite_4G - AMD Device 14a4

Ubuntu 23.10 - 6.5.0-25-generic - GCC 13.2.0

2 Systems - 47 Benchmark Results

Intel Core i9-10980XE - ASRock X299 Steel Legend - Intel Sky Lake-E DMI3 Registers

Ubuntu 22.04 - 6.5.0-18-generic - GNOME Shell 42.2

2 Systems - 30 Benchmark Results

Intel Core i7-5960X - Gigabyte X99-UD4-CF - Intel Xeon E7 v3

Debian 12 - 6.1.0-11-amd64 - GCC 12.2.0

4 Systems - 158 Benchmark Results

AMD Ryzen Threadripper PRO 5965WX 24-Cores - ASUS Pro WS WRX80E-SAGE SE WIFI - AMD Starship

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

4 Systems - 9 Benchmark Results

AMD Ryzen 9 7950X 16-Core - ASUS ROG STRIX X670E-E GAMING WIFI - AMD Device 14d8

Ubuntu 23.10 - 6.7.0-060700-generic - GNOME Shell 45.2

4 Systems - 158 Benchmark Results

Intel Xeon E E-2488 - Supermicro Super Server X13SCL-F v0123456789 - Intel Device 7a27

Ubuntu 22.04 - 6.2.0-26-generic - GNOME Shell 42.9

4 Systems - 9 Benchmark Results

AMD Ryzen Threadripper 7980X 64-Cores - System76 Thelio Major - AMD Device 14a4

Ubuntu 23.10 - 6.5.0-25-generic - GNOME Shell 45.2

3 Systems - 9 Benchmark Results

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

Ubuntu 23.10 - 6.5.0-15-generic - GNOME Shell

4 Systems - 8 Benchmark Results

ARMv8 Neoverse-V2 - Quanta Cloud QuantaGrid S74G-2U 1S7GZ9Z0000 S7G MB - 1 x 480GB DRAM-6400MT

Ubuntu 22.04 - 6.5.0-1013-NVIDIA-64k - NVIDIA

2 Systems - 9 Benchmark Results

AMD EPYC 7F32 8-Core - ASRockRack EPYCD8 - AMD Starship

Debian 12 - 6.1.0-11-amd64 - X Server

2 Systems - 71 Benchmark Results

AMD Ryzen 7 PRO 6850U - LENOVO ThinkPad X13 Gen 3 21CM0001US - AMD 17h-19h PCIe Root Complex

Fedora Linux 39 - 6.5.7-300.fc39.x86_64 - GNOME Shell 45.0

Find More Test Results