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

3 Minutes, 4 Seconds

Average Run Time

11 Minutes, 28 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.122023.012023.022023.032023.042023.052023.062023.072023.082023.092023.102023.112023.122024.012024.022024.032024.042024.052024.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 updated weekly as of 16 June 2024.
C755248.5%C267051.5%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

Electronic Design

Creator Workloads


Performance Metrics

Analyze Test Configuration:

Ngspice 34

Circuit: C2670

OpenBenchmarking.org metrics for this test profile configuration based on 1,433 public results since 7 February 2021 with the latest data as of 19 June 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
Seconds (Average)
100th
13
55 +/- 4
96th
10
60 +/- 5
93rd
15
71 +/- 5
90th
4
73 +/- 1
77th
7
98 +/- 1
77th
3
99 +/- 3
76th
23
100 +/- 12
76th
3
100 +/- 1
76th
10
100 +/- 12
Mid-Tier
75th
> 101
75th
5
102 +/- 3
70th
3
107 +/- 1
69th
4
108 +/- 1
68th
3
109 +/- 2
68th
9
109 +/- 13
65th
3
112 +/- 1
65th
6
112 +/- 1
61st
8
117 +/- 2
61st
8
117 +/- 4
58th
7
121 +/- 1
54th
3
127 +/- 1
54th
6
127 +/- 1
54th
7
127 +/- 1
51st
17
130 +/- 19
Median
50th
131
50th
5
132 +/- 12
50th
10
132 +/- 3
50th
6
133 +/- 6
49th
16
134 +/- 9
48th
6
135 +/- 15
47th
8
136 +/- 2
44th
3
139 +/- 1
42nd
3
142 +/- 1
42nd
10
142 +/- 8
42nd
6
142 +/- 4
41st
4
143 +/- 9
40th
3
144 +/- 1
37th
6
149 +/- 2
36th
18
151 +/- 13
36th
3
151 +/- 1
36th
4
151 +/- 3
35th
9
152 +/- 7
33rd
3
154 +/- 2
33rd
5
154 +/- 1
32nd
13
155 +/- 3
31st
3
156 +/- 1
30th
3
157 +/- 1
29th
11
159 +/- 8
27th
4
162 +/- 1
27th
4
164 +/- 2
26th
3
166 +/- 1
Low-Tier
25th
> 166
25th
3
168 +/- 1
23rd
5
171 +/- 1
21st
9
173 +/- 19
21st
4
173 +/- 2
21st
5
173 +/- 1
20th
5
175 +/- 1
20th
6
175 +/- 5
20th
6
175 +/- 4
19th
4
176 +/- 3
19th
5
177 +/- 2
19th
4
177 +/- 1
18th
8
178 +/- 25
16th
5
184 +/- 1
16th
11
185 +/- 12
16th
6
186 +/- 18
16th
3
187 +/- 2
15th
3
189 +/- 1
15th
3
189 +/- 1
14th
3
190 +/- 1
14th
3
191 +/- 1
14th
5
194 +/- 15
13th
4
196 +/- 8
12th
3
202 +/- 5
10th
3
206 +/- 2
10th
3
207 +/- 1
10th
3
210 +/- 2
9th
5
212 +/- 3
7th
3
227 +/- 2
6th
4
237 +/- 3
3rd
4
252 +/- 3
2nd
4
374 +/- 3
OpenBenchmarking.orgDistribution Of Public Results - Circuit: C26701423 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-Time816243240Min: 3 / Avg: 8.83 / Max: 36

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.6 / 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: C267024681012141618243248641280.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, ARMv8 Cortex-A72, ARMv8 Cortex-A72 16-Core, ARMv8 Cortex-A72 4-Core, ARMv8 Neoverse-N1, ARMv8 Neoverse-N1 160-Core, 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 - 377 Benchmark Results

AMD Ryzen 7 5800X 8-Core - ASUS ROG STRIX X370-F GAMING - AMD Starship

Linuxmint 21.3 - 6.5.0-35-lowlatency - X Server 1.21.1.4

1 System - 4 Benchmark Results

Intel Core i7-9750H - 16GB - 0GB Virtual Disk + 4GB Virtual Disk + 1100GB Virtual Disk

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

1 System - 4 Benchmark Results

Intel Core i9-13980HX - LENOVO ThinkPad P16 Gen 2 21FA0005GE - Intel Raptor Lake-S PCH

Ubuntu 24.04 - 6.8.0-31-generic - GNOME Shell 46.0

1 System - 2 Benchmark Results

AMD Ryzen 7 4800H - LENOVO LNVNB161216 - AMD Renoir

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

1 System - 926 Benchmark Results

Intel Core i5-14500 - ASUS PRIME Z790-P WIFI - Intel Raptor Lake-S PCH

Ubuntu 24.04 - 6.8.0-31-generic - GNOME Shell 46.0

8 Systems - 2 Benchmark Results

2 x Intel Xeon E5-2620 v2 - ASUS Z9PE-D8 WS - Intel Xeon E7 v2

CentOS Stream 9 - 5.14.0-437.el9.x86_64 - X Server

7 Systems - 2 Benchmark Results

2 x Intel Xeon E5-2620 v2 - ASUS Z9PE-D8 WS - Intel Xeon E7 v2

CentOS Stream 9 - 5.14.0-437.el9.x86_64 - X Server

6 Systems - 2 Benchmark Results

2 x Intel Xeon E5-2620 v2 - ASUS Z9PE-D8 WS - Intel Xeon E7 v2

CentOS Stream 9 - 5.14.0-437.el9.x86_64 - X Server

5 Systems - 2 Benchmark Results

2 x Intel Xeon E5-2620 v2 - ASUS Z9PE-D8 WS - Intel Xeon E7 v2

CentOS Stream 9 - 5.14.0-437.el9.x86_64 - X Server

4 Systems - 2 Benchmark Results

2 x Intel Xeon E5-2620 v2 - ASUS Z9PE-D8 WS - Intel Xeon E7 v2

CentOS Stream 9 - 5.14.0-437.el9.x86_64 - X Server

3 Systems - 2 Benchmark Results

2 x Intel Xeon E5-2620 v2 - ASUS Z9PE-D8 WS - Intel Xeon E7 v2

CentOS Stream 9 - 5.14.0-437.el9.x86_64 - X Server

2 Systems - 2 Benchmark Results

2 x Intel Xeon E5-2620 v2 - ASUS Z9PE-D8 WS - Intel Xeon E7 v2

CentOS Stream 9 - 5.14.0-437.el9.x86_64 - X Server

1 System - 2 Benchmark Results

2 x Intel Xeon E5-2620 v2 - ASUS Z9PE-D8 WS - Intel Xeon E7 v2

CentOS Stream 9 - 5.14.0-437.el9.x86_64 - X Server

1 System - 2 Benchmark Results

2 x Intel Xeon E5-2620 v2 - ASUS Z9PE-D8 WS - Intel Xeon E7 v2

CentOS Stream 9 - 5.14.0-437.el9.x86_64 - X Server

1 System - 2 Benchmark Results

2 x Intel Xeon E5-2620 v2 - ASUS Z9PE-D8 WS - Intel Xeon E7 v2

CentOS Stream 9 - 5.14.0-435.el9.x86_64 - X Server

Most Popular Test Results

OpenBenchmarking.org Results Compare

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 - 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 - 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

26 Systems - 438 Benchmark Results

2 x AMD EPYC 7601 32-Core - Dell 02MJ3T - AMD 17h

Ubuntu 20.04 - 5.11.0-051100rc6daily20210201-generic - GNOME Shell 3.36.4

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

13 Systems - 333 Benchmark Results

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

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

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 - 230 Benchmark Results

AMD Ryzen 7 PRO 5850U - LENOVO 20XF004WUS - AMD Renoir

Ubuntu 21.10 - 5.16.0-051600rc6daily20211221-generic - GNOME Shell 40.5

4 Systems - 179 Benchmark Results

Intel Core i5-11600K - ASUS ROG MAXIMUS XIII HERO - Intel Device 43ef

Ubuntu 20.04 - 5.10.13-051013-lowlatency - GNOME Shell 3.36.4

3 Systems - 19 Benchmark Results

Intel Core i5-7600K - Gigabyte Z270M-D3H-CF - Intel Xeon E3-1200 v6

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

5 Systems - 94 Benchmark Results

ARMv8 Neoverse-V1 - Amazon EC2 c7g.4xlarge - Amazon Device 0200

Ubuntu 22.04 - 5.15.0-1004-aws - GCC 11.2.0

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

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

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

Find More Test Results