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

31 Seconds

Test Dependencies

C/C++ Compiler Toolchain

Accolades

30k+ Downloads

Supported Platforms


Public Result Uploads *Reported Installs **Reported Test Completions **Test Profile Page Views ***OpenBenchmarking.orgEventsctx_clock Popularity Statisticspts/ctx-clock2019.022019.042019.062019.082019.102019.122020.022020.042020.062020.082020.102020.122021.022021.042021.062021.082021.102021.122022.022022.042022.062022.082022.102022.122023.022023.042023.062023.082023.102023.122024.022024.045K10K15K20K25K
* 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 updated weekly as of 13 April 2024.

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,156 public results since 18 February 2019 with the latest data as of 18 April 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
Clocks (Average)
100th
3
68 +/- 2
100th
20
81 +/- 2
99th
4
88 +/- 12
99th
38
92 +/- 9
98th
3
104 +/- 15
98th
5
105 +/- 13
97th
7
112 +/- 10
96th
10
120 +/- 1
93rd
6
123 +/- 2
92nd
41
128 +/- 18
90th
23
132 +/- 9
88th
3
134 +/- 1
88th
4
134 +/- 1
87th
10
135 +/- 3
86th
13
136 +/- 9
84th
3
138 +/- 11
84th
4
138 +/- 4
83rd
18
139 +/- 1
81st
9
144 +/- 12
Mid-Tier
75th
> 149
75th
30
150 +/- 7
75th
24
150 +/- 4
75th
10
150 +/- 1
71st
5
153 +/- 7
70th
8
155 +/- 2
69th
6
157 +/- 9
69th
3
158 +/- 2
69th
23
158 +/- 17
68th
3
159 +/- 2
68th
25
160 +/- 12
67th
4
163 +/- 9
66th
7
165 +/- 18
66th
26
167 +/- 20
63rd
12
173 +/- 10
62nd
12
174 +/- 6
62nd
3
174 +/- 1
62nd
7
175 +/- 18
61st
6
176 +/- 3
61st
5
178 +/- 4
60th
4
180 +/- 13
57th
11
182 +/- 11
57th
10
185 +/- 1
55th
7
187 +/- 12
54th
4
189 +/- 6
54th
3
189 +/- 12
54th
5
190 +/- 23
52nd
8
194 +/- 19
51st
3
196 +/- 6
51st
11
196 +/- 1
Median
50th
196
50th
8
198 +/- 15
50th
3
201 +/- 1
49th
3
202 +/- 28
49th
8
203 +/- 1
49th
5
206 +/- 5
47th
3
216 +/- 8
47th
11
217 +/- 1
45th
4
229 +/- 20
35th
4
358 +/- 1
28th
11
561 +/- 31
Low-Tier
25th
> 612
24th
4
645 +/- 58
23rd
3
658 +/- 65
21st
4
734 +/- 60
20th
6
770 +/- 10
18th
4
864 +/- 83
17th
3
917 +/- 8
15th
4
968 +/- 4
11th
3
1074 +/- 50
11th
4
1079 +/- 32
11th
11
1093 +/- 30
9th
11
1124 +/- 141
9th
4
1136 +/- 38
8th
3
1154 +/- 21
8th
3
1167 +/- 83
8th
3
1168 +/- 51
6th
3
1223 +/- 73
5th
14
1317 +/- 75
4th
5
1372 +/- 59
2nd
3
1718 +/- 239
2nd
19
1769 +/- 207
OpenBenchmarking.orgDistribution Of Public Results - Context Switch Time4150 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.2%.

OpenBenchmarking.orgPercent, Fewer Is BetterAverage Deviation Between RunsContext Switch TimeDeviation246810Min: 0 / Avg: 0.18 / 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 Time246810121416243248641280.71881.43762.15642.87523.594

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: 17 January 2022

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

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)
Intel / AMD x86 32-bit
i686
(Many Processors)

Recent Test Results

OpenBenchmarking.org Results Compare

1 System - 27 Benchmark Results

Intel Core i9-13900K - ASUS ProArt Z790-CREATOR WIFI - Intel Device 7a27

Clear Linux OS 38020 - 5.15.86-30.lts2021 - GCC 12.2.1 20230105 releases

1 System - 33 Benchmark Results

2 x AMD EPYC 9684X 96-Core - Dell PowerEdge R7625 [06444F] - AMD Device 14a4

Ubuntu 22.04 - 5.15.0-102-generic - 1.3.255

1 System - 33 Benchmark Results

2 x AMD EPYC 9754 128-Core - Dell PowerEdge R7625 [06444F] - AMD Device 14a4

Ubuntu 22.04 - 5.15.0-102-generic - 1.3.255

1 System - 37 Benchmark Results

AMD Ryzen 7 5825U - Dinson DS2202 - AMD Renoir

Linuxmint 21.2 - 5.15.0-76-generic - X Server 1.21.1.4

1 System - 15 Benchmark Results

AMD Ryzen 9 7950X 16-Core - 16GB - 0GB Virtual Disk + 4GB Virtual Disk + 1100GB Virtual Disk

Ubuntu 22.04 - 5.15.146.1-microsoft-standard-WSL2 - Wayland

1 System - 145 Benchmark Results

2 x Intel Xeon Silver 4310 - Inspur NF5280M6 - Intel Device 0998

JHLT 3.1 - 3.10.0-1062.lt3.x86_64 - GCC 4.8.5 20150623

1 System - 43 Benchmark Results

AMD Eng Sample 100-000000897-03 - Supermicro H13SSL-N v1.01 - AMD Device 14a4

Pop 22.04 - 6.8.0-76060800daily20240311-generic - GNOME Shell 42.5

1 System - 37 Benchmark Results

AMD Ryzen 9 7950X 16-Core - Supermicro H13SAE-MF v1.00 - AMD Device 14d8

Debian 12 - 6.1.0-18-amd64 - GCC 12.2.0

1 System - 37 Benchmark Results

Intel Xeon Gold 5416S - Supermicro X13SEW-TF v1.02 - Intel Device 1bce

Debian 12 - 6.1.0-18-amd64 - GCC 12.2.0

1 System - 37 Benchmark Results

AMD Ryzen 9 7950X 16-Core - Supermicro H13SAE-MF v1.00 - AMD Device 14d8

Debian 12 - 6.1.0-18-amd64 - GCC 12.2.0

1 System - 37 Benchmark Results

Intel Xeon Gold 5416S - Supermicro X13SEW-TF v1.02 - Intel Device 1bce

Debian 12 - 6.1.0-18-amd64 - GCC 12.2.0

1 System - 37 Benchmark Results

AMD Ryzen Threadripper 7960X 24-Cores - ASRock TRX50 WS - AMD Device 14a4

Ubuntu 22.04 - 6.5.0-25-generic - GNOME Shell 42.9

1 System - 37 Benchmark Results

Intel Atom x6425E - v1.1 - Intel Device 4b7f

Ubuntu 20.04 - 5.15.0-91-generic - LXQt 0.14.1

1 System - 25 Benchmark Results

Intel Core i9-10900X - ASUS ROG STRIX X299-E GAMING II - Intel Sky Lake-E DMI3 Registers

Ubuntu 22.04 - 6.5.0-21-generic - GNOME Shell 42.9

1 System - 37 Benchmark Results

AMD Ryzen 5 3600 6-Core - ASRock B550M-ITX/ac - AMD Starship

Ubuntu 22.04 - 6.5.0-1014-oem - OpenCL 3.0 + OpenCL 2.0 pocl 1.8 Linux +Asserts RELOC LLVM 11.1.0 SLEEF DISTRO POCL_DEBUG

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

9 Systems - 7 Benchmark Results

Intel Core i3-3110M - LENOVO - Intel 3rd Gen Core DRAM

VoidLinux rolling - 5.11.21_1 - X Server 1.20.11

11 Systems - 217 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

12 Systems - 593 Benchmark Results

AMD Ryzen 9 5900X 12-Core - ASRock X570 Taichi - AMD Starship

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

22 Systems - 46 Benchmark Results

Intel Core i9-9900K - ASRock Z390M Pro4 - Intel Cannon Lake PCH

Ubuntu 20.10 - 5.10.4-051004-generic - GNOME Shell 3.38.1

12 Systems - 209 Benchmark Results

POWER9 - PowerNV C1P9S01 REV 1.01 - 131072MB

Ubuntu 19.04 - 5.0.0-17-generic - GCC 9.1.0

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

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

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

8 Systems - 439 Benchmark Results

AMD Ryzen 7 5800X 8-Core - ASUS ROG CROSSHAIR VIII HERO - AMD Starship

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

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

6 Systems - 57 Benchmark Results

AMD Ryzen 7 2700X Eight-Core - ASUS ROG CROSSHAIR VII HERO - AMD Family 17h

Ubuntu 18.10 - 5.0.0-999-generic - GNOME Shell 3.30.1

Find More Test Results