Stress-NG

Stress-NG is a Linux stress tool developed by Colin King of Canonical.

To run this test with the Phoronix Test Suite, the basic command is: phoronix-test-suite benchmark stress-ng.

Project Site

kernel.ubuntu.com

Test Created

4 June 2015

Last Updated

17 May 2020

Test Maintainer

Michael Larabel 

Test Type

System

Average Install Time

44 Seconds

Average Run Time

1 Minute, 51 Seconds

Test Dependencies

C/C++ Compiler Toolchain + Attr

Accolades

100k+ Downloads

Supported Platforms


Public Result Uploads *Reported Installs **Reported Test Completions **Test Profile Page Views ***OpenBenchmarking.orgEventsStress-NG Popularity Statisticspts/stress-ng2015.062015.082015.102015.122016.022016.042016.062016.082016.102016.122017.022017.042017.062017.082017.102017.122018.022018.042018.062018.082018.102018.122019.022019.042019.062019.082019.102019.122020.022020.042020.062020.082020.102020.122021.022021.042021.06160K320K480K640K800K
* 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 15 June 2021.
MMAP7.9%Malloc7.9%CPU Stress8.0%Vector Math9.3%Matrix Math8.7%Atomic7.8%Context Switching9.4%Glibc C String Functions7.7%Socket Activity8.3%Glibc Qsort Data Sorting8.0%Crypto9.0%Forking8.0%Test Option PopularityOpenBenchmarking.org

Revision History

pts/stress-ng-1.3.1   [View Source]   Sun, 17 May 2020 16:19:02 GMT
Stress-NG test profile works fine on macOS.

pts/stress-ng-1.3.0   [View Source]   Mon, 20 Apr 2020 14:56:16 GMT
Update against latest upstream.

pts/stress-ng-1.2.2   [View Source]   Fri, 07 Dec 2018 12:33:16 GMT
Update with FreeBSD support - https://github.com/phoronix-test-suite/test-profiles/pull/50

pts/stress-ng-1.2.1   [View Source]   Sat, 04 Nov 2017 18:07:01 GMT
Fix https://github.com/phoronix-test-suite/test-profiles/pull/6

pts/stress-ng-1.2.0   [View Source]   Tue, 21 Mar 2017 19:56:57 GMT
Update against upstream, host on PTS server to avoid broken mirror links

pts/stress-ng-1.1.0   [View Source]   Mon, 12 Dec 2016 17:57:25 GMT
Update stress-ng upstream as package of previous version seems to have changed.

pts/stress-ng-1.0.0   [View Source]   Thu, 04 Jun 2015 13:26:36 GMT
Initial stress-ng commit.

Suites Using This Test

Common Kernel Benchmarks

CPU Massive

Server CPU Tests


Performance Metrics

Analyze Test Configuration:

Stress-NG 0.11.07

Test: Context Switching

OpenBenchmarking.org metrics for this test profile configuration based on 1,700 public results since 20 April 2020 with the latest data as of 4 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
Bogo Ops/s (Average)
94th
8
29418778 +/- 2429728
93rd
30
28848254 +/- 1038029
91st
9
24493375 +/- 1092785
89th
22
21096888 +/- 2257833
87th
5
20608958 +/- 1160774
87th
9
20477881 +/- 2741835
83rd
7
16090188 +/- 1118564
82nd
3
14375054 +/- 433838
82nd
9
13857019 +/- 1928135
81st
5
12633527 +/- 684722
81st
7
11746867 +/- 785670
80th
7
11512665 +/- 761415
78th
16
10106098 +/- 690362
77th
7
9795241 +/- 442729
76th
18
8991072 +/- 1320392
Mid-Tier
75th
< 8858305
72nd
19
8377306 +/- 849311
68th
8
6773016 +/- 238382
66th
10
6107106 +/- 150463
58th
5
4874250 +/- 21972
57th
5
4671814 +/- 386826
57th
5
4512530 +/- 490162
55th
4
4171144 +/- 465928
55th
13
4061106 +/- 216613
52nd
14
3677295 +/- 256376
51st
5
3458082 +/- 223254
51st
3
3445830 +/- 188179
51st
3
3437210 +/- 459545
Median
50th
3421971
50th
4
3383494 +/- 133157
50th
43
3343453 +/- 497216
46th
3
3251449 +/- 358851
46th
7
3129529 +/- 211075
46th
6
3090338 +/- 216100
43rd
4
2902514 +/- 48649
42nd
4
2816374 +/- 5324
40th
29
2371595 +/- 154078
39th
5
2312889 +/- 65487
39th
5
2232449 +/- 287715
37th
10
2034828 +/- 52379
37th
10
2028860 +/- 159005
37th
3
2028832 +/- 72923
35th
6
1847131 +/- 276461
35th
9
1811411 +/- 96113
34th
3
1782096 +/- 9105
34th
8
1738871 +/- 257077
33rd
3
1648458 +/- 9956
33rd
6
1628315 +/- 180518
29th
4
1465869 +/- 33326
28th
3
1407290 +/- 125666
28th
3
1400953 +/- 5583
28th
3
1382398 +/- 8354
28th
9
1369584 +/- 116057
28th
3
1365036 +/- 88579
Low-Tier
25th
< 1326771
25th
4
1275790 +/- 122128
21st
3
1226408 +/- 16859
20th
4
1114934 +/- 165937
20th
4
1088746 +/- 116195
19th
7
1021356 +/- 119964
19th
3
1017095 +/- 114167
19th
3
1012480 +/- 38219
19th
5
1006290 +/- 22868
17th
6
910278 +/- 46641
16th
3
869485 +/- 5447
16th
4
820148 +/- 56243
15th
4
759825 +/- 57207
11th
4
618289 +/- 33016
10th
3
571065 +/- 48588
9th
3
473892 +/- 7771
2nd
5
131899 +/- 6803
OpenBenchmarking.orgDistribution Of Public Results - Test: Context Switching1700 Results Range From 41829 To 129731540 Bogo Ops/s418292635624522941978232141041700913010804156045991819839420792189233859842597977928573574311673693376116436354959389487544154254944136344467301394932393451917729545115245710531959699114622929096488670467480499700742947266808975261884778556798044947483043269856370648823085990824654934184499601224498606039101199834103793629106387424108981219111575014114168809116762604119356399121950194124543989127137784129731579150300450600750

Based on OpenBenchmarking.org data, the selected test / test configuration (Stress-NG 0.11.07 - Test: Context Switching) has an average run-time of 4 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 BenchmarkTest: Context SwitchingRun-Time3691215Min: 1 / Avg: 3.52 / Max: 10

Based on public OpenBenchmarking.org results, the selected test / test configuration has an average standard deviation of 2.6%.

OpenBenchmarking.orgPercent, Fewer Is BetterAverage Deviation Between RunsTest: Context SwitchingDeviation612182430Min: 0 / Avg: 2.55 / Max: 29

Does It Scale Well With Increasing Cores?

Yes, based on the automated analysis of the collected public benchmark data, this test / test settings does 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.

AMDIntelOpenBenchmarking.orgRelative Core Scaling To BaseStress-NG CPU Core ScalingTest: Context Switching46816243264612182430

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
SSE2 (SSE2)
Used by default on supported hardware.
 
CVTSI2SD MULSD CVTSS2SD COMISD MOVAPD DIVSD SUBSD ADDSD MOVDQA PADDQ PSRLDQ CVTSD2SS MOVD UCOMISD SQRTSD CVTTSD2SI ANDPD ANDNPD ORPD UNPCKLPD MOVUPD SUBPD MULPD UNPCKHPD CLFLUSH PMULUDQ PSHUFD PSUBQ PUNPCKLQDQ MOVDQU MAXSD MINSD ADDPD
SSE3 (SSE3)
Used by default on supported hardware.
 
MOVDDUP
SSSE3 (SSSE3)
Used by default on supported hardware.
 
PSHUFB
SSE 4.2 (SSE4_2)
Used by default on supported hardware.
Found on Intel processors since at least 2010.
Found on AMD processors since Bulldozer (2011).

 
POPCNT
Used by default on supported hardware.
Found on Intel processors since Sandy Bridge (2011).
Found on AMD processors since Bulldozer (2011).

 
VZEROUPPER VEXTRACTF128 VINSERTF128 VBROADCASTSS VBROADCASTSD
Used by default on supported hardware.
Found on Intel processors since Haswell (2013).
Found on AMD processors since Excavator (2016).

 
VEXTRACTI128 VPBROADCASTQ VPERM2I128 VGATHERQPD VPGATHERQQ
FMA (FMA)
Used by default on supported hardware.
Found on Intel processors since Haswell (2013).
Found on AMD processors since Bulldozer (2011).

 
VFMADD231SS VFMADD132SS VFNMADD132SS VFMADD132SD VFMADD231SD VFMSUB231SD VFMSUB231SS VFMADD213SD VFMADD213PD VFMADD132PD VFNMADD132SD VFNMADD231SD
The test / benchmark does honor compiler flag changes.
Last automated analysis: 10 May 2021

This test profile binary relies on the shared libraries libm.so.6, libcrypt.so.1, librt.so.1, libz.so.1, libdl.so.2, libpthread.so.0, libc.so.6.

Recent Test Results

OpenBenchmarking.org Results Compare

1 System - 4 Benchmark Results

2 x Intel Xeon Gold 5220R - HPE ProLiant DL360 Gen10 - Intel Sky Lake-E DMI3 Registers

Ubuntu 18.04 - 4.15.0-140-generic - GCC 7.5.0

1 System - 2 Benchmark Results

2 x Intel Xeon Gold 5220R - HPE ProLiant DL360 Gen10 - Intel Sky Lake-E DMI3 Registers

Ubuntu 18.04 - 4.15.0-140-generic - GCC 7.5.0

16 Systems - 36 Benchmark Results

ARMv8 rev 0 - Jetson-AGX - 16GB

Ubuntu 18.04 - 4.9.201-tegra - Unity 7.5.0

15 Systems - 36 Benchmark Results

ARMv8 rev 0 - Jetson-AGX - 16GB

Ubuntu 18.04 - 4.9.201-tegra - Unity 7.5.0

14 Systems - 28 Benchmark Results

ARMv8 rev 0 - Jetson-AGX - 16GB

Ubuntu 18.04 - 4.9.201-tegra - Unity 7.5.0

13 Systems - 28 Benchmark Results

ARMv8 rev 0 - Jetson-AGX - 16GB

Ubuntu 18.04 - 4.9.201-tegra - Unity 7.5.0

Most Popular Test Results

Find More Test Results