Primesieve

Primesieve generates prime numbers using a highly optimized sieve of Eratosthenes implementation. Primesieve primarily 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

Source Repository

github.com

Test Created

23 October 2012

Last Updated

15 March 2024

Test Maintainer

Kim Walisch 

Test Type

Processor

Average Install Time

19 Seconds

Average Run Time

8 Minutes, 23 Seconds

Test Dependencies

C/C++ Compiler Toolchain + CMake

Accolades

200k+ Downloads + 5k+ Public Benchmark Results

Supported Platforms


Public Result Uploads *Reported Installs **Reported Test Completions **Test Profile Page Views ***OpenBenchmarking.orgEventsPrimesieve Popularity Statisticspts/primesieve2012.102013.022013.062013.102014.022014.062014.102015.022015.062015.102016.022016.062016.102017.022017.062017.102018.022018.062018.102019.022019.062019.102020.022020.062020.102021.022021.062021.102022.022022.062022.102023.022023.062023.102024.022024.0611K22K33K44K55K
* 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 15 June 2024.
1e1351.8%1e1248.2%Length Option PopularityOpenBenchmarking.org

Revision History

pts/primesieve-1.10.0   [View Source]   Fri, 15 Mar 2024 19:16:10 GMT
Update against Primesieve 12.1 upstream. Closes: https://github.com/phoronix-test-suite/phoronix-test-suite/pull/776

pts/primesieve-1.9.0   [View Source]   Wed, 20 Jul 2022 09:19:25 GMT
Update against Primesieve 8.0 upstream.

pts/primesieve-1.8.0   [View Source]   Sat, 04 Dec 2021 05:39:18 GMT
Update against Primesieve 7.7 upstream.

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 12.1

Length: 1e13

OpenBenchmarking.org metrics for this test profile configuration based on 311 public results since 15 March 2024 with the latest data as of 13 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)
Mid-Tier
75th
> 30
Median
50th
58
Low-Tier
25th
> 130
25th
5
132 +/- 2
19th
7
206 +/- 19
15th
8
245 +/- 2
11th
3
266 +/- 1
8th
3
410 +/- 2
5th
3
467 +/- 6
5th
3
491 +/- 13
2nd
3
775 +/- 20
OpenBenchmarking.orgDistribution Of Public Results - Length: 1e13306 Results Range From 10 To 2090 Seconds10561021481942402863323784244705165626086547007467928388849309761022106811141160120612521298134413901436148215281574162016661712175818041850189619421988203420802126306090120150

Based on OpenBenchmarking.org data, the selected test / test configuration (Primesieve 12.1 - Length: 1e13) has an average run-time of 6 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 BenchmarkLength: 1e13Run-Time816243240Min: 1 / Avg: 5.67 / Max: 40

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.

OpenBenchmarking.orgRelative Core Scaling To BasePrimesieve CPU Core ScalingLength: 1e13681632643691215

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.
 
PUNPCKLQDQ MOVDQA MOVDQU MOVD CVTSI2SD MULSD ADDSD MOVAPD CVTTSD2SI DIVSD COMISD UCOMISD SQRTSD SUBSD MAXSD PADDQ MINSD SHUFPD
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 VINSERTF128 VEXTRACTF128
Used by default on supported hardware.
Found on Intel processors since Haswell (2013).
Found on AMD processors since Excavator (2016).

 
VPBROADCASTQ VINSERTI128 VEXTRACTI128
Advanced Vector Extensions 512 (AVX512)
Used by default on supported hardware.
 
(ZMM REGISTER USE)
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).

 
VFMADD132SD
The test / benchmark does honor compiler flag changes.
Last automated analysis: 16 March 2024

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

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)
ARMv8 64-bit
aarch64
ARMv8 Neoverse-N1 128-Core, ARMv8 Neoverse-V2 72-Core

Recent Test Results

OpenBenchmarking.org Results Compare

2 Systems - 114 Benchmark Results

AMD Ryzen Threadripper 7980X 64-Cores - System76 Thelio Major thelio-major-r5 - AMD [AMD]

DragonFly - 6.4-RELEASE - GCC 8.3

5 Systems - 70 Benchmark Results

AMD Ryzen 9 5950X 16-Core - AMD Starship - 64GB

Debian - 6.9.3-sven - Xfce

1 System - 115 Benchmark Results

AMD Ryzen Threadripper 7980X 64-Cores - System76 Thelio Major thelio-major-r5 - AMD [AMD]

FreeBSD - 14.1-RELEASE - Clang 18.1.5

4 Systems - 70 Benchmark Results

AMD Ryzen 9 5950X 16-Core - AMD Starship - 64GB

Debian - 6.9.3-sven - Xfce

3 Systems - 70 Benchmark Results

AMD Ryzen 9 5950X 16-Core - AMD Starship - 64GB

Debian - 6.9.3-sven - Xfce

2 Systems - 70 Benchmark Results

AMD Ryzen 9 5950X 16-Core - AMD Starship - 64GB

Debian - 6.9.3-sven - Xfce

9 Systems - 11 Benchmark Results

AMD Phenom II X3 720 - MSI KA780G - AMD RS780 + SB7x0

Ubuntu 20.04 - 6.1.86unif20g - MATE 1.24.0

1 System - 70 Benchmark Results

AMD Ryzen 9 5950X 16-Core - AMD Starship - 64GB

Debian - 6.9.3-sven - Xfce

1 System - 63 Benchmark Results

AMD Ryzen 9 5950X 16-Core - AMD Starship - 64GB

Debian - 6.9.3-sven - Xfce

1 System - 39 Benchmark Results

AMD Ryzen 9 5950X 16-Core - AMD Starship - 64GB

Debian - 6.9.3-sven - Xfce

1 System - 31 Benchmark Results

AMD Ryzen 9 5950X 16-Core - AMD Starship - 64GB

Debian - 6.9.3-sven - Xfce

1 System - 27 Benchmark Results

2 x Intel Xeon 6780E - Quanta Cloud QuantaGrid D55Q-2U S7Q-MB-MPS-MDP - Intel Ice Lake IEH

Ubuntu 24.04 - 6.9.0-060900rc3-generic - GCC 13.2.0

22 Systems - 263 Benchmark Results

2 x AMD EPYC 9684X 96-Core - AMD Titanite_4G - AMD Device 14a4

Ubuntu 24.04 - 6.9.0-060900rc3-generic - GCC 13.2.0

1 System - 120 Benchmark Results

AMD Ryzen 5 3400G - HP 8643 - 2 x 16384 MB 2667MHz Unknown

Microsoft Windows 11 Home Build 22631 - 10.0.22631.3672 - 31.0.21912.14

6 Systems - 11 Benchmark Results

AMD Phenom II X3 720 - MSI KA780G - AMD RS780 + SB7x0

Ubuntu 20.04 - 6.1.86unif20g - MATE 1.24.0

Most Popular Test Results

OpenBenchmarking.org Results Compare

4 Systems - 62 Benchmark Results

2 x INTEL XEON PLATINUM 8592+ - Quanta Cloud QuantaGrid D54Q-2U S6Q-MB-MPS - Intel Device 1bce

Ubuntu 23.10 - 6.6.0-rc5-phx-patched - GNOME Shell 45.0

4 Systems - 10 Benchmark Results

ARMv8 Neoverse-V2 - Quanta Cloud QuantaGrid S74G-2U 1S7GZ9Z0000 S7G MB - 1 x 480GB DRAM-6400MT

Ubuntu 22.04 - 6.5.0-1013-NVIDIA-64k - NVIDIA

4 Systems - 158 Benchmark Results

AMD Ryzen Threadripper PRO 5965WX 24-Cores - ASUS Pro WS WRX80E-SAGE SE WIFI - AMD Starship

Ubuntu 23.10 - 6.5.0-15-generic - GNOME Shell 45.0

76 Systems - 921 Benchmark Results

Intel Core i9-14900K - ASUS PRIME Z790-P - Intel Device 7a27

SystemRescue 10.01 - 6.1.30-1-lts - X Server 1.21.1.8

3 Systems - 119 Benchmark Results

AMD EPYC 8534P 64-Core - AMD Cinnabar - AMD Device 14a4

Ubuntu 23.10 - 6.5.0-15-generic - GNOME Shell

4 Systems - 70 Benchmark Results

Intel Core Ultra 7 155H - MTL Swift SFG14-72T Coral_MTH - Intel Device 7e7f

Ubuntu 23.10 - 6.8.0-060800rc1daily20240126-generic - GNOME Shell 45.2

4 Systems - 158 Benchmark Results

Intel Xeon E E-2488 - Supermicro Super Server X13SCL-F v0123456789 - Intel Device 7a27

Ubuntu 22.04 - 6.2.0-26-generic - GNOME Shell 42.9

2 Systems - 63 Benchmark Results

Intel Core i9-10980XE - ASRock X299 Steel Legend - Intel Sky Lake-E DMI3 Registers

Ubuntu 22.04 - 6.5.0-18-generic - GNOME Shell 42.2

3 Systems - 114 Benchmark Results

AMD Ryzen 5 5500U - NB01 TUXEDO Aura 15 Gen2 NL5xNU - AMD Renoir

Tuxedo 22.04 - 6.0.0-1010-oem - KDE Plasma 5.26.5

2 Systems - 219 Benchmark Results

AMD Ryzen 7 7840HS - Framework Laptop 16 - AMD Device 14e8

Ubuntu 23.10 - 6.7.0-060700-generic - GNOME Shell 45.2

2 Systems - 57 Benchmark Results

AMD Ryzen 7 3800XT 8-Core - MSI X370 XPOWER GAMING TITANIUM - AMD Starship

Debian 12 - 6.1.0-18-amd64 - X Server 1.20.11

3 Systems - 131 Benchmark Results

AMD Ryzen 7 4700U - LENOVO IdeaPad 5 14ARE05 LNVNB161216 - AMD Renoir

Fedora Linux 39 - 6.5.7-300.fc39.x86_64 - GNOME Shell 45.0

Find More Test Results