Rust Prime Benchmark

Based on petehunt/rust-benchmark, this is a prime number benchmark that is multi-threaded and written in Rustlang.

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

Project Site

github.com

Test Created

1 October 2018

Last Updated

1 October 2018

Test Maintainer

Michael Larabel 

Test Type

Processor

Average Install Time

2 Seconds

Average Run Time

3 Minutes, 30 Seconds

Test Dependencies

C/C++ Compiler Toolchain + Rust

Accolades

20k+ Downloads

Supported Platforms


Public Result UploadsReported Installs*Test Completions*OpenBenchmarking.orgEventsRust Prime Benchmark Popularity Statisticspts/rust-prime2018.102018.112018.122019.012019.022019.032019.042019.052019.062019.072019.082019.092019.102019.112019.122020.012020.022020.032020.042020.052020.062020.072020.082020.092020.102020.112020.122021.012021.022021.0312002400360048006000
* 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 Sun, 07 Mar 2021 19:41:46 GMT.

Revision History

pts/rust-prime-1.0.0   [View Source]   Mon, 01 Oct 2018 11:54:05 GMT
Rustlang multi-threaded prime number benchmark.

Suites Using This Test

Multi-Core

CPU Massive


Performance Metrics

Analyze Test Configuration:

Rust Prime Benchmark

Prime Number Test To 200,000,000

OpenBenchmarking.org metrics for this test profile configuration based on 1,115 public results since 1 October 2018 with the latest data as of 4 March 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)
Mid-Tier
75th
> 12
72nd
6
14
71st
11
15 +/- 2
52nd
3
29 +/- 1
Median
50th
31
50th
14
32 +/- 3
47th
7
35 +/- 1
40th
9
43 +/- 3
29th
3
62 +/- 1
Low-Tier
25th
> 77
22nd
3
92 +/- 2
16th
4
146 +/- 12
16th
3
148 +/- 1
14th
4
172 +/- 18
13th
3
210 +/- 1
11th
3
248 +/- 1
10th
3
404 +/- 6
OpenBenchmarking.orgDistribution Of Public Results - Prime Number Test To 200,000,0001115 Results Range From 2 To 8488 Seconds21723425126828521022119213621532170218722042221223822552272228923062323234023572374239124082425244224592476249325102527254425612578259526122629264626632680269727142731274827652782279928162833285022004006008001000

Based on OpenBenchmarking.org data, the selected test / test configuration (Rust Prime Benchmark - Prime Number Test To 200,000,000) 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 BenchmarkPrime Number Test To 200,000,000Run-Time1530456075Min: 1 / Avg: 5.9 / Max: 77

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 RunsPrime Number Test To 200,000,000Deviation246810Min: 0 / Avg: 0.33 / Max: 5

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 BaseRust Prime Benchmark CPU Core ScalingPrime Number Test To 200,000,00024816323691215

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 SQRTSD ADDSD CVTTSD2SI MOVDQA MOVDQU PSHUFD PUNPCKLQDQ PADDQ XORPD MOVUPD ORPD
Last automated analysis: 31 January 2021

This test profile binary relies on the shared libraries libdl.so.2, libpthread.so.0, libc.so.6.

Recent Test Results

OpenBenchmarking.org Results Compare

18 Systems - 10 Benchmark Results

Intel Core i7-3615QM - Apple Mac-C3EC7CD22292981F - Intel 3rd Gen Core DRAM

Gentoo - 5.10.2-xanmod1-x86_64-gcc - Xfce 4.16

14 Systems - 28 Benchmark Results

POWER9 altivec supported - PowerNV T2P9D01 REV 1.01 - 65536MB

Ubuntu 18.10 - 4.18.0-10-generic - GCC 8.2.0

10 Systems - 28 Benchmark Results

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

Ubuntu 18.10 - 4.19.0-999-generic - GNOME Shell 3.30.1

1 System - 2393 Benchmark Results

AMD Ryzen 7 PRO 4750G - ASRock A520M-ITX/ac - AMD Renoir Root Complex

Gentoo - 5.10.16 - amd

1 System - 25 Benchmark Results

ARMv7 Cortex-A72 - BCM2711 Raspberry Pi 4 Model B Rev 1.2 - 4096MB

Raspbian 10 - 5.10.11-v7l+ - GCC 8.3.0

1 System - 2388 Benchmark Results

AMD Ryzen 7 PRO 4750G - ASRock A520M-ITX/ac - AMD Renoir Root Complex

Gentoo - 5.10.16 - amd

5 Systems - 134 Benchmark Results

Intel Core i7-10810U - Dell 0F3R8H - Intel Device 02ef

Ubuntu 20.04 - 5.8.0-43-generic - GNOME Shell 3.36.4

4 Systems - 134 Benchmark Results

POWER9 - PowerNV C1P9S01 REV 1.01 - 131072MB

Ubuntu 19.04 - 5.0.0-13-generic - Xfce 4.12

1 System - 2326 Benchmark Results

AMD Ryzen 7 PRO 4750G - ASRock A520M-ITX/ac - AMD Renoir Root Complex

Gentoo - 5.10.15 - GCC 10.2.0 + Clang 11.0.0 + LLVM 11.0.0

Most Popular Test Results

OpenBenchmarking.org Results Compare

10 Systems - 28 Benchmark Results

AMD Ryzen Threadripper 2990WX 32-Core - ASUS ROG ZENITH EXTREME - AMD Family 17h

Ubuntu 18.10 - 4.19.0-999-generic - GNOME Shell 3.30.1

8 Systems - 360 Benchmark Results

AMD Ryzen Threadripper 3970X 32-Core - MSI Creator TRX40 - AMD Starship

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

2 Systems - 67 Benchmark Results

Intel Core i7-8565U - Dell 0KTW76 - Intel Device 9def

Ubuntu 18.10 - 4.18.0-13-generic - GNOME Shell 3.30.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

13 Systems - 36 Benchmark Results

AMD EPYC 7571 - Amazon EC2 m5a.large - Intel 440FX 82441FX PMC

Ubuntu 18.04 - 4.15.0-1021-aws - GCC 7.3.0

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

3 Systems - 36 Benchmark Results

AMD Ryzen Threadripper 2990WX 32-Core - Oracle VirtualBox v1.2 - Intel 440FX 82441FX PMC

Ubuntu 18.10 - 4.18.0-12-generic - GNOME Shell 3.30.1

7 Systems - 28 Benchmark Results

Rockchip ARMv8 Cortex-A53 - Firefly ROC-RK3328-CC - 2048MB

Ubuntu 18.04 - 4.4.114 - X Server 1.18.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

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

Find More Test Results