Xmrig

Xmrig is an open-source cross-platform CPU/GPU miner for RandomX, KawPow, CryptoNight and AstroBWT. This test profile is setup to measure the Xmrig CPU mining performance.

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

Project Site

xmrig.com

Source Repository

github.com

Test Created

24 April 2021

Last Updated

2 December 2023

Test Maintainer

Michael Larabel 

Test Type

Processor

Average Install Time

39 Seconds

Average Run Time

1 Minute, 21 Seconds

Test Dependencies

CMake + C/C++ Compiler Toolchain + OpenSSL

Accolades

60k+ Downloads

Supported Platforms


Public Result Uploads *Reported Installs **Reported Test Completions **Test Profile Page ViewsOpenBenchmarking.orgEventsXmrig Popularity Statisticspts/xmrig2021.042021.062021.082021.102021.122022.022022.042022.062022.082022.102022.122023.022023.042023.062023.082023.102023.122024.022024.042024.062024.082024.106K12K18K24K30K
* 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.
Data updated weekly as of 21 November 2024.
GhostRider40.6%CryptoNight-Heavy11.7%CryptoNight-Femto UPX211.7%Monero12.2%KawPow11.9%Wownero12.0%Variant Option PopularityOpenBenchmarking.org

Revision History

pts/xmrig-1.2.0   [View Source]   Sat, 02 Dec 2023 15:40:36 GMT
Update against Xmrig 6.21 upstream.

pts/xmrig-1.1.0   [View Source]   Sun, 23 Oct 2022 10:34:11 GMT
Update against v6.18.1 upstream.

pts/xmrig-1.0.0   [View Source]   Sat, 24 Apr 2021 16:16:01 GMT
Initial commit of xmrig benchmark.

Suites Using This Test

Cryptography

Cryptocurrency Benchmarks, CPU Mining Tests


Performance Metrics

Analyze Test Configuration:

Xmrig 6.21

Variant: Monero - Hash Count: 1M

OpenBenchmarking.org metrics for this test profile configuration based on 219 public results since 2 December 2023 with the latest data as of 14 November 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
H/s (Average)
100th
4
123162 +/- 220
91st
3
40185 +/- 132
87th
5
32623 +/- 358
80th
10
25672 +/- 481
Mid-Tier
75th
< 25398
69th
7
20688 +/- 90
68th
10
20658 +/- 101
62nd
5
18740 +/- 342
62nd
5
18422 +/- 856
53rd
7
14528 +/- 43
Median
50th
13250
49th
5
12914 +/- 386
45th
6
9533 +/- 73
42nd
4
7279 +/- 25
38th
4
5859 +/- 39
31st
3
4306 +/- 4
30th
4
4259 +/- 19
27th
7
4157 +/- 38
Low-Tier
25th
< 4117
18th
3
2887 +/- 4
17th
3
2260 +/- 195
14th
6
1982 +/- 17
12th
4
1909 +/- 5
10th
4
1828 +/- 2
8th
3
1719 +/- 11
6th
4
1299 +/- 10
OpenBenchmarking.orgDistribution Of Public Results - Variant: Monero - Hash Count: 1M219 Results Range From 628 To 123353 H/s62830835538799310448129031535817813202682272325178276333008832543349983745339908423634481847273497285218354638570935954862003644586691369368718237427876733791888164384098865538900891463939189637398828101283103738106193108648111103113558116013118468120923123378918273645

Based on OpenBenchmarking.org data, the selected test / test configuration (Xmrig 6.21 - Variant: Monero - Hash Count: 1M) has an average run-time of 8 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 BenchmarkVariant: Monero - Hash Count: 1MRun-Time1020304050Min: 1 / Avg: 8.27 / Max: 52

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

OpenBenchmarking.orgPercent, Fewer Is BetterAverage Deviation Between RunsVariant: Monero - Hash Count: 1MDeviation246810Min: 0 / Avg: 0.1 / Max: 2

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 BaseXmrig CPU Core ScalingVariant: Monero - Hash Count: 1M461632642.745.488.2210.9613.7

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.
 
MOVDQA PUNPCKLQDQ MOVD MOVDQU CVTSD2SS COMISD XORPD CVTSS2SD PADDQ PSRLDQ SHUFPD CVTSI2SD ADDSD SUBSD CVTTSD2SI MOVAPD ANDPD MULSD CMPNLESD DIVSD PSHUFD ORPD ANDNPD PSLLDQ SQRTSD CVTDQ2PS CVTTPS2DQ SQRTPD CVTDQ2PD DIVPD MULPD SUBPD ADDPD PSUBQ UNPCKLPD MINSD PMULUDQ PSHUFLW PSHUFHW PUNPCKHQDQ UCOMISD
SSSE3 (SSSE3)
Used by default on supported hardware.
 
PSHUFB PALIGNR
Used by default on supported hardware.
Found on Intel processors since Sandy Bridge (2011).
Found on AMD processors since Bulldozer (2011).

 
VZEROUPPER VBROADCASTSD VINSERTF128 VEXTRACTF128 VBROADCASTSS VPERMILPD
Used by default on supported hardware.
Found on Intel processors since Haswell (2013).
Found on AMD processors since Excavator (2016).

 
VPERM2I128 VINSERTI128 VEXTRACTI128 VPBLENDD VPERMQ VPBROADCASTD VPBROADCASTQ VPBROADCASTB VPBROADCASTW VPERMD
Used by default on supported hardware.
Found on Intel processors since at least 2010.
Found on AMD processors since Bulldozer (2011).

 
AESKEYGENASSIST AESENC AESDEC
Advanced Vector Extensions 512 (AVX512)
Used by default on supported hardware.
 
(ZMM REGISTER USE)
Vector AES (VAES)
Used by default on supported hardware.
Found on Intel processors since Ice Lake (2019).
Found on AMD processors since Zen 3 (2020).

 
VAESENC VAESDEC
SSE 4.2 (SSE4_2)
Requires passing a supported compiler/build flag (verified with targets: sandybridge, skylake, tigerlake, cascadelake, sapphirerapids, alderlake, znver2, znver3).
Found on Intel processors since at least 2010.
Found on AMD processors since Bulldozer (2011).

 
POPCNT
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: 24 December 2023

This test profile binary relies on the shared libraries libssl.so.3, libcrypto.so.3, libuv.so.1, libhwloc.so.15, libm.so.6, libc.so.6, libudev.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)
ARMv8 64-bit
aarch64
ARMv8 Neoverse-N1, ARMv8 Neoverse-N1 128-Core, ARMv8 Neoverse-V1, ARMv8 Neoverse-V2, AmpereOne 192-Core, AmpereOne 72-Core, Apple M2

Recent Test Results

OpenBenchmarking.org Results Compare

2 Systems - 49 Benchmark Results

AMD Ryzen 9 7950X 16-Core - ASUS ROG STRIX B650E-I GAMING WIFI - AMD Device 14d8

Ubuntu 22.04 - 6.8.0-48-generic - 1.3.255

19 Systems - 2903 Benchmark Results

17 Systems - 2641 Benchmark Results

16 Systems - 2626 Benchmark Results

16 Systems - 2616 Benchmark Results

15 Systems - 2606 Benchmark Results

Most Popular Test Results

OpenBenchmarking.org Results Compare

2 Systems - 831 Benchmark Results

AMD Ryzen 7 7840U - Framework FRANMDCP07 - AMD Device 14e8

Ubuntu 23.10 - 6.7.0-060700rc5-generic - GNOME Shell 45.1

5 Systems - 149 Benchmark Results

AMD EPYC 7601 32-Core - TYAN B8026T70AE24HR - AMD 17h

Ubuntu 23.10 - 6.6.9-060609-generic - GNOME Shell 45.0

2 Systems - 520 Benchmark Results

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

Ubuntu 23.10 - 6.5.0-13-generic - GCC 13.2.0

5 Systems - 587 Benchmark Results

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

Ubuntu 23.10 - 6.7.3-060703-generic - GNOME Shell 45.2

3 Systems - 84 Benchmark Results

Intel Core i7-1165G7 - Dell 0GG9PT - Intel Tiger Lake-LP

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

2 Systems - 130 Benchmark Results

Intel Core i7-1065G7 - Dell 06CDVY - Intel Ice Lake-LP DRAM

Ubuntu 23.04 - 6.2.0-36-generic - GNOME Shell 44.3

4 Systems - 9 Benchmark Results

2 x Intel Xeon Platinum 8490H - Quanta Cloud S6Q-MB-MPS - Intel Device 1bce

Ubuntu 23.10 - 6.5.0-13-generic - GCC 13.2.0

4 Systems - 9 Benchmark Results

AMD Ryzen Threadripper 3990X 64-Core - Gigabyte TRX40 AORUS PRO WIFI - AMD Starship

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

2 Systems - 55 Benchmark Results

ARMv8 Neoverse-V2 - Amazon EC2 r8g.16xlarge - Amazon Device 0200

Ubuntu 24.04 - 6.8.0-1009-aws - GCC 13.2.0

3 Systems - 832 Benchmark Results

2 Systems - 55 Benchmark Results

ARMv8 Neoverse-V1 - Amazon EC2 r7g.16xlarge - Amazon Device 0200

Ubuntu 24.04 - 6.8.0-1009-aws - GCC 13.2.0

2 Systems - 41 Benchmark Results

Intel Core i7-1185G7 - Dell 0DXP1F - Intel Tiger Lake-LP

Ubuntu 22.04 - 6.2.0-36-generic - GNOME Shell 42.2

4 Systems - 115 Benchmark Results

2 x Intel Xeon Platinum 8380 - Intel M50CYP2SB2U - Intel Ice Lake IEH

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

Find More Test Results