CockroachDB

CockroachDB is a cloud-native, distributed SQL database for data intensive applications. This test profile uses a server-less CockroachDB configuration to test various Coackroach workloads on the local host with a single node.

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

Project Site

cockroachlabs.com

Source Repository

github.com

Test Created

17 December 2022

Test Maintainer

Michael Larabel 

Test Type

System

Average Install Time

4 Seconds

Average Run Time

1 Minute, 49 Seconds

Test Dependencies

C/C++ Compiler Toolchain

Accolades

30k+ Downloads

Supported Platforms

Supported Architectures

x86_64 + aarch64

Public Result Uploads *Reported Installs **Reported Test Completions **Test Profile Page ViewsOpenBenchmarking.orgEventsCockroachDB Popularity Statisticspts/cockroach2022.122023.012023.022023.032023.042023.052023.062023.072023.082023.092023.102023.112023.122024.012024.022024.032024.042024.052024.062024.072024.082024.092024.102K4K6K8K10K
* 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.
Data updated weekly as of 8 October 2024.
KV, 50% Reads23.6%KV, 95% Reads22.4%KV, 60% Reads21.9%MoVR15.9%KV, 10% Reads16.3%Workload Option PopularityOpenBenchmarking.org
25618.8%51221.8%102416.3%12843.1%Concurrency Option PopularityOpenBenchmarking.org

Revision History

pts/cockroach-1.0.2   [View Source]   Sat, 17 Dec 2022 17:37:46 GMT
Set TimesToRun = 3

pts/cockroach-1.0.1   [View Source]   Sat, 17 Dec 2022 16:11:52 GMT
Initial commit.

Suites Using This Test

Database Test Suite

Server


Performance Metrics

Analyze Test Configuration:

CockroachDB 22.2

Workload: KV, 95% Reads - Concurrency: 128

OpenBenchmarking.org metrics for this test profile configuration based on 616 public results since 17 December 2022 with the latest data as of 30 September 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
ops/s (Average)
98th
14
163684 +/- 6265
98th
7
161863 +/- 6553
96th
9
151503 +/- 3290
92nd
4
129471 +/- 7062
91st
16
126477 +/- 8678
89th
3
124479 +/- 8007
89th
6
123634 +/- 656
88th
3
122623 +/- 887
88th
19
121502 +/- 4592
87th
5
120666 +/- 884
86th
4
117878 +/- 807
83rd
7
111664 +/- 2656
81st
7
110100 +/- 1424
79th
4
105261 +/- 6410
77th
17
99831 +/- 1313
Mid-Tier
75th
< 99578
74th
3
96525 +/- 171
73rd
13
95401 +/- 3594
72nd
17
94499 +/- 5452
72nd
12
94354 +/- 443
64th
9
88771 +/- 1368
64th
6
88516 +/- 1514
62nd
12
87304 +/- 766
59th
7
84238 +/- 6313
59th
16
83992 +/- 769
58th
5
83864 +/- 275
56th
4
83380 +/- 448
55th
11
82284 +/- 1543
54th
7
77621 +/- 273
52nd
3
73837 +/- 122
Median
50th
69386
50th
7
69169 +/- 370
48th
7
67496 +/- 75
48th
7
67450 +/- 2892
45th
11
65428 +/- 824
41st
12
63930 +/- 1658
40th
13
62775 +/- 3615
39th
14
61369 +/- 5158
37th
8
60855 +/- 552
36th
14
59946 +/- 696
32nd
9
56495 +/- 1962
31st
7
55927 +/- 3944
29th
7
55089 +/- 2085
29th
4
54426 +/- 1049
28th
7
51882 +/- 76
26th
4
47982 +/- 177
Low-Tier
25th
< 47829
25th
3
46894 +/- 318
23rd
4
42836 +/- 1985
23rd
5
42611 +/- 2296
23rd
8
42221 +/- 627
20th
6
39472 +/- 2203
19th
4
38677 +/- 243
18th
8
37780 +/- 4461
17th
6
37180 +/- 434
16th
5
35964 +/- 67
15th
4
34722 +/- 3215
14th
3
30864 +/- 252
12th
4
25642 +/- 2599
10th
8
23208 +/- 163
9th
5
22680 +/- 627
8th
4
21847 +/- 617
6th
4
18043 +/- 74
4th
3
15666 +/- 289
4th
4
15510 +/- 80
3rd
5
12889 +/- 130
2nd
3
10015 +/- 16
OpenBenchmarking.orgDistribution Of Public Results - Workload: KV, 95% Reads - Concurrency: 128598 Results Range From 9776 To 179034 ops/s97761316216548199342332026706300923347836864402504363647022504085379457180605666395267338707247411077496808828426887654910409442697812101198104584107970111356114742118128121514124900128286131672135058138444141830145216148602151988155374158760162146165532168918172304175690179076918273645

Based on OpenBenchmarking.org data, the selected test / test configuration (CockroachDB 22.2 - Workload: KV, 95% Reads - Concurrency: 128) has an average run-time of 6 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 BenchmarkWorkload: KV, 95% Reads - Concurrency: 128Run-Time3691215Min: 2 / Avg: 5.81 / Max: 11

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

OpenBenchmarking.orgPercent, Fewer Is BetterAverage Deviation Between RunsWorkload: KV, 95% Reads - Concurrency: 128Deviation246810Min: 0 / Avg: 0.17 / Max: 2

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 BaseCockroachDB CPU Core ScalingWorkload: KV, 95% Reads - Concurrency: 1284681012141632641.43962.87924.31885.75847.198

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
Ampere ARMv8 Neoverse-N1 256-Core

Recent Test Results

OpenBenchmarking.org Results Compare

1 System - 1043 Benchmark Results

2 Systems - 413 Benchmark Results

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

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

1 System - 1002 Benchmark Results

1 System - 999 Benchmark Results

1 System - 389 Benchmark Results

AMD Ryzen Threadripper 7970X 32-Cores - ASRock TRX50 WS - AMD Device 14a4

Debian 12 - 6.1.0-22-amd64 - GNOME Shell 43.9

2 Systems - 1012 Benchmark Results

1 System - 1012 Benchmark Results

Find More Test Results