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

1 Second

Average Run Time

32 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.062K4K6K8K10K
* 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 June 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 4,387 public results since 18 February 2019 with the latest data as of 16 June 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
3
117 +/- 6
96th
8
122 +/- 4
95th
42
128 +/- 17
92nd
10
135 +/- 3
87th
19
139 +/- 1
87th
3
140 +/- 6
86th
6
143 +/- 1
85th
9
144 +/- 12
84th
3
146 +/- 6
83rd
3
148 +/- 1
79th
27
149 +/- 4
78th
24
150 +/- 4
Mid-Tier
75th
> 152
74th
5
153 +/- 4
71st
5
160 +/- 3
70th
14
162 +/- 1
69th
5
167 +/- 4
67th
3
174 +/- 1
67th
12
174 +/- 6
67th
11
174 +/- 17
66th
7
175 +/- 18
66th
8
176 +/- 3
63rd
8
184 +/- 15
61st
3
190 +/- 7
61st
15
191 +/- 28
60th
11
196 +/- 1
60th
15
197 +/- 26
59th
8
198 +/- 15
59th
3
201 +/- 1
59th
8
203 +/- 1
58th
4
205 +/- 9
58th
5
206 +/- 5
58th
14
208 +/- 15
57th
3
216 +/- 8
Median
50th
389
47th
3
482 +/- 1
37th
4
645 +/- 58
36th
3
658 +/- 65
36th
17
658 +/- 69
34th
4
734 +/- 60
33rd
6
770 +/- 10
30th
3
917 +/- 8
Low-Tier
25th
> 1035
20th
11
1093 +/- 30
19th
14
1130 +/- 135
16th
4
1136 +/- 38
16th
3
1138 +/- 6
13th
3
1167 +/- 83
11th
3
1223 +/- 73
8th
5
1372 +/- 59
OpenBenchmarking.orgDistribution Of Public Results - Context Switch Time4387 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.15 / 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 - 25 Benchmark Results

Intel Core i7-9700K - Gigabyte Z390 I AORUS PRO WIFI-CF - Intel Cannon Lake PCH

Ubuntu 20.04 - 5.8.0-55-generic - GNOME Shell 3.36.9

1 System - 25 Benchmark Results

AMD Ryzen 7 PRO 4750G - ASUS TUF GAMING X570-PLUS - AMD Renoir Root Complex

Ubuntu 20.04 - 5.8.0-55-generic - GNOME Shell 3.36.7

1 System - 17 Benchmark Results

Intel Xeon E5-2698 v4 - FUJITSU D3348-B2 - Intel Xeon E7 v4

Ubuntu 20.04 - 5.4.0-74-generic - MATE 1.24.0

1 System - 23 Benchmark Results

2 x Intel Xeon E5-2650 v4 - Supermicro X10DRi-LN4+ v1.01 - Intel Xeon E7 v4

Ubuntu 21.04 - 5.11.0-18-generic - 1.0.2

1 System - 24 Benchmark Results

Intel Core i5-6300U - LENOVO 20FAS14J01 - Intel Xeon E3-1200 v5

Ubuntu 20.04 - 5.6.9-050609-generic - X Server 1.20.9

1 System - 62 Benchmark Results

AMD EPYC 7402P 24-Core - GIGABYTE MZ22-G20-00 v01000100 - AMD Device 1480

Ubuntu 16.04 - 4.15.0-142-generic - Unity 7.4.5

1 System - 63 Benchmark Results

AMD EPYC 7402P 24-Core - GIGABYTE MZ22-G20-00 v01000100 - AMD Device 1480

Ubuntu 16.04 - 4.15.0-142-generic - Unity 7.4.5

7 Systems - 20 Benchmark Results

AMD EPYC - Hetzner vServer v20171111 - 1 x 8000 MB RAM QEMU

Debian 11 - 5.10.35-rt39-xanmod1 - GCC 10.2.1 20210110

1 System - 25 Benchmark Results

2 x Intel Xeon - OpenStack Foundation Nova v21.0.0 - Intel 440FX 82441FX PMC

Ubuntu 20.04 - 5.4.0-74-generic - GCC 9.3.0

1 System - 25 Benchmark Results

2 x Intel Xeon - OpenStack Foundation Nova v21.0.0 - Intel 440FX 82441FX PMC

Ubuntu 20.04 - 5.4.0-74-generic - GCC 9.3.0

6 Systems - 20 Benchmark Results

AMD EPYC - Hetzner vServer v20171111 - 1 x 8000 MB RAM QEMU

Debian 10 - 4.19.0-16-amd64 - GCC 8.3.0

5 Systems - 20 Benchmark Results

AMD EPYC - Hetzner vServer v20171111 - 1 x 8000 MB RAM QEMU

Debian 11 - 5.12.8-051208-generic - GCC 10.2.1 20210110

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 9 3900XT 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 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

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-xanmod1 - GNOME Shell 3.38.1

8 Systems - 360 Benchmark Results

AMD Ryzen Threadripper 3960X 24-Core - MSI Creator TRX40 - 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

ManjaroLinux 18.0.4 - 4.19.49-1-MANJARO - Xfce 4.13

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

3 Systems - 21 Benchmark Results

AMD Ryzen 3 PRO 4450U - LENOVO 20U6S1SD00 - AMD Renoir Root Complex

Arch rolling - 5.10.16-zen1-1-zen - GNOME Shell 3.38.3

Find More Test Results