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, 54 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.062024.085K10K15K20K25K
* 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 31 August 2024.
Update Random13.5%Random Read25.1%Read Random Write Random18.2%Overwrite7.3%Read While Writing24.9%Random Fill Sync5.4%Random Fill5.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 619 public results since 19 March 2024 with the latest data as of 28 August 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
8
1387084176 +/- 165297720
100th
8
1200844357 +/- 89524082
97th
16
1075446622 +/- 34891162
95th
6
896934375 +/- 126544064
94th
11
719588475 +/- 875403
92nd
5
645309483
91st
3
621920651
91st
8
596885963 +/- 43792251
90th
5
574749552
87th
5
527379863 +/- 107743
86th
7
525274958 +/- 280574
84th
9
515587349 +/- 23648424
84th
4
498075884
84th
4
488021687 +/- 1025232
81st
10
443790554 +/- 16476516
80th
8
425689429 +/- 45836028
80th
10
417282819 +/- 59398786
78th
4
404644242 +/- 1026450
78th
7
399416703 +/- 5390345
76th
3
372309429
Mid-Tier
75th
< 371643437
72nd
11
297439385 +/- 108999
71st
7
283347168 +/- 16058145
70th
8
263924549 +/- 1989626
69th
3
248932877
66th
6
234378034 +/- 142378
65th
6
205289675 +/- 87497
62nd
18
168217730 +/- 5961102
59th
9
147176208 +/- 8742008
59th
4
147081611 +/- 2788719
56th
8
138175095 +/- 1118362
55th
3
135308907
54th
5
130798178 +/- 235045
52nd
6
125792464 +/- 367211
51st
3
124567637
Median
50th
124567637
50th
3
123569947 +/- 1258808
47th
6
90060934 +/- 2081815
44th
3
82539953 +/- 326973
43rd
4
77554480 +/- 225403
42nd
6
76454860 +/- 40062
41st
4
73608838 +/- 657507
39th
4
69397848 +/- 20812
36th
8
63903574 +/- 26851
35th
5
61167707
31st
10
58159749 +/- 540728
31st
13
57997756 +/- 3306795
29th
7
56308529 +/- 4568226
28th
7
52411884 +/- 2779951
28th
8
52252200 +/- 5078900
28th
3
52061602
26th
7
51112696 +/- 988170
Low-Tier
25th
< 50784111
22nd
4
50047524 +/- 410746
22nd
4
49924836
21st
5
49289745 +/- 1777362
20th
6
48639080 +/- 145290
17th
6
39775231 +/- 3899687
16th
4
34884738 +/- 1790
16th
5
34624976
15th
3
34108740 +/- 418456
13th
5
32310549 +/- 3493130
13th
4
32253952 +/- 67538
12th
5
28438730 +/- 1064871
11th
4
26730584 +/- 407617
11th
5
26640120
7th
5
21145681 +/- 493436
7th
6
21142277 +/- 313785
6th
5
16380695 +/- 166082
4th
4
16018355 +/- 285643
4th
6
15448941 +/- 923930
2nd
4
12431780 +/- 53847
2nd
4
9576828 +/- 444213
OpenBenchmarking.orgDistribution Of Public Results - Test: Random Read589 Results Range From 9192128 To 1647323286 Op/s9192128419547527471737610748000014024262417300524820576787223853049627129312030405574433681836836958099240234361643510624046786886450063148853339411256615673659891936063168198466444460869720723272996985676273248079549510482825772886102035289378297692654560095930822499207084810248334721057596096109035872011231213441155883968118864659212214092161254171840128693446413196970881352459712138522233614179849601450747584148351020815162728321549035456158179808016145607041647323328306090120150

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-Time48121620Min: 3 / Avg: 3.21 / Max: 14

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

OpenBenchmarking.orgPercent, Fewer Is BetterAverage Deviation Between RunsTest: Random ReadDeviation246810Min: 0 / Avg: 0.25 / Max: 3

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 Read4681214162432642.024.046.068.0810.1

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 Cortex-A72 16-Core, ARMv8 Neoverse-N1, ARMv8 Neoverse-N1 128-Core, ARMv8 Neoverse-N1 64-Core, ARMv8 Neoverse-V1, ARMv8 Neoverse-V1 64-Core, ARMv8 Neoverse-V2, ARMv8 Neoverse-V2 72-Core, ARMv8 Neoverse-V2 96-Core, AmpereOne 128-Core, AmpereOne 160-Core, AmpereOne 192-Core, AmpereOne 32-Core, AmpereOne 64-Core, AmpereOne 96-Core

Recent Test Results

OpenBenchmarking.org Results Compare

4 Systems - 99 Benchmark Results

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

cachyos rolling - 6.10.5-2-cachyos - KDE Plasma 6.1.4

3 Systems - 99 Benchmark Results

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

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

2 Systems - 95 Benchmark Results

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

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

5 Systems - 531 Benchmark Results

AMD Ryzen 7 5800X 8-Core - ASRock X570 Pro4 - AMD Starship

Ubuntu 22.04 - 5.17.4-051704-generic - GNOME Shell 42.0

1 System - 87 Benchmark Results

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

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

1 System - 347 Benchmark Results

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

OracleServer 8.10 - 4.18.0-553.8.1.el8_10.x86_64 - GCC 10.3.1 20210422

2 Systems - 413 Benchmark Results

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

Ubuntu 24.04 - 6.10.0-061000rc4daily20240621-generic - GNOME Shell 46.0

1 System - 529 Benchmark Results

Intel Xeon Platinum 8375C - Amazon EC2 m6id.4xlarge - Intel 440FX 82441FX PMC

Ubuntu 24.04 - 6.8.0-1009-aws - GCC 13.2.0

1 System - 529 Benchmark Results

Intel Xeon Platinum 8375C - Amazon EC2 m6id.4xlarge - Intel 440FX 82441FX PMC

Ubuntu 24.04 - 6.8.0-1009-aws - GCC 13.2.0

1 System - 529 Benchmark Results

AMD EPYC 7R13 - Amazon EC2 m6a.4xlarge - Intel 440FX 82441FX PMC

Ubuntu 24.04 - 6.8.0-1009-aws - GCC 13.2.0

1 System - 529 Benchmark Results

AMD EPYC 7R13 - Amazon EC2 m6a.4xlarge - Intel 440FX 82441FX PMC

Ubuntu 24.04 - 6.8.0-1009-aws - GCC 13.2.0

1 System - 8 Benchmark Results

ARMv8 Neoverse-N1 - Amazon EC2 r6g.2xlarge - Amazon Device 0200

Amazon Linux 2 - 5.10.220-209.869.amzn2.aarch64 - GCC 10.5.0 20230707

1 System - 8 Benchmark Results

AMD EPYC 9R14 - Amazon EC2 r7a.2xlarge - Intel 440FX 82441FX PMC

Amazon Linux 2 - 5.10.220-209.869.amzn2.x86_64 - GCC 10.5.0 20230707

Most Popular Test Results

OpenBenchmarking.org Results Compare

3 Systems - 413 Benchmark Results

AMD Ryzen 7 7840U - Framework Laptop 13 - AMD Device 14e8

Ubuntu 24.04 - 6.10.0-061000rc4daily20240621-generic - GNOME Shell 46.0

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

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

18 Systems - 442 Benchmark Results

AMD Ryzen 9 7900 12-Core - ASUS ROG STRIX X670E-E GAMING WIFI - AMD Device 14d8

Ubuntu 24.04 - 6.10.0-061000rc2-generic - GNOME Shell 46.0

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

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

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

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

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

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

Find More Test Results