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.072K4K6K8K10K
* 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 July 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 3,850 public results since 18 February 2019 with the latest data as of 25 July 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
4
100 +/- 6
99th
3
101 +/- 1
99th
3
104 +/- 15
97th
4
116 +/- 12
97th
3
117 +/- 6
95th
8
122 +/- 4
94th
42
128 +/- 17
91st
10
135 +/- 3
86th
19
139 +/- 1
86th
3
140 +/- 6
85th
6
143 +/- 1
84th
9
144 +/- 12
82nd
3
146 +/- 6
81st
3
148 +/- 1
78th
27
149 +/- 4
77th
24
150 +/- 4
Mid-Tier
75th
> 150
73rd
5
153 +/- 4
71st
19
157 +/- 8
70th
5
160 +/- 3
70th
10
161 +/- 20
68th
5
167 +/- 4
65th
12
174 +/- 6
65th
11
174 +/- 17
65th
3
174 +/- 1
65th
7
175 +/- 18
64th
8
176 +/- 3
61st
8
184 +/- 15
59th
3
190 +/- 7
58th
15
191 +/- 28
57th
11
196 +/- 1
57th
15
197 +/- 26
57th
8
198 +/- 15
56th
3
201 +/- 1
56th
8
203 +/- 1
55th
3
205 +/- 16
55th
4
205 +/- 9
55th
5
206 +/- 5
55th
14
208 +/- 15
54th
3
216 +/- 8
Median
50th
266
43rd
3
482 +/- 1
32nd
4
645 +/- 58
31st
3
658 +/- 65
31st
17
658 +/- 69
29th
4
734 +/- 60
29th
3
738 +/- 30
27th
6
770 +/- 10
Low-Tier
25th
> 825
24th
3
917 +/- 8
16th
11
1093 +/- 30
14th
14
1130 +/- 135
12th
4
1136 +/- 38
12th
3
1138 +/- 6
10th
3
1167 +/- 83
9th
3
1223 +/- 73
6th
5
1372 +/- 59
OpenBenchmarking.orgDistribution Of Public Results - Context Switch Time3850 Results Range From 64 To 28197 Clocks6462711901753231628793442400545685131569462576820738379468509907296351019810761113241188712450130131357614139147021526515828163911695417517180801864319206197692033220895214582202122584231472371024273248362539925962265252708827651282146001200180024003000

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.2%.

OpenBenchmarking.orgPercent, Fewer Is BetterAverage Deviation Between RunsContext Switch TimeDeviation246810Min: 0 / Avg: 0.17 / 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 Basectx_clock CPU Core ScalingContext Switch Time2468121618243248641281.09062.18123.27184.36245.453

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

7 Systems - 1 Benchmark Result

Intel Core i5-4670K - MSI Z87-G41 PC Mate - Intel 4th Gen Core DRAM

Ubuntu 20.04 - 5.4.134-0504134+customfull-generic - GNOME Shell 3.36.9

6 Systems - 10 Benchmark Results

Intel Core i7-10510U - System76 Lemur Pro - Intel Device 02ef

Pop 20.04 - 5.4.0-7634-generic - GNOME Shell 3.36.4

1 System - 62 Benchmark Results

4 x Intel Xeon Gold 6254 - HPE ProLiant DL560 Gen10 - Intel Sky Lake-E DMI3 Registers

RedHatEnterpriseServer 7.9 - 3.10.0-1160.31.1.el7.x86_64 - GNOME Shell 3.28.3

1 System - 33 Benchmark Results

AMD Ryzen 9 5950X 16-Core - ASUS TUF GAMING X570-PRO - AMD Starship

Debian 11 - 5.10.0-7-amd64 - GNOME Shell 3.38.4

1 System - 1 Benchmark Result

Intel Core i5-6200U - LENOVO 20FBCTO1WW - Intel Xeon E3-1200 v5

Arch rolling - 5.13.1-arch1-1 - GNOME Shell 40.3

1 System - 1 Benchmark Result

Intel Core i5-6200U - LENOVO 20FBCTO1WW - Intel Xeon E3-1200 v5

Arch rolling - 5.13.1-arch1-1 - GNOME Shell 40.3

1 System - 1 Benchmark Result

1 System - 1 Benchmark Result

Intel Core i7-1165G7 - Dynabook A010D/0001 - Intel Tiger Lake-LP

Slackware 15.0 x86_64 - 5.13.2 - Xfce 4.16

1 System - 1 Benchmark Result

AMD Ryzen 7 3700X 8-Core - ASRock B450 Pro4 - AMD Starship

Fedora 34 - 5.12.11-300.fc34.x86_64 - GNOME Shell 40.2

25 Systems - 93 Benchmark Results

AMD EPYC 3255 8-Core Temp - congatec conga-B7E3 - AMD 17h

Ubuntu 16.04 - 4.4.0-186-generic - NVIDIA

1 System - 1 Benchmark Result

24 Systems - 93 Benchmark Results

AMD EPYC 3255 8-Core Temp - congatec conga-B7E3 - AMD 17h

Ubuntu 16.04 - 4.4.0-186-generic - NVIDIA

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 3900X 12-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 5800X 8-Core - Gigabyte X570 AORUS MASTER - AMD Starship

Fedora 33 - 5.8.16-300.fc33.x86_64 - GNOME Shell 3.38.1

12 Systems - 209 Benchmark Results

Intel Core i5-9400F - MSI B360M GAMING PLUS - Intel Cannon Lake PCH

Ubuntu 19.04 - 5.2.0-999-generic - GNOME Shell 3.32.1

6 Systems - 143 Benchmark Results

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

Ubuntu 20.10 - 5.10.7-051007-generic - GNOME Shell 3.38.1

8 Systems - 360 Benchmark Results

Intel Core i9-10980XE - Gigabyte X299X DESIGNARE 10G - Intel Sky Lake-E DMI3 Registers

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

3 Systems - 173 Benchmark Results

AMD Ryzen Threadripper 3970X 32-Core - ASUS ROG ZENITH II EXTREME - AMD Starship

Ubuntu 20.04 - 5.4.0-37-generic - GNOME Shell 3.36.2

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

4 Systems - 67 Benchmark Results

Intel Core i7-3960X - Intel DX79SI - Intel Xeon E5

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

5 Systems - 29 Benchmark Results

4 x QEMU Virtual 2.5+ - QEMU Standard PC - Intel 440FX- 82441FX PMC

Ubuntu 18.04 - 4.15.0-88-generic - ext4

Find More Test Results