KeyDB

A benchmark of KeyDB as an open-source, multi-threaded fork of the Redis server now developed by Snapchat. The developers self-describe the KeyDB in-memory data structure store as a "faster drop in alternative to Redis".

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

Project Site

keydb.dev

Source Repository

github.com

Test Created

7 October 2019

Last Updated

22 January 2023

Test Maintainer

Michael Larabel 

Test Type

System

Average Install Time

1 Minute, 35 Seconds

Average Run Time

7 Minutes, 35 Seconds

Test Dependencies

C/C++ Compiler Toolchain + Libevent + Perl Compatible Regular Expressions + OpenSSL + Libtool + Curl + UUID + Snappy Compression + Tool Command Language + Nasm Assembler

Accolades

60k+ Downloads

Supported Platforms


Public Result Uploads *Reported Installs **Reported Test Completions **Test Profile Page Views ***OpenBenchmarking.orgEventsKeyDB Popularity Statisticspts/keydb2019.102020.012020.032020.052020.072020.092020.112021.012021.032021.052021.072021.092021.112022.012022.032022.052022.072022.092022.112023.012023.032023.052023.072023.092023.112024.012024.032024.052024.072024.092024.113K6K9K12K15K
* 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 20 November 2024.
HMSET16.0%LPUSH16.0%SET18.6%GET17.4%LPOP16.0%SADD16.0%Test Option PopularityOpenBenchmarking.org
50018.6%90018.6%10028.9%5033.9%Parallel Connections Option PopularityOpenBenchmarking.org

Revision History

pts/keydb-1.4.0   [View Source]   Sun, 22 Jan 2023 19:04:16 GMT
Update against KeyDB 6.3.2 upstream.

pts/keydb-1.3.1   [View Source]   Wed, 11 Aug 2021 19:37:26 GMT
Adjust checksums for KeyDB-6.2.0 that seemed to have been re-tagged on GitHub.

pts/keydb-1.3.0   [View Source]   Wed, 11 Aug 2021 18:45:19 GMT
Update against KeyDB 6.2.0 upstream.

pts/keydb-1.2.0   [View Source]   Mon, 28 Sep 2020 17:34:54 GMT
Update against KeyDB 6.0.16 upstream.

pts/keydb-1.1.0   [View Source]   Thu, 27 Feb 2020 10:46:34 GMT
Pull in https://github.com/phoronix-test-suite/test-profiles/pull/130 plus update KeyDB from v5.0 to v5.3.1 upstream.

pts/keydb-1.0.1   [View Source]   Mon, 07 Oct 2019 20:05:52 GMT
Limit server thread to 4 per recommendation, add uuid as external dependency.

pts/keydb-1.0.0   [View Source]   Mon, 07 Oct 2019 19:43:48 GMT
Initial commit of KeyDB test profile.

Suites Using This Test

Database Test Suite

C/C++ Compiler Tests

Server


Performance Metrics

Analyze Test Configuration:

KeyDB 6.3.2

Test: SET - Parallel Connections: 50

OpenBenchmarking.org metrics for this test profile configuration based on 30 public results since 22 January 2023 with the latest data as of 21 March 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
Requests Per Second (Average)
91st
4
2036729 +/- 31524
81st
3
1955627 +/- 95016
Mid-Tier
75th
< 1529379
71st
4
1527303 +/- 2397
61st
3
1308405 +/- 98426
Median
50th
1249455
38th
3
1004346 +/- 29969
28th
3
792065 +/- 8540
Low-Tier
25th
< 791390
18th
3
389997 +/- 1079
5th
3
342894 +/- 361
OpenBenchmarking.orgDistribution Of Public Results - Test: SET - Parallel Connections: 5030 Results Range From 342479 To 2074173 Requests Per Second34247937711341174744638148101551564955028358491761955165418568881972345375808779272182735586198989662393125796589110005251035159106979311044271139061117369512083291242963127759713122311346865138149914161331450767148540115200351554669158930316239371658571169320517278391762473179710718317411866375190100919356431970277200491120395452074179246810

Based on OpenBenchmarking.org data, the selected test / test configuration (KeyDB 6.3.2 - Test: SET - Parallel Connections: 50) has an average run-time of 11 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: SET - Parallel Connections: 50Run-Time48121620Min: 2 / Avg: 10.4 / Max: 15

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

OpenBenchmarking.orgPercent, Fewer Is BetterAverage Deviation Between RunsTest: SET - Parallel Connections: 50Deviation3691215Min: 0 / Avg: 0.71 / Max: 11

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.
 
MOVDQU MOVAPD DIVSD CVTSS2SD CVTSD2SS CVTSI2SD MULSD COMISD ADDSD MOVDQA MOVD PUNPCKLQDQ PSHUFD UCOMISD SUBSD CVTTSD2SI MINSD
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).

 
VZEROUPPER VINSERTF128 VEXTRACTF128 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 VPBROADCASTQ VPERMQ VPERMD VPBLENDD VPERM2I128 VPGATHERQQ VPGATHERDQ VPBROADCASTD VEXTRACTI128
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 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: 6 February 2023

This test profile binary relies on the shared libraries libssl.so.3, libcrypto.so.3, libm.so.6, libc.so.6.

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)