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

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 Uploads *Reported Installs **Reported Test Completions **Test Profile Page Views ***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.032021.042021.052021.0612002400360048006000
* 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 20 June 2021.

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,160 public results since 1 October 2018 with the latest data as of 11 June 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
# Compatible Public Results
Seconds (Average)
Mid-Tier
75th
> 12
73rd
6
14
72nd
11
15 +/- 2
53rd
3
29 +/- 1
51st
14
32 +/- 3
Median
50th
32
48th
7
35 +/- 1
41st
9
43 +/- 3
30th
3
62 +/- 1
Low-Tier
25th
> 77
23rd
3
92 +/- 2
18th
10
127 +/- 1
16th
4
146 +/- 12
16th
3
148 +/- 1
14th
5
167 +/- 19
12th
3
210 +/- 1
11th
3
248 +/- 1
9th
3
404 +/- 6
OpenBenchmarking.orgDistribution Of Public Results - Prime Number Test To 200,000,0001160 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-Time1428425670Min: 1 / Avg: 5.7 / Max: 74

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

7 Systems - 28 Benchmark Results

ARMv8 Cortex-A72 - BCM2835 Raspberry Pi 4 Model B Rev 1.2 - 4096MB

Ubuntu 20.10 - 5.8.0-1026-raspi - MATE 1.24.1

1 System - 240 Benchmark Results

2 x Intel Xeon - OpenStack Foundation Nova v21.0.0 - Intel 440FX 82441FX PMC

Ubuntu 20.04 - 5.4.0-74-generic - GCC 9.3.0

1 System - 241 Benchmark Results

2 x Intel Xeon - OpenStack Foundation Nova v21.0.0 - Intel 440FX 82441FX PMC

Ubuntu 20.04 - 5.4.0-74-generic - GCC 9.3.0

10 Systems - 16 Benchmark Results

Intel Core i3-3110M - LENOVO - Intel 3rd Gen Core DRAM

Calculate - 5.10.32-calculate - MATE 1.24.1

9 Systems - 16 Benchmark Results

Intel Core i3-3110M - LENOVO - Intel 3rd Gen Core DRAM

Clear Linux OS 34600 - 5.12.2-1038.native - GNOME Shell 40.0

3 Systems - 6 Benchmark Results

Intel Core 2 Duo P7350 - MSI GX720 Ver 1.000 - Intel Mobile 4 MCH

Os - 12.1-STABLE - MATE 1.24.0

9 Systems - 16 Benchmark Results

Intel Core i3-3110M - LENOVO - Intel 3rd Gen Core DRAM

Ubuntu 21.04 - 5.11.0-16-generic - MATE 1.24.1

8 Systems - 16 Benchmark Results

Intel Core i3-3110M - LENOVO - Intel 3rd Gen Core DRAM

Fedora 34 - 5.11.19-300.fc34.x86_64 - MATE 1.24.1

7 Systems - 16 Benchmark Results

Intel Core i3-3110M - LENOVO - Intel 3rd Gen Core DRAM

Fedora 34 - 5.11.19-300.fc34.x86_64 - MATE 1.24.1

6 Systems - 16 Benchmark Results

Intel Core i3-3110M - LENOVO - Intel 3rd Gen Core DRAM

EndeavourOS rolling - 5.12.3-arch1-1 - MATE 1.24.1

5 Systems - 16 Benchmark Results

Intel Core i3-3110M - LENOVO - Intel 3rd Gen Core DRAM

Fedora 34 - 5.11.19-300.fc34.x86_64 - MATE 1.24.1

4 Systems - 16 Benchmark Results

Intel Core i3-3110M - LENOVO - Intel 3rd Gen Core DRAM

Fedora 34 - 5.11.19-300.fc34.x86_64 - MATE 1.24.1

Most Popular Test Results

OpenBenchmarking.org Results Compare

10 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

8 Systems - 360 Benchmark Results

AMD Ryzen Threadripper 2970WX 24-Core - Gigabyte X399 AORUS Gaming 7 - AMD 17h

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

1 System - 16 Benchmark Results

Intel Core i7-10510U - SLIMBOOK PROX14-10 - Intel Device 02ef

Ubuntu 20.04 - 5.4.0-33-generic - GNOME Shell 3.36.2

13 Systems - 36 Benchmark Results

Intel Xeon Platinum 8175M - Amazon EC2 m5.large - Intel 440FX 82441FX PMC

Ubuntu 18.04 - 4.15.0-1021-aws - GCC 7.3.0

2 Systems - 67 Benchmark Results

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

Ubuntu 18.04 - 4.15.0-1030-oem - GNOME Shell 3.28.3

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

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

14 Systems - 36 Benchmark Results

Intel Xeon Platinum 8175M - Amazon EC2 m5.xlarge - Intel 440FX 82441FX PMC

Ubuntu 18.04 - 4.15.0-1021-aws - GCC 7.3.0

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

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

Find More Test Results