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

44 Seconds

Average Run Time

4 Minutes, 25 Seconds

Test Dependencies

CMake + C/C++ Compiler Toolchain + OpenSSL

Accolades

50k+ Downloads

Supported Platforms


Public Result Uploads *Reported Installs **Reported Test Completions **Test Profile Page ViewsOpenBenchmarking.orgEventsXmrig Popularity Statisticspts/xmrig2021.042021.052021.062021.072021.082021.092021.102021.112021.122022.012022.022022.032022.042022.052022.062022.072022.082022.092022.102022.112022.122023.012023.022023.032023.042023.052023.062023.072023.082023.092023.102023.112023.122024.012024.022024.032024.042024.052024.062024.072024.082024.094K8K12K16K20K
* 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 19 September 2024.
GhostRider36.9%CryptoNight-Heavy12.4%CryptoNight-Femto UPX212.4%Monero12.9%KawPow12.6%Wownero12.8%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: GhostRider - Hash Count: 1M

OpenBenchmarking.org metrics for this test profile configuration based on 593 public results since 2 December 2023 with the latest data as of 10 September 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
9
31489 +/- 306
100th
6
27150 +/- 861
96th
16
17585 +/- 2183
96th
8
17324 +/- 475
93rd
10
16014 +/- 778
92nd
9
15634 +/- 518
90th
8
14134 +/- 226
83rd
4
10896 +/- 92
83rd
10
10855 +/- 1327
80th
8
9205 +/- 214
77th
14
8050 +/- 652
Mid-Tier
75th
< 6900
74th
6
6116 +/- 9
68th
6
5453 +/- 10
61st
11
4513 +/- 149
61st
10
4463 +/- 74
58th
5
4089 +/- 50
57th
5
4030 +/- 53
56th
12
3644 +/- 56
Median
50th
3166
48th
11
2854 +/- 58
45th
10
2604 +/- 54
39th
7
1971 +/- 21
37th
9
1833 +/- 14
37th
5
1828 +/- 122
33rd
4
1701 +/- 2
29th
7
1405 +/- 21
26th
4
1072 +/- 25
Low-Tier
25th
< 1071
25th
3
1065 +/- 17
24th
11
1005 +/- 45
20th
7
906 +/- 27
20th
7
905 +/- 3
18th
9
885 +/- 20
15th
4
841 +/- 3
14th
5
805 +/- 11
13th
4
790 +/- 8
10th
8
623 +/- 11
8th
6
532 +/- 6
7th
3
505 +/- 1
6th
6
440 +/- 30
5th
6
431 +/- 12
OpenBenchmarking.orgDistribution Of Public Results - Variant: GhostRider - Hash Count: 1M593 Results Range From 151 To 31860 H/s15178614212056269133263961459652315866650171367771840690419676103111094611581122161285113486141211475615391160261666117296179311856619201198362047121106217412237623011236462428124916255512618626821274562809128726293612999630631312663190120406080100

Based on OpenBenchmarking.org data, the selected test / test configuration (Xmrig 6.21 - Variant: GhostRider - Hash Count: 1M) has an average run-time of 28 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: GhostRider - Hash Count: 1MRun-Time306090120150Min: 2 / Avg: 27.24 / Max: 147

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

OpenBenchmarking.orgPercent, Fewer Is BetterAverage Deviation Between RunsVariant: GhostRider - Hash Count: 1MDeviation246810Min: 0 / Avg: 0.42 / Max: 6

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: GhostRider - Hash Count: 1M468121416326496510152025

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, ARMv8 Neoverse-V2 96-Core, AmpereOne 128-Core, AmpereOne 160-Core, AmpereOne 192-Core, AmpereOne 32-Core, AmpereOne 64-Core, AmpereOne 72-Core, AmpereOne 96-Core, Apple M2

Recent Test Results

OpenBenchmarking.org Results Compare

1 System - 336 Benchmark Results

AmpereOne - Supermicro ARS-211M-NR R13SPD v1.02 - Ampere Computing LLC Device e208

Ubuntu 24.04 - 6.8.0-39-generic-64k - GCC 13.2.0

1 System - 1043 Benchmark Results

1 System - 6 Benchmark Results

Intel Core i5-12600K - Gigabyte B760M DS3H AX DDR4 - Intel Raptor Lake-S PCH

Ubuntu 24.04 - 6.8.0-41-generic - GNOME Shell 46.0

1 System - 90 Benchmark Results

AMD Ryzen Threadripper 7970X 32-Cores - ASRock TRX50 WS - AMD Device 14a4

Arch rolling - 6.10.6-arch1-1 - KDE Plasma 6.1.4

1 System - 90 Benchmark Results

AMD Ryzen 7 7700X 8-Core - ASRock X670E PG Lightning - AMD Device 14d8

Arch rolling - 6.10.6-arch1-1 - KDE Plasma 6.1.4

2 Systems - 413 Benchmark Results

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

Ubuntu 24.04 - 6.10.0-061000rc4daily20240621-generic - GNOME Shell 46.0

1 System - 1002 Benchmark Results

1 System - 999 Benchmark Results

1 System - 20 Benchmark Results

2 x Intel Xeon Gold 6226R - (5.14 BIOS) - Intel Sky Lake-E DMI3 Registers

Ubuntu 24.04 - 6.8.0-38-generic - X Server

1 System - 55 Benchmark Results

Intel Xeon Platinum 8488C - Amazon EC2 r7i.16xlarge - Intel 440FX 82441FX PMC

Ubuntu 24.04 - 6.8.0-1009-aws - GCC 13.2.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

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

1 System - 58 Benchmark Results

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

Ubuntu 24.04 - 6.8.0-1009-aws - GCC 13.2.0

2 Systems - 1012 Benchmark Results

Most Popular Test Results

Find More Test Results