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

18 March 2023

Test Maintainer

Michael Larabel 

Test Type

System

Average Install Time

5 Minutes

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.025K10K15K20K25K
* 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 18 March 2024.
Random Read20.2%Random Fill Sync7.0%Read Random Write Random19.0%Update Random18.5%Sequential Fill6.9%Read While Writing20.6%Random Fill7.8%Test Option PopularityOpenBenchmarking.org

Revision History

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 8.0

Test: Read While Writing

OpenBenchmarking.org metrics for this test profile configuration based on 624 public results since 18 March 2023 with the latest data as of 10 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
12
20754266 +/- 2961931
98th
22
17368242 +/- 1795839
93rd
9
12962308 +/- 1922561
91st
8
11302976 +/- 374165
90th
5
11097203 +/- 351464
89th
15
10206020 +/- 822646
85th
15
9463754 +/- 813459
81st
11
8162454 +/- 530887
79th
9
7900680 +/- 402836
79th
12
7871251 +/- 426117
76th
3
7346188 +/- 139754
76th
7
7259534 +/- 559439
Mid-Tier
75th
< 7113226
74th
3
6932948 +/- 124668
72nd
3
6608125 +/- 66097
71st
6
6177536 +/- 160345
69th
5
5824175 +/- 43352
69th
4
5689154 +/- 139695
67th
4
4892840 +/- 20046
66th
3
4817026 +/- 16500
66th
3
4737456 +/- 55616
62nd
5
4355825 +/- 78987
62nd
5
4302056 +/- 396319
60th
5
4281337 +/- 105243
60th
4
4272394 +/- 239478
58th
23
4163985 +/- 203646
58th
17
4123186 +/- 174938
53rd
3
3556421 +/- 152775
53rd
5
3520358 +/- 117705
51st
4
3399310 +/- 43747
Median
50th
3389791
49th
10
3314303 +/- 154447
49th
19
3310621 +/- 142450
49th
4
3309326 +/- 20028
45th
15
3165163 +/- 160157
45th
3
3110243 +/- 12410
39th
16
2773357 +/- 232930
38th
5
2687747 +/- 50013
38th
11
2667647 +/- 223396
38th
9
2631283 +/- 229549
35th
4
2326689 +/- 23359
35th
3
2326096 +/- 53027
33rd
9
2279634 +/- 80298
33rd
17
2271483 +/- 337396
30th
3
2100520 +/- 43200
28th
11
2027899 +/- 141954
28th
6
1941333 +/- 79415
28th
4
1940956 +/- 10446
26th
8
1845710 +/- 69696
Low-Tier
25th
< 1785429
24th
3
1741916 +/- 16834
23rd
7
1710227 +/- 14200
21st
4
1616545 +/- 11618
19th
7
1588205 +/- 41060
18th
11
1567346 +/- 102564
17th
5
1469121 +/- 70984
17th
5
1440534 +/- 78957
15th
6
1387296 +/- 165902
14th
5
1303328 +/- 19896
13th
5
1185109 +/- 10678
13th
3
1116428 +/- 9877
12th
3
1060403 +/- 23416
11th
6
949550 +/- 13684
10th
3
907970 +/- 27092
9th
3
813952 +/- 87661
9th
3
769489 +/- 14669
8th
3
736527 +/- 24794
7th
6
683719 +/- 50835
6th
3
639417 +/- 9044
6th
3
624507 +/- 23280
5th
3
569896 +/- 8799
2nd
4
254465 +/- 33836
OpenBenchmarking.orgDistribution Of Public Results - Test: Read While Writing624 Results Range From 203740 To 25495005 Op/s203740709566121539217212182227044273287032386963744522425034847561745262000576782662736526779478728530477911308296956880278293086089814434103202601082608611331912118377381234356412849390133552161386104214366868148726941537852015884346163901721689599817401824179076501841347618919302194251281993095420436780209426062144843221954258224600842296591023471736239775622448338824989214254950401530456075

Based on OpenBenchmarking.org data, the selected test / test configuration (RocksDB 8.0 - Test: Read While Writing) 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: Read While WritingRun-Time48121620Min: 3 / Avg: 7.17 / Max: 16

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

OpenBenchmarking.orgPercent, Fewer Is BetterAverage Deviation Between RunsTest: Read While WritingDeviation3691215Min: 0 / Avg: 1.51 / Max: 10

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: Read While Writing4681214163248641283691215

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 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: 19 March 2023

This test profile binary relies on the shared libraries librocksdb.so.8, 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-A72 4-Core, ARMv8 Neoverse-N1 128-Core, ARMv8 Neoverse-V1 64-Core, ARMv8 Neoverse-V2 72-Core, Apple M2

Recent Test Results

OpenBenchmarking.org Results Compare

1 System - 10 Benchmark Results

AMD Ryzen 9 5950X 16-Core - Intel 440BX - Intel 440BX

Ubuntu 22.04 - 5.15.0-100-generic - 1.3.255

1 System - 4 Benchmark Results

AMD Ryzen 9 5950X 16-Core - Intel 440BX - Intel 440BX

Ubuntu 22.04 - 5.15.0-100-generic - 1.3.255

1 System - 91 Benchmark Results

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

Ubuntu 24.04 - 6.8.0-11-generic - GNOME Shell 45.3

4 Systems - 125 Benchmark Results

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

Ubuntu 23.10 - 6.5.0-17-generic - GCC 13.2.0

3 Systems - 125 Benchmark Results

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

Ubuntu 23.10 - 6.5.0-17-generic - GCC 13.2.0

1 System - 125 Benchmark Results

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

Ubuntu 23.10 - 6.5.0-17-generic - GCC 13.2.0

5 Systems - 587 Benchmark Results

AMD Ryzen 5 8600G - ASRock B650 Pro RS - AMD Device 14e8

Ubuntu 23.10 - 6.7.3-060703-generic - GNOME Shell 45.2

1 System - 370 Benchmark Results

4 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

8 Systems - 182 Benchmark Results

AMD Ryzen 5 7600X 6-Core - ASUS ROG CROSSHAIR X670E HERO - AMD Device 14d8

Ubuntu 22.04 - 6.0.0-060000rc7daily20221001-generic - GNOME Shell 42.4

7 Systems - 182 Benchmark Results

AMD Ryzen 5 7600X 6-Core - ASUS ROG CROSSHAIR X670E HERO - AMD Device 14d8

Ubuntu 22.04 - 6.0.0-060000rc7daily20221001-generic - GNOME Shell 42.4

1 System - 370 Benchmark Results

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

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

6 Systems - 173 Benchmark Results

AMD Ryzen 5 3600 6-Core - BIOSTAR B550MX/E PRO - AMD Starship

Debian 12 - 6.5.0-0.deb12.4-amd64 - GCC 12.2.0

5 Systems - 173 Benchmark Results

AMD Ryzen 5 7600X 6-Core - ASUS ROG CROSSHAIR X670E HERO - AMD Device 14d8

Ubuntu 22.04 - 6.0.0-060000rc7daily20221001-generic - GNOME Shell 42.4

1 System - 370 Benchmark Results

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

Oracle Linux Server 9.3 - 5.15.0-202.135.2.el9uek.x86_64 - GCC 11.4.1 20230605

1 System - 342 Benchmark Results

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

CentOS 7.9.2009 - 3.10.0-1160.105.1.el7.x86_64 - X Server

Most Popular Test Results

OpenBenchmarking.org Results Compare

3 Systems - 131 Benchmark Results

AMD Ryzen 7 5800X3D 8-Core - ASUS ROG CROSSHAIR VIII HERO - AMD Starship

Ubuntu 22.04 - 5.17.0-1019-oem - GNOME Shell 42.2

2 Systems - 608 Benchmark Results

4 Systems - 215 Benchmark Results

AMD EPYC 7343 16-Core - Supermicro H12SSL-i v1.02 - 8 x 64 GB DDR4-3200MT

AlmaLinux 9.1 - 5.14.0-162.12.1.el9_1.x86_64 - GCC 11.3.1 20220421

5 Systems - 203 Benchmark Results

AMD EPYC 9654 96-Core - AMD Titanite_4G - AMD Device 14a4

Ubuntu 23.04 - 5.19.0-21-generic - GNOME Shell 43.1

4 Systems - 132 Benchmark Results

2 x AMD EPYC 7773X 64-Core - AMD DAYTONA_X - AMD Starship

Ubuntu 22.04 - 6.2.0-phx - GNOME Shell 42.5

2 Systems - 111 Benchmark Results

AMD Ryzen 7 6800U - System76 Pangolin - AMD Device 14b5

Pop 22.04 - 6.2.6-76060206-generic - GNOME Shell 42.5

3 Systems - 231 Benchmark Results

2 x Intel Xeon Platinum 8380 - Intel M50CYP2SB2U - Intel Ice Lake IEH

Ubuntu 22.10 - 6.2.0-rc5-phx-dodt - GNOME Shell 43.0

2 Systems - 328 Benchmark Results

AMD Ryzen 9 3900XT 12-Core - MSI MEG X570 GODLIKE - AMD Starship

Ubuntu 22.04 - 5.15.0-53-generic - GNOME Shell 42.2

3 Systems - 237 Benchmark Results

AMD Ryzen 7 4800U - ASRock 4X4-4000 - AMD Renoir

Ubuntu 22.04 - 5.19.0-rc6-phx-retbleed - GNOME Shell 42.2

10 Systems - 272 Benchmark Results

AMD Ryzen 7 5800X3D 8-Core - Gigabyte X570 AORUS MASTER - AMD Starship

Debian - 6.4.0-1-amd64 - GNOME Shell 43.6

8 Systems - 271 Benchmark Results

AMD Ryzen 9 5900X 12-Core - ASUS ROG CROSSHAIR VIII HERO - AMD Starship

Ubuntu 22.04 - 5.19.0-46-generic - GNOME Shell 42.5

8 Systems - 271 Benchmark Results

AMD Ryzen 5 5600X 6-Core - ASUS ROG CROSSHAIR VIII HERO - AMD Starship

Ubuntu 22.04 - 5.19.0-46-generic - GNOME Shell 42.5

Find More Test Results