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

43 Seconds

Average Run Time

4 Minutes, 33 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.092024.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 9 October 2024.
GhostRider37.6%CryptoNight-Heavy12.2%CryptoNight-Femto UPX212.2%Monero12.8%KawPow12.5%Wownero12.7%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 647 public results since 2 December 2023 with the latest data as of 7 October 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
99th
12
29417 +/- 712
97th
6
27150 +/- 861
94th
16
17585 +/- 2183
94th
8
17324 +/- 475
91st
10
16014 +/- 778
90th
9
15634 +/- 518
89th
6
15134 +/- 73
87th
8
14134 +/- 226
81st
4
10896 +/- 92
81st
10
10855 +/- 1327
77th
8
9205 +/- 214
Mid-Tier
75th
< 8377
75th
14
8050 +/- 652
72nd
6
6116 +/- 9
66th
6
5453 +/- 10
60th
11
4513 +/- 149
60th
10
4463 +/- 74
57th
5
4089 +/- 50
56th
5
4030 +/- 53
55th
13
3644 +/- 54
Median
50th
3267
50th
7
3228 +/- 100
47th
11
2854 +/- 58
44th
10
2604 +/- 54
39th
7
1971 +/- 21
37th
9
1833 +/- 14
37th
5
1828 +/- 122
33rd
4
1701 +/- 2
29th
7
1405 +/- 21
27th
4
1072 +/- 25
26th
3
1065 +/- 17
Low-Tier
25th
< 1043
25th
14
994 +/- 45
21st
7
906 +/- 27
21st
7
905 +/- 3
19th
7
894 +/- 36
19th
9
885 +/- 20
16th
4
841 +/- 3
15th
5
805 +/- 11
14th
4
790 +/- 8
13th
12
697 +/- 45
11th
8
623 +/- 11
10th
5
548 +/- 53
9th
6
532 +/- 6
7th
3
505 +/- 1
6th
9
448 +/- 26
5th
6
431 +/- 12
OpenBenchmarking.orgDistribution Of Public Results - Variant: GhostRider - Hash Count: 1M612 Results Range From 151 To 36155 H/s1518721593231430353756447751985919664073618082880395241024510966116871240813129138501457115292160131673417455181761889719618203392106021781225022322323944246652538626107268282754928270289912971230433311543187532596333173403834759354803620120406080100

Based on OpenBenchmarking.org data, the selected test / test configuration (Xmrig 6.21 - Variant: GhostRider - Hash Count: 1M) has an average run-time of 27 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: 26.41 / 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

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

Ubuntu 24.04 - 6.10.0-phx - 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-V1 - Amazon EC2 r7g.16xlarge - Amazon Device 0200

Ubuntu 24.04 - 6.8.0-1009-aws - GCC 13.2.0

2 Systems - 55 Benchmark Results

AMD EPYC 9R14 - Amazon EC2 r7a.16xlarge - Intel 440FX 82441FX PMC

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