Ngspice

Ngspice is an open-source SPICE circuit simulator. Ngspice was originally based on the Berkeley SPICE electronic circuit simulator. Ngspice supports basic threading using OpenMP. This test profile is making use of the ISCAS 85 benchmark circuits.

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

Test Created

7 February 2021

Test Maintainer

Michael Larabel 

Test Type

Processor

Average Install Time

1 Minute, 16 Seconds

Average Run Time

9 Minutes, 33 Seconds

Test Dependencies

C/C++ Compiler Toolchain + Bison + Flex + X.Org Development + Freetype + FFTW

Accolades

5k+ Downloads

Supported Platforms


Public Result Uploads *Reported Installs **Reported Test Completions **Test Profile Page Views ***OpenBenchmarking.orgEventsNgspice Popularity Statisticspts/ngspice2021.022021.032021.042021.052021.062021.072021.082021.092021.102021.112021.122022.012022.022022.032022.042022.052022.062022.072022.082022.092022.102022.112022.1211002200330044005500
* 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 3 December 2022.
C755248.6%C267051.4%Circuit Option PopularityOpenBenchmarking.org

Revision History

pts/ngspice-1.0.0   [View Source]   Sun, 07 Feb 2021 08:55:14 GMT
Initial commit of NGSPICE circuit simulator benchmark.

Suites Using This Test

Creator Workloads

Electronic Design


Performance Metrics

Analyze Test Configuration:

Ngspice 34

Circuit: C2670

OpenBenchmarking.org metrics for this test profile configuration based on 1,129 public results since 7 February 2021 with the latest data as of 29 November 2022.

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
Seconds (Average)
100th
9
53 +/- 3
94th
14
72 +/- 5
92nd
3
73 +/- 1
86th
6
93 +/- 5
84th
7
98 +/- 1
83rd
10
100 +/- 12
83rd
23
100 +/- 12
77th
3
107 +/- 1
76th
4
108 +/- 1
Mid-Tier
75th
> 108
75th
9
109 +/- 13
75th
3
109 +/- 2
72nd
6
112 +/- 1
69th
8
117 +/- 4
69th
8
117 +/- 2
65th
7
121 +/- 1
60th
3
127 +/- 1
60th
6
127 +/- 1
60th
7
127 +/- 1
57th
17
130 +/- 19
56th
10
132 +/- 3
55th
6
133 +/- 6
55th
16
134 +/- 9
53rd
6
135 +/- 15
52nd
8
136 +/- 2
Median
50th
137
48th
3
139 +/- 1
45th
6
142 +/- 4
45th
3
142 +/- 1
45th
10
142 +/- 8
44th
4
143 +/- 9
43rd
3
144 +/- 1
39th
6
149 +/- 2
38th
18
151 +/- 13
38th
3
151 +/- 1
38th
4
151 +/- 3
37th
9
152 +/- 7
36th
5
154 +/- 1
36th
3
154 +/- 2
34th
9
155 +/- 3
33rd
3
156 +/- 1
32nd
3
157 +/- 1
31st
11
159 +/- 8
29th
4
162 +/- 1
28th
4
164 +/- 2
27th
3
166 +/- 1
26th
3
168 +/- 1
Low-Tier
25th
> 169
24th
5
171 +/- 1
22nd
4
173 +/- 2
22nd
9
173 +/- 19
22nd
5
173 +/- 1
20th
5
175 +/- 1
20th
6
175 +/- 4
20th
6
175 +/- 5
19th
4
176 +/- 3
19th
5
177 +/- 2
19th
4
177 +/- 1
18th
8
178 +/- 25
16th
5
184 +/- 1
15th
11
185 +/- 12
15th
6
186 +/- 18
15th
3
187 +/- 2
14th
3
189 +/- 1
14th
3
189 +/- 1
13th
3
190 +/- 1
13th
3
191 +/- 1
13th
5
194 +/- 15
12th
4
196 +/- 8
10th
3
202 +/- 5
9th
3
206 +/- 2
9th
3
207 +/- 1
8th
3
210 +/- 2
8th
5
212 +/- 3
6th
3
227 +/- 2
5th
4
237 +/- 3
3rd
4
252 +/- 3
2nd
4
374 +/- 3
OpenBenchmarking.orgDistribution Of Public Results - Circuit: C26701127 Results Range From 51 To 971 Seconds518111114117120123126129132135138141144147150153156159162165168171174177180183186189192195198170140210280350

Based on OpenBenchmarking.org data, the selected test / test configuration (Ngspice 34 - Circuit: C2670) has an average run-time of 9 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 BenchmarkCircuit: C2670Run-Time714212835Min: 3 / Avg: 8.62 / Max: 34

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

OpenBenchmarking.orgPercent, Fewer Is BetterAverage Deviation Between RunsCircuit: C2670Deviation246810Min: 0 / Avg: 0.57 / 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 BaseNgspice CPU Core ScalingCircuit: C26702468121618243248641280.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
SSE2 (SSE2)
Used by default on supported hardware.
 
CVTTSD2SI DIVSD SUBSD MOVAPD ADDSD UCOMISD COMISD XORPD MULSD ANDPD CVTSI2SD CVTSD2SS MOVDQU SQRTSD MOVDQA MAXSD ANDNPD ORPD
Requires passing a supported compiler/build flag (verified with targets: sandybridge, skylake, tigerlake, cascadelake, sapphirerapids, alderlake, znver2, znver3).
Found on Intel processors since Sandy Bridge (2011).
Found on AMD processors since Bulldozer (2011).

 
VZEROUPPER VINSERTF128 VPERM2F128 VEXTRACTF128 VBROADCASTSD VPERMILPD VBROADCASTSS
Requires passing a supported compiler/build flag (verified with targets: skylake, tigerlake, cascadelake, sapphirerapids, alderlake, znver2, znver3).
Found on Intel processors since Haswell (2013).
Found on AMD processors since Excavator (2016).

 
VPERM2I128 VEXTRACTI128 VPBROADCASTD VPERMPD VPBROADCASTQ VPERMQ VGATHERQPD VINSERTI128 VPMASKMOVD
FMA (FMA)
Requires passing a supported compiler/build flag (verified with targets: skylake, tigerlake, cascadelake, sapphirerapids, alderlake, znver2, znver3).
Found on Intel processors since Haswell (2013).
Found on AMD processors since Bulldozer (2011).

 
VFNMADD132SD VFMADD132SD VFMADD213SD VFNMADD213SD VFMADD231SD VFMADD132PD VFMADD213PD VFNMADD231SD VFMSUB213SD VFNMSUB132SD VFMSUB231SD VFMSUB132SD VFNMSUB213SD VFNMSUB231SD VFMADD231PD VFNMADD132PD VFNMADD213PD VFMSUB231PD VFMSUB132PD VFNMADD231PD VFMSUB213PD VFNMSUB132PD VFNMSUB231PD
Advanced Vector Extensions 512 (AVX512)
Requires passing a supported compiler/build flag (verified with targets: cascadelake, sapphirerapids).
 
(ZMM REGISTER USE)
The test / benchmark does honor compiler flag changes.
Last automated analysis: 18 January 2022

This test profile binary relies on the shared libraries libm.so.6, libfftw3.so.3, libXaw.so.7, libXt.so.6, libX11.so.6, libXft.so.2, libfontconfig.so.1, libgomp.so.1, libc.so.6, libXext.so.6, libXmu.so.6, libXpm.so.4, libSM.so.6, libICE.so.6, libxcb.so.1, libfreetype.so.6, libXrender.so.1, libexpat.so.1, libuuid.so.1, libbsd.so.0, libXau.so.6, libXdmcp.so.6, libpng16.so.16, libz.so.1, libbrotlidec.so.1, libmd.so.0, libbrotlicommon.so.1.

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)
ARMv7 32-bit
armv7l
ARMv7 Cortex-A72 4-Core
ARMv8 64-bit
aarch64
ARMv8 Cortex-A72, ARMv8 Cortex-A72 16-Core, ARMv8 Cortex-A72 4-Core, ARMv8 Neoverse-N1, ARMv8 Neoverse-V1, Ampere ARMv8 Neoverse-N1 128-Core, Ampere ARMv8 Neoverse-N1 160-Core, Ampere ARMv8 Neoverse-N1 256-Core, Ampere Altra ARMv8 Neoverse-N1 160-Core, Ampere eMAG ARMv8 32-Core, Apple M1, Apple M2

Recent Test Results

OpenBenchmarking.org Results Compare

1 System - 214 Benchmark Results

Apple M1 - Apple MacBook Pro - 16GB

macOS 11.7.1 - 20.6.0 - OpenCL 1.2

1 System - 208 Benchmark Results

Apple M1 - Apple Mac mini - 8GB

macOS 12.0.1 - 21.1.0 - OpenCL 1.2

1 System - 208 Benchmark Results

Apple M1 - Apple Mac mini - 8GB

macOS 12.0.1 - 21.1.0 - OpenCL 1.2

1 System - 100 Benchmark Results

AMD Ryzen 5 7600X 6-Core - ASUS ROG CROSSHAIR X670E HERO - AMD Device 14d8

Ubuntu 22.04 - 6.0.0-060000rc1daily20220820-generic - GNOME Shell 42.2

3 Systems - 357 Benchmark Results

AMD Ryzen 7 7700X 8-Core - ASUS ROG CROSSHAIR X670E HERO - AMD Device 14d8

Ubuntu 22.04 - 6.0.0-060000rc1daily20220820-generic - GNOME Shell 42.2

3 Systems - 357 Benchmark Results

4 Systems - 537 Benchmark Results

AMD Ryzen 7 5800X 8-Core - ASRock X570 Pro4 - AMD Starship

Ubuntu 22.04 - 5.17.4-051704-generic - GNOME Shell 42.0

4 Systems - 361 Benchmark Results

AMD Ryzen 9 7950X 16-Core - ASUS ROG CROSSHAIR X670E HERO - AMD Device 14d8

Ubuntu 22.04 - 6.0.0-060000rc1daily20220820-generic - GNOME Shell 42.2

13 Systems - 333 Benchmark Results

Intel Core i9-11900K - ASUS ROG MAXIMUS XIII HERO - Intel Tiger Lake-H

Ubuntu 22.04 - 6.0.0-060000rc1daily20220820-generic - GNOME Shell 42.2

1 System - 11 Benchmark Results

Intel Core i3-6100 - Gigabyte B250M-D2V-CF - Intel Xeon E3-1200 v5

Ubuntu 22.04 - 5.15.0-47-generic - GNOME Shell 42.0

2 Systems - 705 Benchmark Results

2 x AMD EPYC 7713 64-Core - AMD DAYTONA_X - AMD Starship

Ubuntu 22.04 - 5.15.0-47-generic - GNOME Shell 42.4

1 System - 366 Benchmark Results

2 x AMD EPYC 7713 64-Core - AMD DAYTONA_X - AMD Starship

Ubuntu 22.10 - 6.0.0-060000rc3daily20220904-generic - GNOME Shell

1 System - 2 Benchmark Results

AMD Ryzen 5 1600 Six-Core - MSI B350 TOMAHAWK - AMD 17h

Debian 11 - 5.10.0-16-amd64 - X Server 1.20.11

3 Systems - 190 Benchmark Results

Apple M2 - Apple MacBook Air - 8GB

Arch rolling - 5.19.0-rc7-asahi-2-1-ARCH - KDE Plasma 5.25.4

Most Popular Test Results

OpenBenchmarking.org Results Compare

3 Systems - 19 Benchmark Results

Intel Core i7-4770K - Gigabyte Z97-HD3 - Intel 4th Gen Core DRAM

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

8 Systems - 439 Benchmark Results

AMD Ryzen 9 5950X 16-Core - ASUS ROG CROSSHAIR VIII HERO - AMD Starship

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

3 Systems - 2 Benchmark Results

Intel Core i9-10885H - HP 8736 - Intel Comet Lake PCH

Ubuntu 20.04 - 5.6.0-1042-oem - GNOME Shell 3.36.4

4 Systems - 15 Benchmark Results

Intel Core i7-4960X - MSI X79MA-GD45 - Intel Xeon E7 v2

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

26 Systems - 438 Benchmark Results

AMD EPYC 7713 64-Core - TYAN S8030GM2NE - AMD Starship

Fedora 33 - 5.11.7-200.fc33.x86_64 - GNOME Shell 3.38.4

3 Systems - 66 Benchmark Results

AMD Ryzen 7 5800X 8-Core - ASRock X570 Pro4 - AMD Starship

Ubuntu 20.10 - 5.11.0-051100rc3daily20210116-generic - GNOME Shell 3.38.1

3 Systems - 6 Benchmark Results

2 x Intel Xeon Gold 5220R - TYAN S7106 - Intel Sky Lake-E DMI3 Registers

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

3 Systems - 85 Benchmark Results

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

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

3 Systems - 7 Benchmark Results

Intel Core i7-8550U - Dell 0H0VG3 - Intel Xeon E3-1200 v6

Ubuntu 20.10 - 5.8.0-41-generic - GNOME Shell 3.38.2

3 Systems - 14 Benchmark Results

AMD Ryzen 3 1300X - ASRock AB350 Pro4 - AMD 17h

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

3 Systems - 25 Benchmark Results

Intel Xeon E3-1240 v5 - ASRock E3V5 WS - Intel Xeon E3-1200 v5

Ubuntu 20.10 - 5.11.0-rc1-phx - GNOME Shell 3.38.1

5 Systems - 89 Benchmark Results

Intel Core i9-7980XE - ASUS PRIME X299-A - Intel Sky Lake-E DMI3 Registers

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

2 Systems - 30 Benchmark Results

Ampere Altra ARMv8 Neoverse-N1 - WIWYNN Mt.Jade - Ampere Computing LLC Device e100

Ubuntu 20.10 - 5.11.0-051100-generic-64k - GCC 10.2.0

3 Systems - 108 Benchmark Results

Intel Core i7-3770K - ECS Z77H2-A2X v1.0 - Intel Xeon E3-1200 v2

Ubuntu 20.04 - 5.4.0-58-generic - GNOME Shell 3.36.4

Find More Test Results