Primesieve

Primesieve generates prime numbers using a highly optimized sieve of Eratosthenes implementation. Primesieve benchmarks the CPU's L1/L2 cache performance.

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

Project Site

primesieve.org

Test Created

23 October 2012

Last Updated

18 February 2019

Test Maintainer

Kim Walisch

Test Type

Processor

Average Install Time

15 Seconds

Average Run Time

8 Minutes, 23 Seconds

Test Dependencies

C/C++ Compiler Toolchain + CMake

Accolades

150k+ Downloads

Supported Platforms


Public Result UploadsReported Installs*Test Completions*OpenBenchmarking.orgEventsPrimesieve Popularity Statisticspts/primesieve2012.102013.012013.042013.072013.102014.012014.042014.072014.102015.012015.042015.072015.102016.012016.042016.072016.102017.012017.042017.072017.102018.012018.042018.072018.102019.012019.042019.072019.102020.012020.042020.072020.102021.0110K20K30K40K50K
* 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, 25 Jan 2021 11:38:06 GMT.

Revision History

pts/primesieve-1.7.0   [View Source]   Mon, 18 Feb 2019 12:11:15 GMT
Update against Primesieve 7.4 upstream, https://github.com/phoronix-test-suite/test-profiles/pull/61

pts/primesieve-1.6.0   [View Source]   Fri, 07 Dec 2018 15:57:57 GMT
Update against upstream Primesieve, https://github.com/phoronix-test-suite/test-profiles/pull/43

pts/primesieve-1.5.0   [View Source]   Wed, 22 Aug 2018 15:51:39 GMT
Updated against Primesieve 7.1 from upstream, posted via GitHub tracker.

pts/primesieve-1.4.1   [View Source]   Tue, 27 Feb 2018 15:13:46 GMT
Update download links.

pts/primesieve-1.4.0   [View Source]   Mon, 16 Oct 2017 13:25:19 GMT
Upstream updates, switch from using OpenMP to C++11 threads.

pts/primesieve-1.3.1   [View Source]   Mon, 20 Apr 2015 11:52:52 GMT
Update against new Primesieve.

pts/primesieve-1.3.0   [View Source]   Sun, 05 Oct 2014 08:16:32 GMT
Updated test profile for new upstream Primesieve 5.4 by Kim Walisch.

pts/primesieve-1.2.0   [View Source]   Mon, 24 Feb 2014 17:46:52 GMT
Update Primesieve test profile against upstream v5.0 by Kim Walisch. Also add in SHA256 file sums and test against PTS5 Git.

pts/primesieve-1.1.1   [View Source]   Thu, 14 Mar 2013 09:59:40 GMT
Update download links file correctly.

pts/primesieve-1.1.0   [View Source]   Thu, 14 Mar 2013 09:56:17 GMT
Update against upstream Primesieve 4.2.

pts/primesieve-1.0.2   [View Source]   Tue, 23 Oct 2012 15:11:38 GMT
Improve some text string formatting.

pts/primesieve-1.0.1   [View Source]   Tue, 23 Oct 2012 14:58:14 GMT
Add SMP internal tag since Primesieve can use OpenMP.

pts/primesieve-1.0.0   [View Source]   Tue, 23 Oct 2012 14:55:00 GMT
Initial commit of the Primesieve test profile submitted by Kim Walisch.

Suites Using This Test

Multi-Core

CPU Massive


Performance Metrics

Analyze Test Configuration:

Primesieve 7.4

1e12 Prime Number Generation

OpenBenchmarking.org metrics for this test profile configuration based on 929 public results since 18 February 2019 with the latest data as of 25 January 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
Seconds (Average)
79th
27
12 +/- 1
Mid-Tier
75th
> 13
60th
4
20 +/- 1
55th
18
25 +/- 1
52nd
3
26 +/- 1
Median
50th
29
48th
7
32 +/- 1
44th
5
38 +/- 1
42nd
12
42 +/- 3
40th
8
44 +/- 1
40th
21
44 +/- 4
37th
3
47 +/- 1
35th
7
54 +/- 4
35th
6
55 +/- 5
32nd
4
59 +/- 2
32nd
5
61 +/- 5
Low-Tier
25th
> 78
25th
10
80 +/- 9
23rd
8
84 +/- 1
22nd
4
88 +/- 1
21st
10
91 +/- 8
20th
3
98 +/- 2
20th
3
105 +/- 4
19th
9
109 +/- 1
15th
16
184 +/- 15
15th
5
186 +/- 3
12th
5
198 +/- 15
11th
5
204 +/- 18
9th
5
212 +/- 24
9th
5
216 +/- 21
4th
4
451 +/- 7
3rd
3
475 +/- 23
2nd
7
860 +/- 82
1st
5
1618 +/- 13
OpenBenchmarking.orgDistribution Of Public Results - 1e12 Prime Number Generation929 Results Range From 2 To 1673 Seconds2438412516620724828933037141245349453557661765869974078182286390494598610271068110911501191123212731314135513961437147815191560160116421683120240360480600

Based on OpenBenchmarking.org data, the selected test / test configuration (Primesieve 7.4 - 1e12 Prime Number Generation) has an average run-time of 5 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 Benchmark1e12 Prime Number GenerationRun-Time1326395265Min: 1 / Avg: 4.94 / Max: 66

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

OpenBenchmarking.orgPercent, Fewer Is BetterAverage Deviation Between Runs1e12 Prime Number GenerationDeviation246810Min: 0 / Avg: 0.28 / Max: 3

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.

IntelAMDOpenBenchmarking.orgRelative Core Scaling To BasePrimesieve CPU Core Scaling1e12 Prime Number Generation2468121620643691215

Recent Test Results

OpenBenchmarking.org Results Compare

3 Systems - 376 Benchmark Results

2 x AMD EPYC 7F72 24-Core - Supermicro H11DSi-NT v2.00 - AMD Starship

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

2 Systems - 220 Benchmark Results

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

Ubuntu 20.10 - 5.11.0-rc4-max-boost-inv-patch - GNOME Shell 3.38.1

3 Systems - 376 Benchmark Results

2 x AMD EPYC 7F72 24-Core - Supermicro H11DSi-NT v2.00 - AMD Starship

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

1 System - 466 Benchmark Results

2 x AMD EPYC 7F72 24-Core - Supermicro H11DSi-NT v2.00 - AMD Starship

Ubuntu 20.10 - 5.10.9-051009-generic - GNOME Shell 3.38.1

1 System - 1 Benchmark Result

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

Ubuntu 20.04 - 5.10.0-051000-generic - GNOME Shell 3.36.4

3 Systems - 135 Benchmark Results

AMD Ryzen Threadripper 3960X 24-Core - Intel 440BX - 1 x 8192 MB 0MHz VMW-8192MB

Microsoft Windows 10 Home Build 18362 - 10.0 - 8.16.7.5

2 Systems - 135 Benchmark Results

AMD Ryzen Threadripper 3960X 24-Core - Intel 440BX - 1 x 16384 MB 0MHz VMW-16384MB

Microsoft Windows 10 Pro Build 18362 - 10.0 - 8.16.7.5

2 Systems - 135 Benchmark Results

AMD Ryzen Threadripper 3960X 24-Core - Intel 440BX - 1 x 16384 MB 0MHz

Microsoft Windows 10 Enterprise LTSC Build 17763 - 10.0 - 8.16.7.5

2 Systems - 135 Benchmark Results

AMD Ryzen Threadripper 3960X 24-Core - Intel 440BX - 1 x 8192 MB 0MHz VMW-8192MB

Microsoft Windows 10 Home Build 18362 - 10.0 - 8.16.7.5

2 Systems - 135 Benchmark Results

AMD Ryzen Threadripper 3960X 24-Core - Intel 440BX - 1 x 16384 MB 0MHz

Microsoft Windows 10 Home Build 17134 - 10.0 - 8.16.7.5

15 Systems - 35 Benchmark Results

AMD Ryzen 9 5900X 12-Core - MSI MPG X570 GAMING PRO CARBON WIFI - AMD Starship

Ubuntu 20.04 - 5.4.0-53-generic - KDE Plasma 5.18.4

Most Popular Test Results

OpenBenchmarking.org Results Compare

4 Systems - 99 Benchmark Results

AMD Ryzen 5 4500U - LENOVO LNVNB161216 - AMD Renoir Root Complex

Ubuntu 20.10 - 5.9.1-050901-generic - GNOME Shell 3.38.1

8 Systems - 360 Benchmark Results

AMD Ryzen Threadripper 3970X 32-Core - ASUS ROG ZENITH II EXTREME - AMD Starship

Ubuntu 19.10 - 5.4.0-999-generic - GNOME Shell 3.34.1

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

5 Systems - 1840 Benchmark Results

Intel Core i5-6200U - HP 8079 - Intel Xeon E3-1200 v5

Ubuntu 18.04 - 4.18.0-21-generic - GNOME Shell 3.28.4

5 Systems - 1839 Benchmark Results

Intel Core i5-6200U - HP 8079 - Intel Xeon E3-1200 v5

Ubuntu 18.04 - 4.18.0-21-generic - GNOME Shell 3.28.4

1 System - 263 Benchmark Results

AMD Ryzen 7 3700X 8-Core - MSI MEG X570 GODLIKE - AMD Device 1480

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

2 Systems - 123 Benchmark Results

Intel Core i7-8700K - ASUS TUF Z370-PLUS GAMING - Intel 8th Gen Core

Clear Linux OS 29920 - 5.1.9-781.native - GNOME Shell 3.32.2

2 Systems - 403 Benchmark Results

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

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

2 Systems - 56 Benchmark Results

AMD Ryzen Threadripper 2990WX 32-Core - ASUS ROG ZENITH EXTREME - 4 x 8192 MB 1600MHz F4-3200C14-8GFX

Microsoft Windows 10 Pro Build 17763 - 10.0 - 10.0.17763.1

3 Systems - 406 Benchmark Results

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

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

Find More Test Results

OpenBenchmarking.org Community User Comments

Post A Comment