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.092K4K6K8K10K
* 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 21 September 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,316 public results since 18 February 2019 with the latest data as of 22 September 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
96th
8
122 +/- 4
96th
43
128 +/- 17
94th
10
135 +/- 3
88th
19
139 +/- 1
88th
3
140 +/- 6
87th
6
143 +/- 1
86th
9
144 +/- 12
85th
3
146 +/- 6
84th
3
148 +/- 1
79th
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
71st
5
160 +/- 3
70th
5
167 +/- 4
69th
13
168 +/- 21
67th
13
174 +/- 5
67th
3
174 +/- 1
67th
7
175 +/- 18
66th
8
176 +/- 3
66th
5
178 +/- 4
64th
8
184 +/- 15
63rd
7
187 +/- 15
63rd
3
190 +/- 7
62nd
15
191 +/- 28
61st
16
196 +/- 26
61st
11
196 +/- 1
61st
8
198 +/- 15
60th
3
201 +/- 1
60th
8
203 +/- 1
60th
4
205 +/- 9
60th
3
205 +/- 16
60th
5
206 +/- 5
59th
14
208 +/- 15
59th
3
216 +/- 8
Median
50th
476
50th
3
482 +/- 1
40th
4
645 +/- 58
39th
3
658 +/- 65
39th
17
658 +/- 69
38th
4
734 +/- 60
38th
3
738 +/- 30
37th
6
770 +/- 10
35th
3
917 +/- 8
Low-Tier
25th
> 1039
24th
11
1093 +/- 30
22nd
14
1130 +/- 135
19th
4
1136 +/- 38
19th
3
1138 +/- 6
15th
3
1167 +/- 83
13th
3
1223 +/- 73
10th
5
1372 +/- 59
OpenBenchmarking.orgDistribution Of Public Results - Context Switch Time5267 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.77291.54582.31873.09163.8645

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 - 22 Benchmark Results

AMD GX-415GA SOC - Inventec DQ Class - 8GB

Ubuntu 20.04.1 LTS - 5.12.16-1054.native - GCC 9.3.0

1 System - 259 Benchmark Results

AMD Ryzen 9 5950X 16-Core - ASUS PRIME B550M-A - AMD Starship

Fedora 34 - 5.14.6-xm1.0.fc34.x86_64 - KDE Plasma 5.22.4

1 System - 22 Benchmark Results

Intel Celeron J4105 - Dell 01Y1CJ - 12GB

Ubuntu 20.04.1 LTS - 5.10.19-1032.native - GCC 9.3.0

1 System - 22 Benchmark Results

AMD Ryzen 5 PRO 3500U - LENOVO 20QJ0008US - AMD Raven

Pop 21.04 - 5.13.0-7614-generic - GNOME Shell 3.38.4

1 System - 22 Benchmark Results

Intel Core i5-1135G7 - LENOVO 20W00091US - Intel Tiger Lake-LP

Pop 21.04 - 5.13.0-7614-generic - GNOME Shell 3.38.4

1 System - 22 Benchmark Results

Intel Core i7-10510U - LENOVO 20S0002NUS - Intel Comet Lake PCH-LP

Pop 21.04 - 5.13.0-7614-generic - GNOME Shell 3.38.4

1 System - 25 Benchmark Results

AMD Ryzen 5 3600 6-Core - MSI MPG X570 GAMING PLUS - AMD Starship

Linuxmint 20.2 - 5.11.0-34-generic - Cinnamon 5.0.5

1 System - 22 Benchmark Results

AMD Ryzen 9 5950X 16-Core - ASUS PRIME B550M-A - AMD Starship

Fedora 34 - 5.13.14-200.fc34.x86_64 - KDE Plasma 5.22.4

1 System - 49 Benchmark Results

AMD EPYC 7281 16-Core - GIGABYTE MZ32-AR0-00 v01000100 - AMD 17h

Rocky 8.4 - 5.14.0-1.el8.elrepo.x86_64 - GNOME Shell 3.32.2

1 System - 19 Benchmark Results

Intel Xeon E5-2620 v4 - Supermicro X10SRL-F - Intel Xeon E7 v4

Ubuntu 20.04 - 5.11.0-27-generic - GNOME Shell 3.36.9

1 System - 132 Benchmark Results

AMD EPYC 7281 16-Core - GIGABYTE MZ32-AR0-00 v01000100 - AMD 17h

Rocky 8.4 - 5.13.13-1.el8.elrepo.x86_64 - GNOME Shell 3.32.2

1 System - 132 Benchmark Results

AMD EPYC 7281 16-Core - GIGABYTE MZ32-AR0-00 v01000100 - AMD 17h

Rocky 8.4 - 5.13.13-1.el8.elrepo.x86_64 - GNOME Shell 3.32.2

3 Systems - 1 Benchmark Result

AMD Ryzen 5 5600G - ASUS TUF GAMING B550M-PLUS - AMD Renoir Root Complex

Ubuntu 21.10 - 5.14.0-051400rc7daily20210826-generic - GNOME Shell 40.2

6 Systems - 254 Benchmark Results

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

Clear Linux OS 34550 - 5.10.32-1035.native - GNOME Shell 40.0

Most Popular Test Results

OpenBenchmarking.org Results Compare

2 Systems - 535 Benchmark Results

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

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

11 Systems - 217 Benchmark Results

AMD Ryzen 7 3800XT 8-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 5 3600X 6-Core - MSI X470 GAMING M7 AC - 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

AMD Ryzen 5 3600X 6-Core - MSI X470 GAMING M7 AC - AMD Device 1480

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

8 Systems - 360 Benchmark Results

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

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

3 Systems - 173 Benchmark Results

AMD Ryzen Threadripper 3970X 32-Core - 52GB - 2 x 275GB Virtual Disk

Ubuntu 20.04 - 4.19.104-microsoft-standard - X Server

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

12 Systems - 229 Benchmark Results

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

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

8 Systems - 439 Benchmark Results

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

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

2 Systems - 1708 Benchmark Results

Intel Core i3-10100 - ASUS PRIME Z490M-PLUS - Intel Comet Lake PCH

Ubuntu 20.04 - 5.7.0-rc6-amd-energy - GNOME Shell 3.36.2

Find More Test Results