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

Test Maintainer

Michael Larabel 

Test Type

System

Average Install Time

4 Minutes, 53 Seconds

Average Run Time

15 Minutes, 23 Seconds

Test Dependencies

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

Accolades

30k+ Downloads + Recently Updated Test Profile

Supported Platforms


Public Result Uploads *Reported Installs **Reported Test Completions **Test Profile Page Views ***OpenBenchmarking.orgEventsRocksDB Popularity Statisticspts/rocksdb2019.102019.112019.122020.012020.022020.032020.042020.052020.062020.072020.082020.092020.102020.112020.122021.012021.022021.032021.042021.052021.062021.072021.082021.092021.102021.112021.122022.012022.022022.032022.042022.052022.062022.072022.082022.092022.102022.112022.122023.014K8K12K16K20K
* 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 current as of 27 January 2023.
Random Fill14.6%Read While Writing14.0%Update Random14.6%Sequential Fill14.0%Read Random Write Random14.0%Random Fill Sync14.0%Random Read14.6%Test Option PopularityOpenBenchmarking.org

Revision History

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 7.9.2

Test: Update Random

OpenBenchmarking.org metrics for this test profile configuration based on 61 public results since 18 January 2023 with the latest data as of 27 January 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)
98th
5
1011757 +/- 5776
92nd
3
893965 +/- 3267
83rd
5
590171 +/- 3022
Mid-Tier
75th
< 502202
75th
3
499713 +/- 2365
67th
7
490339 +/- 1982
52nd
8
456728 +/- 16821
Median
50th
437575
41st
4
434057 +/- 5501
34th
3
407624 +/- 3537
29th
3
382040 +/- 5310
Low-Tier
25th
< 353452
24th
3
314855 +/- 36970
21st
3
311705 +/- 2472
13th
3
296585 +/- 2334
13th
3
295654 +/- 14611
OpenBenchmarking.orgDistribution Of Public Results - Test: Update Random61 Results Range From 139977 To 1019843 Op/s139977157575175173192771210369227967245565263163280761298359315957333555351153368751386349403947421545439143456741474339491937509535527133544731562329579927597525615123632721650319667917685515703113720711738309755907773505791103808701826299843897861495879093896691914289931887949485967083984681100227910198773691215

Based on OpenBenchmarking.org data, the selected test / test configuration (RocksDB 7.9.2 - Test: Update Random) 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: Update RandomRun-Time3691215Min: 3 / Avg: 3.36 / Max: 12

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: Update RandomDeviation246810Min: 0 / Avg: 0.24 / Max: 2

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 VFMSUB231SD 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: 10 October 2022

This test profile binary relies on the shared libraries librocksdb.so.7, 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
Apple M2

Recent Test Results

OpenBenchmarking.org Results Compare

3 Systems - 43 Benchmark Results

2 x Intel Xeon Platinum 8490H - Quanta Cloud S6Q-MB-MPS - Intel Device 1bce

CentOS Stream 9 - 5.14.0-239.el9.x86_64 - GNOME Shell 40.10

3 Systems - 43 Benchmark Results

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

CentOS Stream 9 - 5.14.0-239.el9.x86_64 - GNOME Shell 40.10

1 System - 7 Benchmark Results

AMD Ryzen 9 5950X 16-Core - MSI MEG X570 UNIFY - AMD Starship

Garuda Soaring - 6.1.7-zen1-1-zen - KDE Plasma 5.26.5

1 System - 341 Benchmark Results

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

OracleServer 7.9 - 4.14.35-2047.511.5.8.el7uek.x86_64 - GCC 9.3.1 20200408

1 System - 361 Benchmark Results

2 x Intel Xeon E5-2680 0 - Cisco UCSC-C220-M3S - Intel Xeon E5

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

1 System - 361 Benchmark Results

2 x Intel Xeon E5-2680 0 - Cisco UCSC-C220-M3S - Intel Xeon E5

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

2 Systems - 285 Benchmark Results

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

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

1 System - 7 Benchmark Results

AMD Ryzen 7 5800X3D 8-Core - Microsoft Virtual Machine - 16GB

Ubuntu 22.04 - 5.15.0-1031-azure - X Server 1.21.1.3

3 Systems - 7 Benchmark Results

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

Ubuntu 22.10 - 5.19.0-29-generic - GNOME Shell 43.1

3 Systems - 7 Benchmark Results

AMD Ryzen 7 PRO 6850U - LENOVO 21CM0001US - AMD Device 14b5

Ubuntu 22.10 - 6.1.0-060100rc2daily20221028-generic - GNOME Shell 43.0

4 Systems - 7 Benchmark Results

2 x Intel Xeon Platinum 8490H - Quanta Cloud S6Q-MB-MPS - Intel Device 1bce

Ubuntu 22.04 - 6.1.4-060104-generic - GNOME Shell 42.2

3 Systems - 7 Benchmark Results

Apple M2 - Apple MacBook Air - 8GB

Arch rolling - 6.1.0-rc6-asahi-5-1-ARCH - KDE Plasma 5.26.3

Most Popular Test Results

OpenBenchmarking.org Results Compare

4 Systems - 7 Benchmark Results

2 x Intel Xeon Platinum 8490H - Quanta Cloud S6Q-MB-MPS - Intel Device 1bce

Ubuntu 22.04 - 6.1.4-060104-generic - GNOME Shell 42.2

3 Systems - 7 Benchmark Results

Intel Core i7-1280P - MSI MS-14C6 - Intel Alder Lake PCH

Ubuntu 22.10 - 5.19.0-29-generic - Xfce 4.16

3 Systems - 7 Benchmark Results

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

Ubuntu 22.10 - 5.19.0-29-generic - GNOME Shell 43.1

3 Systems - 7 Benchmark Results

AMD Ryzen 7 PRO 6850U - LENOVO 21CM0001US - AMD Device 14b5

Ubuntu 22.10 - 6.1.0-060100rc2daily20221028-generic - GNOME Shell 43.0

3 Systems - 7 Benchmark Results

AMD Ryzen 9 7950X 16-Core - ASUS ROG CROSSHAIR X670E HERO - AMD Device 14d8

Ubuntu 22.10 - 6.2.0-rc1-phx - GNOME Shell 43.1

3 Systems - 7 Benchmark Results

AMD Ryzen Threadripper 3990X 64-Core - Gigabyte TRX40 AORUS PRO WIFI - AMD Starship

Ubuntu 22.10 - 6.1.0-rc8-phx-mglru - GNOME Shell 43.0

3 Systems - 7 Benchmark Results

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

Ubuntu 22.04 - 5.18.8-051808-generic - GNOME Shell 42.2

3 Systems - 7 Benchmark Results

Apple M2 - Apple MacBook Air - 8GB

Arch rolling - 6.1.0-rc6-asahi-5-1-ARCH - KDE Plasma 5.26.3

3 Systems - 7 Benchmark Results

Intel Core i7-1165G7 - Dell 0GG9PT - Intel Tiger Lake-LP

Ubuntu 22.10 - 5.19.0-28-generic - GNOME Shell 43.0

1 System - 341 Benchmark Results

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

OracleServer 7.9 - 4.14.35-2047.511.5.8.el7uek.x86_64 - GCC 9.3.1 20200408

3 Systems - 7 Benchmark Results

Intel Core i7-1185G7 - Dell 0DXP1F - Intel Tiger Lake-LP

Ubuntu 22.04 - 5.18.8-051808-generic - GNOME Shell 42.2

Find More Test Results