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

21 Seconds

Average Run Time

2 Minutes, 24 Seconds

Test Dependencies

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

Accolades

30k+ 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.112024.012024.037K14K21K28K35K
* 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 13 April 2024.
Random Fill17.0%Random Delete8.3%Fill Sync16.2%Sequential Fill17.0%Overwrite16.5%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.22

Benchmark: Fill Sync

OpenBenchmarking.org metrics for this test profile configuration based on 863 public results since 5 March 2020 with the latest data as of 9 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)
91st
3
64 +/- 4
87th
19
178 +/- 8
81st
4
711 +/- 13
Mid-Tier
75th
> 940
75th
4
963 +/- 16
68th
4
1186 +/- 83
65th
12
1289 +/- 25
63rd
3
1434 +/- 81
57th
19
1767 +/- 96
56th
4
1817 +/- 13
Median
50th
1960
48th
3
2171 +/- 37
46th
3
2262 +/- 29
46th
3
2276 +/- 84
46th
3
2320 +/- 116
46th
4
2353 +/- 185
41st
3
2991 +/- 4
39th
3
3222 +/- 70
34th
3
3835 +/- 203
34th
3
3901 +/- 563
34th
3
3906 +/- 33
32nd
9
4114 +/- 131
31st
3
4373 +/- 368
30th
3
4433 +/- 191
28th
3
5184 +/- 539
26th
13
5431 +/- 172
Low-Tier
25th
> 5579
21st
3
5995 +/- 10
20th
5
6162 +/- 230
20th
6
6172 +/- 122
20th
4
6184 +/- 576
20th
8
6192 +/- 458
18th
3
6431 +/- 270
13th
3
7476 +/- 447
12th
5
7717 +/- 81
9th
3
9598 +/- 7
9th
3
9630 +/- 708
4th
5
17033 +/- 2431
3rd
3
37585 +/- 225
2nd
3
48246 +/- 4765
OpenBenchmarking.orgDistribution Of Public Results - Benchmark: Fill Sync863 Results Range From 9 To 198371 Microseconds Per Op9397779451191315881198492381727785317533572139689436574762551593555615952963497674657143375401793698333787305912739524199209103177107145111113115081119049123017126985130953134921138889142857146825150793154761158729162697166665170633174601178569182537186505190473194441198409130260390520650

Based on OpenBenchmarking.org data, the selected test / test configuration (LevelDB 1.22 - Benchmark: Fill Sync) 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: Fill SyncRun-Time246810Min: 1 / Avg: 1.07 / Max: 6

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

OpenBenchmarking.orgPercent, Fewer Is BetterAverage Deviation Between RunsBenchmark: Fill SyncDeviation510152025Min: 0 / Avg: 2.14 / Max: 19

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)
IBM Z
s390x
(Many Processors)
IBM POWER (PowerPC) 64-bit
ppc64le
POWER9 4-Core, POWER9 44-Core
MIPS 64-bit
mips64
Loongson-3A R4
Intel / AMD x86 32-bit
i686
(Many Processors)
ARMv7 32-bit
armv7l
ARMv7 rev 3 4-Core
ARMv8 64-bit
aarch64
ARMv8, ARMv8 Cortex-A55 4-Core, ARMv8 Cortex-A55 6-Core, ARMv8 Cortex-A55 8-Core, ARMv8 Cortex-A72 4-Core, ARMv8 Cortex-A72 6-Core, ARMv8 Cortex-A73, ARMv8 Neoverse-N1, ARMv8 Neoverse-N1 4-Core, ARMv8 Neoverse-N1 64-Core, ARMv8 Neoverse-V1 4-Core, Ampere eMAG ARMv8 32-Core