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, 25 Seconds

Average Run Time

15 Minutes, 23 Seconds

Test Dependencies

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

Accolades

80k+ 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.082024.102024.126K12K18K24K30K
* 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 24 December 2024.
Update Random14.6%Random Read29.7%Read Random Write Random20.3%Overwrite6.7%Read While Writing28.7%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 800 public results since 19 March 2024 with the latest data as of 23 December 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
13
1568026659 +/- 11593425
99th
8
1387084176 +/- 165297720
98th
14
1342392107 +/- 41124383
96th
8
1200844357 +/- 89524082
96th
5
1173603596 +/- 25393262
95th
3
1115720742
93rd
16
1075446622 +/- 34891162
91st
6
896934375 +/- 126544064
90th
14
789704871 +/- 3706467
88th
13
719529228 +/- 812111
86th
9
708972407 +/- 28798721
86th
5
645309483
85th
3
621920651
84th
5
608831729 +/- 4409782
83rd
8
596885963 +/- 43792251
83rd
8
592282835 +/- 16107793
82nd
5
574749552
80th
5
527379863 +/- 107743
79th
7
525274958 +/- 280574
77th
7
522268986 +/- 42721980
77th
9
515587349 +/- 23648424
77th
4
498075884
Mid-Tier
75th
< 474156895
74th
13
442040141 +/- 14885922
73rd
8
425689429 +/- 45836028
73rd
10
423629107 +/- 39534752
73rd
10
417282819 +/- 59398786
71st
4
404644242 +/- 1026450
70th
3
372309429
67th
11
297439385 +/- 108999
65th
7
283347168 +/- 16058145
64th
8
263924549 +/- 1989626
63rd
3
248932877
61st
6
234378034 +/- 142378
60th
8
217494905 +/- 615185
58th
6
205289675 +/- 87497
56th
23
166478440 +/- 6447999
53rd
4
147081611 +/- 2788719
53rd
10
146439037 +/- 8565367
52nd
5
141311776 +/- 1687922
Median
50th
139018862
50th
8
138175095 +/- 1118362
49th
3
135308907
48th
5
130798178 +/- 235045
46th
7
125826110 +/- 346835
45th
3
124567637
45th
3
123569947 +/- 1258808
42nd
6
90195995 +/- 518914
42nd
6
90060934 +/- 2081815
39th
3
82539953 +/- 326973
38th
8
79447763 +/- 5541883
38th
5
77613988 +/- 236243
37th
4
73608838 +/- 657507
35th
4
69397848 +/- 20812
33rd
10
64771411 +/- 1829714
31st
5
61167707
28th
13
57997756 +/- 3306795
28th
13
57855311 +/- 744297
27th
10
56926733 +/- 3860478
Low-Tier
25th
< 55014931
25th
7
52411884 +/- 2779951
25th
8
52252200 +/- 5078900
24th
3
52061602
23rd
7
51112696 +/- 988170
23rd
7
50893797 +/- 1208507
20th
4
50047524 +/- 410746
19th
5
49289745 +/- 1777362
19th
6
48639080 +/- 145290
16th
9
37695851 +/- 4385582
15th
4
34884738 +/- 1790
15th
5
34624976
14th
3
34108740 +/- 418456
12th
5
32310549 +/- 3493130
12th
4
32253952 +/- 67538
11th
5
28438730 +/- 1064871
11th
4
26730584 +/- 407617
11th
5
26640120
8th
5
21145681 +/- 493436
8th
6
21142277 +/- 313785
6th
5
16380695 +/- 166082
5th
4
16018355 +/- 285643
5th
9
15158777 +/- 850275
4th
5
12688841 +/- 377474
3rd
4
12431780 +/- 53847
2nd
4
9576828 +/- 444213
2nd
5
4571217 +/- 18947
Detailed Performance Overview
OpenBenchmarking.orgDistribution Of Public Results - Test: Random Read789 Results Range From 2634344 To 1881560684 Op/s263434440212871777913981153699251529484521905269792281055062656840333032625603408410873784196144159981414535766684911551955287337225663122496038907766414693036790478307166263577542048847917834118293619388669404659045189929420975199796760461017254573105483310010924116271129990154116756868112051472081242725735128030426213178827891355461316139303984314306183701468196897150577542415433539511580932478161851100516560895321693668059173124658617688251131806403640184398216718815606944080120160200

Based on OpenBenchmarking.org data, the selected test / test configuration (RocksDB 9.0 - Test: Random Read) has an average run-time of 5 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: 4.36 / Max: 15

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.29 / 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 Read46812141624326496128192918273645

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-A53 4-Core, ARMv8 Cortex-A72 16-Core, ARMv8 Cortex-A72 4-Core, ARMv8 Cortex-A76 4-Core, ARMv8 Neoverse-N1, ARMv8 Neoverse-N1 128-Core, ARMv8 Neoverse-N1 64-Core, ARMv8 Neoverse-N1 80-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 72-Core, AmpereOne 96-Core

Recent Test Results

OpenBenchmarking.org Results Compare

1 System - 628 Benchmark Results

ARMv8 Cortex-A72 - Raspberry Pi 400 Rev 1.0 - Broadcom BCM2711

Debian 12 - 6.6.63-v8+ - X Server 1.21.1.7

7 Systems - 456 Benchmark Results

AMD EPYC 7713P 64-Core - Supermicro AS-1114S-WN10RT H12SSW-NTR v1.02 - AMD Starship

Debian GNU - 6.1.0-27-amd64 - GCC 12.2.0 + Clang 14.0.6

3 Systems - 126 Benchmark Results

AmpereOne - Supermicro ARS-211M-NR R13SPD v1.02 - Ampere Computing LLC Device e208

Ubuntu 24.04 - 6.8.0-39-generic-64k - GCC 13.2.0

33 Systems - 367 Benchmark Results

1 System - 14 Benchmark Results

AMD Ryzen 9 5900X 12-Core - ASRock X570 Phantom Gaming 4 - AMD Starship

Fedora 41 - 6.11.5-300.fc41.x86_64 - Cinnamon 6.2.9

1 System - 40 Benchmark Results

AMD Ryzen 9 5900X 12-Core - ASRock X570 Phantom Gaming 4 - AMD Starship

Fedora 41 - 6.11.5-300.fc41.x86_64 - Cinnamon 6.2.9

4 Systems - 856 Benchmark Results

1 System - 113 Benchmark Results

2 x AMD EPYC 9755 128-Core - AMD VOLCANO - AMD Device 153a

Ubuntu 24.04 - 6.8.0-45-generic - GCC 13.2.0 + Clang 18.1.3

1 System - 461 Benchmark Results

AMD Ryzen 7 5800X 8-Core - GIGABYTE MC12-LE0-00 v01000100 - AMD Starship

Ubuntu 24.04 - 6.11.0-061100-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.22.1.el8_10.x86_64 - GCC 10.3.1 20210422

10 Systems - 145 Benchmark Results

AMD EPYC 9755 128-Core - AMD VOLCANO - AMD Device 153a

Ubuntu 24.04 - 6.10.0-phx - GCC 13.2.0

1 System - 352 Benchmark Results

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

Oracle Linux Server 9.4 - 5.14.0-427.37.1.el9_4.x86_64 - GCC 11.4.1 20231218

1 System - 363 Benchmark Results

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

OracleServer 8.10 - 5.15.0-208.159.3.2.el8uek.x86_64 - GCC 10.3.1 20210422

6 Systems - 344 Benchmark Results

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

Ubuntu 24.10 - 6.11.0-rc6-phx - GNOME Shell 47.0

1 System - 1 Benchmark Result

2 x AMD EPYC 9B14 - Google Compute Engine c3d-highmem-360 - Intel 440FX 82441FX PMC

Ubuntu 22.04 - 6.8.0-1015-gcp - 1.3.255

Most Popular Test Results

OpenBenchmarking.org Results Compare

3 Systems - 413 Benchmark Results

AMD Ryzen 7 7840HS - Framework Laptop 16 - AMD Device 14e8

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

18 Systems - 442 Benchmark Results

AMD Ryzen 7 7800X3D 8-Core - ASUS ROG STRIX X670E-E GAMING WIFI - AMD Device 14d8

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

4 Systems - 305 Benchmark Results

2 x Intel Xeon 6780E - Quanta Cloud QuantaGrid D55Q-2U S7Q-MB-MPS-MDP - Intel Ice Lake IEH

Clear Linux OS 41900 - 6.9.5-1441.native - GCC 14.1.1 20240618 releases

2 Systems - 1012 Benchmark Results

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

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

5 Systems - 464 Benchmark Results

AMD EPYC 4564P 16-Core - Supermicro AS-3015A-I H13SAE-MF v1.00 - AMD Device 14d8

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

2 Systems - 55 Benchmark Results

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

Ubuntu 24.04 - 6.8.0-1009-aws - 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

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

2 Systems - 55 Benchmark Results

ARMv8 Neoverse-V1 - Amazon EC2 r7g.16xlarge - Amazon Device 0200

Ubuntu 24.04 - 6.8.0-1009-aws - GCC 13.2.0

2 Systems - 87 Benchmark Results

ARMv8 Neoverse-V2 - Amazon EC2 r8g.metal-24xl - 12 x 64GB DDR5-5600MT

Ubuntu 24.04 - 6.8.0-1009-aws - GCC 13.2.0

Find More Test Results