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, 24 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.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 28 February 2024.
Random Read20.2%Random Fill Sync7.2%Read Random Write Random18.8%Update Random18.3%Sequential Fill7.1%Read While Writing20.5%Random Fill8.0%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 606 public results since 18 March 2023 with the latest data as of 25 February 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
15
16942723 +/- 1451210
94th
9
12962308 +/- 1922561
92nd
8
11302976 +/- 374165
91st
5
11097203 +/- 351464
90th
15
10206020 +/- 822646
87th
4
9677961 +/- 723011
83rd
11
8162454 +/- 530887
82nd
9
7900680 +/- 402836
81st
12
7871251 +/- 426117
78th
3
7346188 +/- 139754
78th
7
7259534 +/- 559439
76th
3
6932948 +/- 124668
Mid-Tier
75th
< 6696961
75th
3
6608125 +/- 66097
73rd
6
6177536 +/- 160345
71st
5
5824175 +/- 43352
71st
4
5689154 +/- 139695
69th
4
4892840 +/- 20046
68th
3
4817026 +/- 16500
68th
3
4737456 +/- 55616
64th
5
4355825 +/- 78987
63rd
5
4302056 +/- 396319
62nd
5
4281337 +/- 105243
62nd
4
4272394 +/- 239478
60th
23
4163985 +/- 203646
59th
17
4123186 +/- 174938
54th
3
3556421 +/- 152775
54th
5
3520358 +/- 117705
52nd
4
3399310 +/- 43747
Median
50th
3323159
50th
10
3314303 +/- 154447
50th
19
3310621 +/- 142450
50th
4
3309326 +/- 20028
47th
15
3165163 +/- 160157
46th
3
3110243 +/- 12410
40th
16
2773357 +/- 232930
39th
5
2687747 +/- 50013
39th
11
2667647 +/- 223396
39th
9
2631283 +/- 229549
36th
4
2326689 +/- 23359
36th
3
2326096 +/- 53027
34th
9
2279634 +/- 80298
34th
17
2271483 +/- 337396
31st
3
2100520 +/- 43200
29th
11
2027899 +/- 141954
28th
6
1941333 +/- 79415
28th
4
1940956 +/- 10446
27th
8
1845710 +/- 69696
Low-Tier
25th
< 1774161
25th
3
1741916 +/- 16834
24th
7
1710227 +/- 14200
22nd
4
1616545 +/- 11618
20th
7
1588205 +/- 41060
19th
11
1567346 +/- 102564
18th
5
1469121 +/- 70984
17th
5
1440534 +/- 78957
16th
6
1387296 +/- 165902
14th
5
1303328 +/- 19896
14th
5
1185109 +/- 10678
13th
3
1116428 +/- 9877
12th
3
1060403 +/- 23416
12th
6
949550 +/- 13684
11th
3
907970 +/- 27092
10th
3
813952 +/- 87661
9th
3
769489 +/- 14669
8th
3
736527 +/- 24794
8th
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 Writing605 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.04 / Max: 16

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

OpenBenchmarking.orgPercent, Fewer Is BetterAverage Deviation Between RunsTest: Read While WritingDeviation3691215Min: 0 / Avg: 1.42 / 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

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 3600 6-Core - BIOSTAR B550MX/E PRO - AMD Starship

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

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 7600X 6-Core - ASUS ROG CROSSHAIR X670E HERO - AMD Device 14d8

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

5 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

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

2 Systems - 36 Benchmark Results

AMD EPYC 7R13 48-Core - Supermicro H12SSL-I v1.02 - AMD Starship

EndeavourOS rolling - 6.7.0-zen3-1-zen - Xfce 4.18

6 Systems - 260 Benchmark Results

AMD Ryzen 9 7950X 16-Core - ASRock B650E PG Riptide WiFi - AMD Device 14d8

Fedora Linux 39 - 6.6.12-200.fc39.x86_64 - GNOME Shell 45.3

5 Systems - 260 Benchmark Results

AMD Ryzen 9 7950X 16-Core - ASRock B650E PG Riptide WiFi - AMD Device 14d8

cachyos rolling - 6.7.0-3-cachyos - KDE Plasma 5.27.10

2 Systems - 21 Benchmark Results

AMD EPYC 7R13 48-Core - Supermicro H12SSL-I v1.02 - AMD Starship

EndeavourOS rolling - 6.7.0-zen3-1-zen - Xfce 4.18

2 Systems - 16 Benchmark Results

AMD EPYC 7R13 48-Core - Supermicro H12SSL-I v1.02 - AMD Starship

EndeavourOS rolling - 6.7.0-zen3-1-zen - Xfce 4.18

2 Systems - 15 Benchmark Results

AMD EPYC 7R13 48-Core - Supermicro H12SSL-I v1.02 - AMD Starship

EndeavourOS rolling - 6.7.0-zen3-1-zen - Xfce 4.18

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

5 Systems - 203 Benchmark Results

2 x 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 - 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

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

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

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

3 Systems - 133 Benchmark Results

AMD Ryzen 7 PRO 5850U - HP 8A78 - AMD Renoir

Pop 22.04 - 5.19.0-76051900-generic - GNOME Shell 42.3.1

Find More Test Results