ctx_clock

Ctx_clock is a simple test program to measure the context switch time in clock cycles.

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

Project Site

gist.github.com

Test Created

18 February 2019

Test Maintainer

Michael Larabel 

Test Type

System

Average Install Time

2 Seconds

Average Run Time

33 Seconds

Test Dependencies

C/C++ Compiler Toolchain

Accolades

20k+ Downloads

Supported Platforms


Public Result Uploads *Reported Installs **Reported Test Completions **Test Profile Page Views ***OpenBenchmarking.orgEventsctx_clock Popularity Statisticspts/ctx-clock2019.022019.032019.042019.052019.062019.072019.082019.092019.102019.112019.122020.012020.022020.032020.042020.052020.062020.072020.082020.092020.102020.112020.122021.012021.022021.032021.042021.052021.062021.072021.082021.092021.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.
*** Test profile page view reporting began March 2021.
Data current as of 17 October 2021.

Revision History

pts/ctx-clock-1.0.0   [View Source]   Mon, 18 Feb 2019 12:05:15 GMT
Initial commit of basic test that measures the context switch time.

Suites Using This Test

Common Kernel Benchmarks

CPU Massive

Server CPU Tests


Performance Metrics

Analyze Test Configuration:

ctx_clock

Context Switch Time

OpenBenchmarking.org metrics for this test profile configuration based on 5,811 public results since 18 February 2019 with the latest data as of 16 October 2021.

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
Clocks (Average)
100th
3
68 +/- 2
100th
20
81 +/- 2
99th
3
101 +/- 1
99th
3
104 +/- 15
99th
5
105 +/- 13
98th
4
116 +/- 12
98th
3
117 +/- 6
97th
8
122 +/- 4
96th
43
128 +/- 17
94th
10
135 +/- 3
88th
19
139 +/- 1
88th
3
140 +/- 6
87th
6
143 +/- 1
87th
9
144 +/- 12
85th
3
146 +/- 6
85th
3
148 +/- 1
80th
27
149 +/- 4
78th
24
150 +/- 4
Mid-Tier
75th
> 152
75th
5
153 +/- 4
74th
21
156 +/- 9
72nd
6
157 +/- 9
72nd
3
158 +/- 2
72nd
5
160 +/- 3
70th
5
167 +/- 4
70th
14
167 +/- 21
68th
13
174 +/- 5
68th
3
174 +/- 1
68th
7
175 +/- 18
67th
8
176 +/- 3
67th
5
178 +/- 4
65th
8
184 +/- 15
64th
7
187 +/- 15
64th
3
190 +/- 7
63rd
15
191 +/- 28
62nd
16
196 +/- 26
62nd
11
196 +/- 1
62nd
8
198 +/- 15
61st
3
201 +/- 1
61st
8
203 +/- 1
61st
4
205 +/- 9
61st
3
205 +/- 16
61st
5
206 +/- 5
61st
14
208 +/- 15
60th
3
216 +/- 8
52nd
3
482 +/- 1
Median
50th
497
42nd
4
645 +/- 58
42nd
3
658 +/- 65
40th
4
734 +/- 60
40th
3
738 +/- 30
39th
6
770 +/- 10
37th
3
917 +/- 8
26th
11
1093 +/- 30
Low-Tier
25th
> 1101
24th
14
1130 +/- 135
21st
4
1136 +/- 38
21st
3
1138 +/- 6
17th
3
1167 +/- 83
17th
3
1168 +/- 51
14th
3
1223 +/- 73
11th
5
1372 +/- 59
OpenBenchmarking.orgDistribution Of Public Results - Context Switch Time5748 Results Range From 64 To 28197 Clocks6462711901753231628793442400545685131569462576820738379468509907296351019810761113241188712450130131357614139147021526515828163911695417517180801864319206197692033220895214582202122584231472371024273248362539925962265252708827651282147001400210028003500

Based on OpenBenchmarking.org data, the selected test / test configuration (ctx_clock - Context Switch Time) 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 BenchmarkContext Switch TimeRun-Time246810Min: 1 / Avg: 1 / Max: 2

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

OpenBenchmarking.orgPercent, Fewer Is BetterAverage Deviation Between RunsContext Switch TimeDeviation246810Min: 0 / Avg: 0.13 / Max: 3

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 Basectx_clock CPU Core ScalingContext Switch Time2468121618243248641280.77081.54162.31243.08323.854

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
Last automated analysis: 10 May 2021

This test profile binary relies on the shared libraries libc.so.6.

Recent Test Results

OpenBenchmarking.org Results Compare

1 System - 48 Benchmark Results

AMD Ryzen 9 3900X 12-Core - Gigabyte B550M AORUS PRO-P - AMD Starship

Ubuntu 20.04 - 5.11.22-5-pve - X Server

1 System - 48 Benchmark Results

2 x Intel Xeon E5-2643 v4 - HP ProLiant ML350 Gen9 - Intel Xeon E7 v4

Ubuntu 20.04 - 5.11.22-5-pve - 1.0.2

1 System - 48 Benchmark Results

AMD Ryzen 9 3900X 12-Core - Gigabyte B550M AORUS PRO-P - AMD Starship

Ubuntu 20.04 - 5.11.22-5-pve - X Server

1 System - 48 Benchmark Results

2 x Intel Xeon E5-2643 v4 - HP ProLiant ML350 Gen9 - Intel Xeon E7 v4

Ubuntu 20.04 - 5.11.22-5-pve - 1.0.2

2 Systems - 48 Benchmark Results

2 x Intel Xeon E5-2643 v4 - HP ProLiant ML350 Gen9 - Intel Xeon E7 v4

Ubuntu 20.04 - 5.11.22-5-pve - 1.0.2

1 System - 26 Benchmark Results

2 x Intel Xeon E5-2643 v4 - HP ProLiant ML350 Gen9 - Intel Xeon E7 v4

Ubuntu 20.04 - 5.11.22-5-pve - 1.0.2

1 System - 6 Benchmark Results

2 x Intel Xeon E5-2643 v3 - ASRockRack EP2C612D16C-4L - Intel Xeon E7 v3

Ubuntu 21.10 - 5.13.0-19-generic - KDE Plasma 5.22.5

1 System - 5 Benchmark Results

2 x Intel Xeon E5-2643 v3 - ASRockRack EP2C612D16C-4L - Intel Xeon E7 v3

Ubuntu 21.10 - 5.13.0-19-generic - KDE Plasma 5.22.5

1 System - 8 Benchmark Results

2 x Intel Xeon E5-2643 v3 - ASRockRack EP2C612D16C-4L - Intel Xeon E7 v3

Ubuntu 21.10 - 5.13.0-19-generic - KDE Plasma 5.22.5

1 System - 10 Benchmark Results

2 x Intel Xeon E5-2643 v3 - ASRockRack EP2C612D16C-4L - Intel Xeon E7 v3

Ubuntu 21.10 - 5.13.0-19-generic - KDE Plasma 5.22.5

1 System - 9 Benchmark Results

2 x Intel Xeon E5-2643 v3 - ASRockRack EP2C612D16C-4L - Intel Xeon E7 v3

Ubuntu 21.10 - 5.13.0-19-generic - KDE Plasma 5.22.5

2 Systems - 26 Benchmark Results

AMD Ryzen 9 3900X 12-Core - Gigabyte B550M AORUS PRO-P - AMD Starship

Ubuntu 20.04 - 5.11.22-5-pve - GCC 9.3.0

1 System - 26 Benchmark Results

AMD Ryzen 9 3900X 12-Core - Gigabyte B550M AORUS PRO-P - AMD Starship

Ubuntu 20.04 - 5.11.22-5-pve - GCC 9.3.0

5 Systems - 42 Benchmark Results

AMD FX-6300 Six-Core - ASUS M5A97 R2.0 - AMD RD9x0

Arch rolling - 5.14.12-zen1-1-zen - X Server 1.20.13

Most Popular Test Results

OpenBenchmarking.org Results Compare

2 Systems - 535 Benchmark Results

Intel Core i7-1065G7 - Dell 06CDVY - Intel Device 34ef

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

11 Systems - 217 Benchmark Results

AMD Ryzen 9 3950X 16-Core - ASUS ROG CROSSHAIR VIII HERO - AMD Starship

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

12 Systems - 593 Benchmark Results

AMD Ryzen 7 3800XT 8-Core - MSI MEG X570 GODLIKE - AMD Starship

Ubuntu 20.04 - 5.8.0-050800daily20200622-generic - GNOME Shell 3.36.2

12 Systems - 209 Benchmark Results

POWER9 - PowerNV C1P9S01 REV 1.01 - 131072MB

Ubuntu 19.04 - 5.0.0-17-generic - GCC 9.1.0

6 Systems - 143 Benchmark Results

Intel Core i7-9750H - Dell 0VYV0G - Intel Cannon Lake PCH

Ubuntu 20.10 - 5.10.13-xanmod1 - KDE Plasma 5.19.5

4 Systems - 67 Benchmark Results

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

Ubuntu 18.04 - 5.0.0-27-generic - GNOME Shell 3.28.4

3 Systems - 173 Benchmark Results

AMD Ryzen Threadripper 3970X 32-Core - 64GB - 931GB

Ubuntu 20.04 - 4.4.0-19041-Microsoft - GCC 9.3.0

2 Systems - 123 Benchmark Results

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

Clear Linux OS 29920 - 5.1.9-781.native - GNOME Shell 3.32.2

8 Systems - 360 Benchmark Results

AMD Ryzen Threadripper 3970X 32-Core - MSI Creator TRX40 - AMD Starship

Ubuntu 19.10 - 5.4.0-999-generic - GNOME Shell 3.34.1

8 Systems - 439 Benchmark Results

Intel Core i5-10600K - Gigabyte Z490 AORUS MASTER - Intel Comet Lake PCH

Ubuntu 21.04 - 5.12.0-051200rc3daily20210315-generic - GNOME Shell 3.38.3

12 Systems - 229 Benchmark Results

AMD Ryzen 9 5900X 12-Core - ASUS ROG CROSSHAIR VIII HERO - AMD Starship

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

Find More Test Results