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

20k+ Downloads + Recently Updated Test Profile

Supported Platforms


Public Result Uploads *Reported Installs **Reported Test Completions **Test Profile Page Views ***OpenBenchmarking.orgEventsKeyDB Popularity Statisticspts/keydb2019.102019.122020.012020.022020.032020.042020.052020.062020.072020.082020.092020.102020.112020.122021.012021.022021.032021.042021.052021.062021.072021.082021.092021.102021.112021.122022.012022.022022.032022.042022.052022.062022.072022.082022.092022.102022.112022.122023.0112002400360048006000
* 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 current as of 26 January 2023.
HMSET16.2%LPUSH16.2%SET18.1%GET17.1%LPOP16.2%SADD16.2%Test Option PopularityOpenBenchmarking.org
50024.3%90024.3%10026.2%5025.2%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

C/C++ Compiler Tests

Database Test Suite

Server


Performance Metrics

Analyze Test Configuration:

KeyDB 6.2.0

OpenBenchmarking.org metrics for this test profile configuration based on 264 public results since 11 August 2021 with the latest data as of 18 January 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
Ops/sec (Average)
98th
3
998063 +/- 1072
96th
4
919974 +/- 7077
94th
6
858079 +/- 18210
89th
3
810024 +/- 76760
86th
10
770137 +/- 32987
83rd
3
755468 +/- 5756
80th
3
626011 +/- 10158
80th
4
623717 +/- 5515
Mid-Tier
75th
< 602742
74th
4
600112 +/- 3521
72nd
5
572992 +/- 60076
69th
3
537373 +/- 6238
67th
3
526918 +/- 4942
66th
3
520147 +/- 38284
59th
9
489662 +/- 49037
57th
3
484171 +/- 6300
52nd
4
455978 +/- 14915
Median
50th
448900
50th
3
446055 +/- 2967
47th
3
427103 +/- 5693
45th
4
407266 +/- 12181
42nd
4
368891 +/- 42895
37th
4
348877 +/- 39241
30th
5
312542 +/- 31756
29th
3
297188 +/- 2362
Low-Tier
25th
< 261751
25th
5
258419 +/- 2070
23rd
3
254568 +/- 10337
18th
6
223679 +/- 5318
13th
3
185300 +/- 5767
12th
3
184692 +/- 1278
OpenBenchmarking.orgDistribution Of Public Results264 Results Range From 44052 To 1518639 Ops/sec4405273544103036132528162020191512221004250496279988309480338972368464397956427448456940486432515924545416574908604400633892663384692876722368751860781352810844840336869828899320928812958304987796101728810467801076272110576411352561164748119424012237321253224128271613122081341700137119214006841430176145966814891601518652510152025

Based on OpenBenchmarking.org data, the selected test / test configuration (KeyDB 6.2.0) has an average run-time of 8 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 BenchmarkRun-Time612182430Min: 5 / Avg: 7.9 / Max: 26

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

OpenBenchmarking.orgPercent, Fewer Is BetterAverage Deviation Between RunsDeviation246810Min: 0 / Avg: 0.37 / Max: 4

Does It Scale Well With Increasing Cores?

No, based on the automated analysis of the collected public benchmark data, this test / test settings does not 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 BaseKeyDB CPU Core Scaling468320.69581.39162.08742.78323.479

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.
 
CVTSI2SD COMISD UCOMISD MOVAPD DIVSD MULSD CVTTSD2SI ADDSD CVTSS2SD SUBSD MOVDQU MOVDQA MOVD CVTSD2SS SQRTSD
Last automated analysis: 17 January 2022

This test profile binary relies on the shared libraries libevent-2.1.so.7, libcrypto.so.3, libssl.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)
Loongson LoongArch 64-bit
loongarch64
Loongson-3A5000LL
ARMv8 64-bit
aarch64
Ampere Altra ARMv8 Neoverse-N1 160-Core

Recent Test Results

OpenBenchmarking.org Results Compare

3 Systems - 60 Benchmark Results

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

Ubuntu 22.04 - 5.18.8-051808-generic - GNOME Shell 42.2

3 Systems - 60 Benchmark Results

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

Ubuntu 22.04 - 5.18.8-051808-generic - GNOME Shell 42.2

3 Systems - 60 Benchmark Results

AMD Ryzen 7 PRO 6850U - LENOVO 21CM0001US - AMD Device 14b5

Ubuntu 22.10 - 6.1.0-060100rc2daily20221028-generic - GNOME Shell 43.0

4 Systems - 60 Benchmark Results

Intel Core i9-13900K - ASUS PRIME Z790-P WIFI - Intel Device 7a27

Ubuntu 22.04 - 6.0.0-060000-generic - GNOME Shell 42.4

2 Systems - 146 Benchmark Results

2 x Intel Xeon Gold 5220R - TYAN S7106 - Intel Sky Lake-E DMI3 Registers

Ubuntu 20.04 - 6.1.0-phx - GNOME Shell 3.36.9

2 Systems - 301 Benchmark Results

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

OracleServer 7.9 - 4.14.35-2047.503.1.el7uek.x86_64 - GCC 4.8.5 20150623

2 Systems - 226 Benchmark Results

AMD Ryzen Threadripper 1920X 12-Core - ASRock X399 Taichi - AMD 17h

Ubuntu 22.04 - 5.15.0-50-generic - GNOME Shell 42.4

1 System - 17 Benchmark Results

2 x Intel Xeon Gold 6226R - Dell 014X06 - Intel Sky Lake-E DMI3 Registers

Ubuntu 20.04 - 5.4.0-131-generic - ext4

2 Systems - 226 Benchmark Results

AMD Ryzen Threadripper 1920X 12-Core - ASRock X399 Taichi - AMD 17h

Ubuntu 22.04 - 5.15.0-50-generic - GNOME Shell 42.4

2 Systems - 140 Benchmark Results

AMD Ryzen 5 3600 6-Core - ASRockRack B450D4U-V1L v1.0 - AMD Starship

Debian 11 - 5.10.0-18-amd64 - GCC 10.2.1 20210110

1 System - 91 Benchmark Results

AMD Ryzen 5 3600 6-Core - ASRockRack B450D4U-V1L v1.0 - AMD Starship

Debian 11 - 5.10.0-18-amd64 - GCC 10.2.1 20210110

1 System - 92 Benchmark Results

Intel Core i5-12500 - ASUS PRIME Z690M-HZ - Intel Device 7aa7

Debian 11 - 5.10.0-18-amd64 - GCC 10.2.1 20210110

1 System - 285 Benchmark Results

2 x Intel Xeon Platinum 8380 - HPE ProLiant DL380 Gen10 Plus - 256GB

Ubuntu 22.04 - 5.15.0-47-generic - 1.2.204

3 Systems - 221 Benchmark Results

2 x Intel Xeon Platinum 8380 - Intel M50CYP2SB2U - Intel Device 0998

Clear Linux OS 36990 - 5.19.6-1185.native - GNOME Shell 42.4

2 Systems - 240 Benchmark Results

2 x Intel Xeon Platinum 8380 - Intel M50CYP2SB2U - Intel Device 0998

CentOS Stream 9 - 5.14.0-148.el9.x86_64 - GNOME Shell 40.10

Most Popular Test Results

OpenBenchmarking.org Results Compare

4 Systems - 196 Benchmark Results

Intel Core i7-8700K - ASUS TUF Z370-PLUS GAMING - Intel 8th Gen Core

Ubuntu 20.04 - 5.9.0-050900rc6daily20200923-generic - GNOME Shell 3.36.4

2 Systems - 16 Benchmark Results

Ampere Altra ARMv8 Neoverse-N1 - WIWYNN Mt.Jade - Ampere Computing LLC Altra PCI Root Complex A

Ubuntu 21.04 - 5.11.0-25-generic - 1.0.2

3 Systems - 13 Benchmark Results

AMD Ryzen 5 5500U - LENOVO LNVNB161216 - AMD Renoir Root Complex

Ubuntu 21.04 - 5.14.0-051400rc5daily20210811-generic - GNOME Shell 3.38.4

6 Systems - 254 Benchmark Results

AMD Ryzen 3 PRO 4350G - ASRock B450M Pro4 - AMD Renoir Root Complex

Clear Linux OS 35000 - 5.13.13-1070.native - GNOME Shell 40.4

4 Systems - 63 Benchmark Results

AMD Ryzen 9 3900XT 12-Core - MSI MEG X570 GODLIKE - AMD Starship

Ubuntu 20.10 - 5.11.0-rc1-phx - GNOME Shell 3.38.1

2 Systems - 161 Benchmark Results

Intel Core i3-7100 - Gigabyte B250M-DS3H-CF - Intel Xeon E3-1200 v6

Ubuntu 20.10 - 5.8.0-55-generic - GNOME Shell 3.38.1

2 Systems - 267 Benchmark Results

Intel Core i9-12900K - ASUS ROG STRIX Z690-E GAMING WIFI - Intel Device 7aa7

Ubuntu 21.10 - 5.16.0-051600rc1daily20211116-generic - GNOME Shell 40.5

4 Systems - 24 Benchmark Results

2 x Intel Xeon Platinum 8380 - Intel M50CYP2SB2U - Intel Device 0998

Ubuntu 20.04 - 5.14.0-rc1-folio - GNOME Shell 3.36.4

Find More Test Results