LevelDB

LevelDB is a key-value storage library developed by Google that supports making use of Snappy for data compression and has other modern features.

To run this test with the Phoronix Test Suite, the basic command is: phoronix-test-suite benchmark leveldb.

Project Site

github.com

Source Repository

github.com

Test Created

5 March 2020

Last Updated

27 May 2023

Test Maintainer

Michael Larabel 

Test Type

System

Average Install Time

27 Seconds

Average Run Time

4 Minutes, 50 Seconds

Test Dependencies

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

Accolades

20k+ Downloads

Supported Platforms


Public Result Uploads *Reported Installs **Reported Test Completions **Test Profile Page Views ***OpenBenchmarking.orgEventsLevelDB Popularity Statisticspts/leveldb2020.032020.052020.072020.092020.112021.012021.032021.052021.072021.092021.112022.012022.032022.052022.072022.092022.112023.012023.032023.052023.072023.092023.117K14K21K28K35K
* 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 22 November 2023.
Random Fill17.1%Random Delete8.3%Fill Sync16.4%Sequential Fill17.1%Overwrite16.4%Seek Random8.3%Hot Read8.3%Random Read8.3%Benchmark Option PopularityOpenBenchmarking.org

Revision History

pts/leveldb-1.1.0   [View Source]   Sat, 27 May 2023 18:12:50 GMT
Update against LevelDB 1.23 upstream, fix GCC 13 build issue per https://github.com/phoronix-test-suite/test-profiles/pull/281 Closes: https://github.com/phoronix-test-suite/test-profiles/pull/281

pts/leveldb-1.0.2   [View Source]   Mon, 16 Nov 2020 15:07:26 GMT
Makes more sense having TestType be Disk rather than System...

pts/leveldb-1.0.1   [View Source]   Fri, 13 Nov 2020 12:10:55 GMT
The build works fine on macOS.

pts/leveldb-1.0.0   [View Source]   Thu, 05 Mar 2020 18:47:28 GMT
Initial commit of Google LevelDB benchmark.

Suites Using This Test

Database Test Suite

C/C++ Compiler Tests

Server

Common Kernel Benchmarks


Performance Metrics

Analyze Test Configuration:

LevelDB 1.23

Benchmark: Random Fill

OpenBenchmarking.org metrics for this test profile configuration based on 46 public results since 27 May 2023 with the latest data as of 2 September 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
Microseconds Per Op (Average)
Mid-Tier
75th
> 25
Median
50th
61
Low-Tier
25th
> 116
20th
4
264 +/- 1
OpenBenchmarking.orgDistribution Of Public Results - Benchmark: Random Fill46 Results Range From 19 To 2048 Microseconds Per Op19641091541992442893343794244695145596046496947397848298749199641009105410991144118912341279132413691414145915041549159416391684172917741819186419091954199920442089714212835

Based on OpenBenchmarking.org data, the selected test / test configuration (LevelDB 1.23 - Benchmark: Random Fill) has an average run-time of 2 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 BenchmarkBenchmark: Random FillRun-Time3691215Min: 1 / Avg: 1.53 / Max: 8

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 RunsBenchmark: Random FillDeviation246810Min: 0 / Avg: 0.34 / Max: 3

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
SSE2 (SSE2)
Used by default on supported hardware.
 
MOVAPD UNPCKLPD COMISD ADDSD MOVUPD MULSD ADDPD SUBSD DIVSD MAXSD MINSD UCOMISD SQRTSD CVTTSD2SI CVTSI2SD MOVD MOVDQU MOVDQA SHUFPD PUNPCKLQDQ PADDQ PSUBQ
Requires passing a supported compiler/build flag (verified with targets: sandybridge, skylake, tigerlake, cascadelake, sapphirerapids, alderlake, znver2, znver3).
Found on Intel processors since Sandy Bridge (2011).
Found on AMD processors since Bulldozer (2011).

 
VEXTRACTF128 VZEROUPPER VINSERTF128 VBROADCASTSD
Requires passing a supported compiler/build flag (verified with targets: skylake, tigerlake, cascadelake, sapphirerapids, alderlake, znver2, znver3).
Found on Intel processors since Haswell (2013).
Found on AMD processors since Excavator (2016).

 
VINSERTI128 VPGATHERQQ VEXTRACTI128 VPBROADCASTQ
FMA (FMA)
Requires passing a supported compiler/build flag (verified with targets: skylake, tigerlake, cascadelake, sapphirerapids, alderlake, znver2, znver3).
Found on Intel processors since Haswell (2013).
Found on AMD processors since Bulldozer (2011).

 
VFMADD213SD VFMADD132SD VFMSUB231SD VFMADD231SD
Advanced Vector Extensions 512 (AVX512)
Requires passing a supported compiler/build flag (verified with targets: cascadelake, sapphirerapids).
 
(ZMM REGISTER USE)
The test / benchmark does honor compiler flag changes.
Last automated analysis: 24 June 2023

This test profile binary relies on the shared libraries libsnappy.so.1, libtcmalloc.so.4, libm.so.6, libc.so.6, libunwind.so.8, liblzma.so.5.

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)

Recent Test Results

OpenBenchmarking.org Results Compare

1 System - 260 Benchmark Results

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

Ubuntu 20.04 - 5.15.0-1049-aws - GNOME Shell 3.36.9

1 System - 251 Benchmark Results

Intel Xeon Platinum 8358 - QEMU Standard PC - Intel 440FX 82441FX PMC

Ubuntu 20.04 - 5.15.0-1042-oracle - 1.1.182

1 System - 256 Benchmark Results

AMD EPYC 7J13 64-Core - QEMU Standard PC - Intel 440FX 82441FX PMC

Ubuntu 20.04 - 5.15.0-1042-oracle - 1.1.182

1 System - 241 Benchmark Results

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

Ubuntu 20.04 - 5.15.0-1049-aws - GNOME Shell 3.36.9

1 System - 275 Benchmark Results

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

Ubuntu 20.04 - 5.15.0-1048-aws - 1.1.182

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

8 x AMD Ryzen 7 PRO 4750G - QEMU Standard PC - Intel 82G33

Arch Linux - 6.5.5-arch1-1 - GCC 13.2.1 20230801 + Clang 16.0.6

1 System - 352 Benchmark Results

2 x Intel Xeon Platinum 8452Y - Lenovo SB27A92818 v06 - 8 x 32 GB DDR5-4800MT

AlmaLinux 9.2 - 5.14.0-284.30.1.el9_2.x86_64 - GCC 11.3.1 20221121

1 System - 12 Benchmark Results

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

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

1 System - 12 Benchmark Results

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

Clear Linux OS 39890 - 6.4.13-1351.native - GNOME Shell 44.3

1 System - 12 Benchmark Results

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

Fedora Linux 38 - 6.4.11-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 - 58 Benchmark Results

AMD EPYC - KVM Standard PC - 16 GB + 15616 MB RAM

Fedora Linux 38 - 6.4.10-200.fc38.x86_64 - GCC 13.2.1 20230728

1 System - 32 Benchmark Results

ARMv8 Neoverse-N1 - KVM Virtual Machine - 16 GB + 15616 MB RAM

Fedora Linux 38 - 6.4.10-200.fc38.aarch64 - GCC 13.2.1 20230728

2 Systems - 56 Benchmark Results

AMD Phenom II X4 965 - ASUS M4A89TD PRO USB3 - AMD RD890 PCI-e GFX Hydra part

Gentoo 2.13 - 6.1.19-gentoo-x86_64 - GNOME Shell 44.1

Most Popular Test Results

OpenBenchmarking.org Results Compare

2 Systems - 234 Benchmark Results

AMD Ryzen Threadripper 3970X 32-Core - ASUS ROG ZENITH II EXTREME - AMD Starship

Ubuntu 22.04 - 5.19.0-051900rc7-generic - GNOME Shell 42.2

2 Systems - 234 Benchmark Results

AMD Ryzen Threadripper 3970X 32-Core - ASUS ROG ZENITH II EXTREME - AMD Starship

Ubuntu 22.04 - 5.19.0-051900rc7-generic - GNOME Shell 42.2

3 Systems - 153 Benchmark Results

AMD Ryzen 5 5500U - NB01 NL5xNU - AMD Renoir

Tuxedo 22.04 - 6.0.0-1010-oem - KDE Plasma 5.26.5

2 Systems - 234 Benchmark Results

4 Systems - 17 Benchmark Results

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

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

3 Systems - 12 Benchmark Results

AMD Ryzen 9 5900HX - ASUS G513QY v1.0 - AMD Renoir

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

2 Systems - 12 Benchmark Results

AMD Ryzen 9 5950X 16-Core - ASUS TUF GAMING X570-PLUS - AMD Starship

Arch rolling - 6.4.6-arch1-1 - Cinnamon 5.8.4

3 Systems - 55 Benchmark Results

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

Ubuntu 22.04 - 5.19.0-41-generic - GNOME Shell 42.2

3 Systems - 153 Benchmark Results

AMD Ryzen 5 5500U - NB01 NL5xNU - AMD Renoir

Tuxedo 22.04 - 6.0.0-1010-oem - KDE Plasma 5.26.5

4 Systems - 15 Benchmark Results

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

Pop 22.04 - 6.2.6-76060206-generic - GNOME Shell 42.5

2 Systems - 10 Benchmark Results

AMD Ryzen 9 5950X 16-Core - ASUS TUF GAMING X570-PLUS - AMD Starship

Gentoo 2.13 - 6.3.1-gentoo-x86_64 - KDE Plasma 5.27.5

3 Systems - 12 Benchmark Results

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

Ubuntu 23.04 - 6.3.2-060302-generic - GNOME Shell 44.0

2 Systems - 56 Benchmark Results

AMD Phenom II X4 965 - ASUS M4A89TD PRO USB3 - AMD RD890 PCI-e GFX Hydra part

Gentoo 2.13 - 6.1.19-gentoo-x86_64 - GNOME Shell 44.1

2 Systems - 10 Benchmark Results

AMD Ryzen 9 5950X 16-Core - ASUS TUF GAMING X570-PLUS - AMD Starship

Gentoo 2.13 - 6.3.1-gentoo-x86_64 - KDE Plasma 5.27.5

1 System - 139 Benchmark Results

2 x AMD EPYC 9654 96-Core - HPE ProLiant DL385 Gen11 - AMD Device 14a4

Ubuntu 22.04 - 5.19.0-50-generic - GNOME Shell 42.9

Find More Test Results