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

Last Updated

18 February 2019

Test Maintainer

Michael Larabel 

Test Type

System

Average Install Time

1 Second

Average Run Time

33 Seconds

Test Dependencies

C/C++ Compiler Toolchain

Accolades

20k+ Downloads

Supported Platforms


Public Result UploadsReported Installs*Test Completions*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.042K4K6K8K10K
* 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.
Data current as of Mon, 12 Apr 2021 12:33:36 GMT.

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,508 public results since 18 February 2019 with the latest data as of 10 April 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
# Matching Public Results
Clocks (Average)
100th
3
68 +/- 2
100th
20
81 +/- 2
100th
4
100 +/- 6
99th
3
104 +/- 15
98th
3
117 +/- 6
97th
8
122 +/- 4
96th
41
128 +/- 17
94th
10
135 +/- 3
88th
19
139 +/- 1
88th
3
140 +/- 6
87th
6
143 +/- 1
87th
9
144 +/- 12
80th
27
149 +/- 4
77th
24
150 +/- 4
Mid-Tier
75th
> 152
75th
5
153 +/- 4
71st
5
160 +/- 3
70th
5
167 +/- 4
68th
12
174 +/- 6
68th
3
174 +/- 1
68th
11
174 +/- 17
67th
7
175 +/- 18
67th
8
176 +/- 3
65th
8
184 +/- 15
64th
3
190 +/- 7
63rd
15
191 +/- 28
62nd
11
196 +/- 1
62nd
8
198 +/- 15
62nd
3
201 +/- 1
62nd
12
201 +/- 28
61st
8
203 +/- 1
61st
4
205 +/- 9
61st
5
206 +/- 5
61st
14
208 +/- 15
60th
3
216 +/- 8
53rd
3
482 +/- 1
Median
50th
497
42nd
4
645 +/- 58
41st
17
658 +/- 69
41st
3
658 +/- 65
40th
3
737 +/- 73
39th
6
770 +/- 10
37th
3
917 +/- 8
Low-Tier
25th
> 1066
25th
11
1093 +/- 30
23rd
14
1130 +/- 135
19th
4
1136 +/- 38
19th
3
1138 +/- 6
18th
3
1167 +/- 83
16th
3
1223 +/- 73
12th
5
1372 +/- 59
OpenBenchmarking.orgDistribution Of Public Results - Context Switch Time5485 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: 3

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.12 / 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 Time2468121618243248640.7251.452.1752.93.625

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: 30 January 2021

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

Recent Test Results

OpenBenchmarking.org Results Compare

12 Systems - 453 Benchmark Results

Intel Core i9-10900K - Gigabyte Z490 AORUS MASTER - Intel Comet Lake PCH

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

1 System - 206 Benchmark Results

2 x Intel $0000% - Supermicro X12DPi-N6 v1.00 - Intel Device 0998

CentOS Linux 8 - 4.18.0-80.el8.x86_64 - GCC 8.3.1 20191121

1 System - 24 Benchmark Results

Intel Xeon - Red Hat RHEL-AV - Intel 82G33

Debian 9.12 - 4.9.0-12-amd64 - GCC 6.3.0 20170516

1 System - 24 Benchmark Results

Intel Xeon - Red Hat RHEL-AV - Intel 82G33

Debian 9.12 - 4.9.0-12-amd64 - GCC 6.3.0 20170516

1 System - 24 Benchmark Results

Intel Core - Red Hat RHEL-AV - Intel 82G33

Debian 9.12 - 4.9.0-12-amd64 - GCC 6.3.0 20170516

1 System - 197 Benchmark Results

2 x Intel $0000% - Supermicro X12DPi-N6 v1.00 - Intel Device 0998

CentOS Linux 8 - 4.18.0-80.el8.x86_64 - GNOME Shell 3.28.3

1 System - 23 Benchmark Results

Intel Core i7-10710U - Intel NUC10i7FNB - Intel Device 02ef

Ubuntu 20.10 - 5.8.0-48-generic - GNOME Shell 3.38.1

1 System - 25 Benchmark Results

Intel Xeon E3-1225 v6 - (2.002 BIOS) - Intel Xeon E3-1200 v6

Ubuntu 20.04 - 5.4.0-70-generic - 1.2.145

1 System - 105 Benchmark Results

Intel Core - Red Hat RHEL-AV - Intel 82G33

Debian 9.12 - 4.9.0-12-amd64 - GCC 6.3.0 20170516

1 System - 12 Benchmark Results

Intel Xeon Gold 6338N - Nokia Solutions and s AE-SER1UW-A/AF1829.01 - Intel Device 0998

CentOS Linux 8 - 4.18.0-240.el8.x86_64 - GNOME Shell 3.32.2

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

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

11 Systems - 217 Benchmark Results

AMD Ryzen 5 2600 Six-Core - ASUS ROG CROSSHAIR VIII HERO - AMD 17h

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

12 Systems - 209 Benchmark Results

AMD Ryzen 7 2700 Eight-Core - Gigabyte AB350N-Gaming WIFI-CF - AMD 17h

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.0-7.1-liquorix-amd64 - 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

5 Systems - 29 Benchmark Results

4 x Intel Xeon E312xx (Sandy Bridge) - 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

1 System - 248 Benchmark Results

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

Ubuntu 18.04 - 5.2.0-999-generic - GNOME Shell 3.28.3

6 Systems - 45 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