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

6 Minutes, 26 Seconds

Average Run Time

15 Minutes, 23 Seconds

Test Dependencies

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

Accolades

50k+ 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.105K10K15K20K25K
* 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 27 November 2023.
Random Read19.2%Random Fill Sync8.3%Read Random Write Random18.3%Update Random17.6%Sequential Fill8.2%Read While Writing19.0%Random Fill9.4%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: Sequential Fill

OpenBenchmarking.org metrics for this test profile configuration based on 189 public results since 18 March 2023 with the latest data as of 28 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
4
1737375 +/- 7992
98th
3
1515818 +/- 12393
96th
3
1492265 +/- 6710
95th
3
1376447 +/- 2507
91st
4
1363758 +/- 10063
87th
4
1316211 +/- 3424
85th
3
1280492 +/- 23540
85th
3
1274904 +/- 7675
82nd
3
1200305 +/- 6840
80th
3
1163711 +/- 29792
76th
7
1115320 +/- 36846
Mid-Tier
75th
< 1072945
70th
4
997376 +/- 16412
68th
3
980745 +/- 10067
65th
4
946441 +/- 11099
65th
6
938026 +/- 54128
61st
3
853364 +/- 7490
59th
3
822177 +/- 32573
57th
3
779126 +/- 11235
54th
3
755046 +/- 2401
52nd
3
736755 +/- 8631
Median
50th
707295
50th
3
701224 +/- 5288
46th
6
661814 +/- 838
43rd
3
627349 +/- 3411
41st
5
604721 +/- 16122
39th
6
595014 +/- 8240
32nd
7
528129 +/- 19970
27th
3
498258 +/- 2712
Low-Tier
25th
< 486030
25th
3
467181 +/- 48847
22nd
4
438750 +/- 96
14th
3
302906 +/- 1484
12th
4
282502 +/- 622
10th
4
254819 +/- 5579
8th
3
140620 +/- 312
OpenBenchmarking.orgDistribution Of Public Results - Test: Sequential Fill189 Results Range From 17715 To 1746396 Op/s17715522898686312143715601119058522515925973329430732888136345539802943260346717750175153632557089960547364004767462170919574376977834381291784749188206591663995121398578710203611054935108950911240831158657119323112278051262379129695313315271366101140067514352491469823150439715389711573545160811916426931677267171184117464153691215

Based on OpenBenchmarking.org data, the selected test / test configuration (RocksDB 8.0 - Test: Sequential Fill) has an average run-time of 3 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-Time510152025Min: 1 / Avg: 2.46 / Max: 18

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

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

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-V1 64-Core, Apple M2

Recent Test Results

OpenBenchmarking.org Results Compare

4 Systems - 35 Benchmark Results

8 x AMD EPYC - QEMU Standard PC - Intel 440FX 82441FX PMC

Ubuntu 22.04 - 5.15.0-88-generic - 1.3.238

2 Systems - 35 Benchmark Results

16 x AMD EPYC - QEMU Standard PC - Intel 440FX 82441FX PMC

Ubuntu 22.04 - 5.15.0-88-generic - 1.3.238

1 System - 35 Benchmark Results

4 x AMD EPYC - QEMU Standard PC - Intel 440FX 82441FX PMC

Ubuntu 22.04 - 5.15.0-88-generic - 1.3.238

1 System - 566 Benchmark Results

ARMv8 Cortex-A72 - BCM2835 Raspberry Pi 4 Model B Rev 1.5 - Broadcom BCM2711

Arch Linux ARM - 6.1.58-2-rpi-ARCH - GCC 12.1.0 + Clang 16.0.6

1 System - 7 Benchmark Results

AMD Ryzen 9 5950X 16-Core - ASUS TUF GAMING B550-PLUS WIFI II - AMD Starship

Fedora Linux 39 - 6.5.12-300.fc39.x86_64 - KDE Plasma 5.27.9

1 System - 7 Benchmark Results

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

EndeavourOS rolling - 6.6.2-zen1-1-zen - Xfce 4.18

1 System - 7 Benchmark Results

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

EndeavourOS rolling - 6.6.1-zen1-1-zen - Xfce 4.18

1 System - 342 Benchmark Results

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

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

1 System - 621 Benchmark Results

AMD Ryzen 7 PRO 4750G - LENOVO 318E - AMD Renoir

Arch Linux - 6.1.59-1-lts - GCC 13.2.1 20230801 + Clang 16.0.6

1 System - 591 Benchmark Results

Intel Core i7-4790 - ASUS H97M-PLUS - Intel 4th Gen Core DRAM

Arch Linux - 6.1.57-1-lts - GCC 13.2.1 20230801 + Clang 16.0.6

1 System - 598 Benchmark Results

Intel Core i7-4770 - Mouse H87M-S01 v1.0 - Intel 4th Gen Core DRAM

Arch Linux - 6.1.55-1-lts - GCC 13.2.1 20230801 + Clang 16.0.6

1 System - 7 Benchmark Results

Intel Core i9-10850K - ASUS ROG MAXIMUS XII APEX - Intel Comet Lake PCH

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

1 System - 7 Benchmark Results

AMD Ryzen 7 5700G - ASUS TUF GAMING B550-PLUS WIFI II - AMD Renoir

Fedora Linux 38 - 6.4.12-200.fc38.x86_64 - KDE Plasma 5.27.7

1 System - 368 Benchmark Results

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

OracleServer 8.8 - 5.4.17-2136.321.4.el8uek.x86_64 - GCC 10.3.1 20210422

1 System - 348 Benchmark Results

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

Oracle Linux Server 9.2 - 5.14.0-284.25.1.0.1.el9_2.x86_64 - GCC 11.3.1 20221121

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

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

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 - 608 Benchmark Results

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

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 - 92 Benchmark Results

Intel Core i7-4790K - ASUS MAXIMUS VII GENE - Intel 4th Gen Core DRAM

Ubuntu 22.10 - 6.2.0-20-generic - GNOME Shell 43.0

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

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

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 - 88 Benchmark Results

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

Ubuntu 23.04 - 6.2.0-20-generic - GNOME Shell 44.0

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