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

45 Seconds

Average Run Time

3 Minutes, 21 Seconds

Test Dependencies

CMake + C/C++ Compiler Toolchain + OpenSSL

Accolades

40k+ 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.034K8K12K16K20K
* 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 18 March 2024.
GhostRider16.4%CryptoNight-Heavy16.4%CryptoNight-Femto UPX216.4%Monero17.2%KawPow16.7%Wownero17.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 178 public results since 2 December 2023 with the latest data as of 6 March 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
89th
3
40185 +/- 132
86th
10
25672 +/- 481
77th
7
20688 +/- 90
76th
10
20658 +/- 101
Mid-Tier
75th
< 20615
68th
5
18740 +/- 342
68th
5
18422 +/- 856
58th
7
14528 +/- 43
55th
4
13035 +/- 315
52nd
6
9533 +/- 73
Median
50th
7958
48th
4
7279 +/- 25
44th
4
5859 +/- 39
35th
3
4306 +/- 4
34th
4
4259 +/- 19
30th
7
4157 +/- 38
Low-Tier
25th
< 3647
20th
3
2260 +/- 195
16th
6
1982 +/- 17
13th
4
1909 +/- 5
11th
4
1828 +/- 2
9th
3
1719 +/- 11
7th
4
1299 +/- 10
OpenBenchmarking.orgDistribution Of Public Results - Variant: Monero - Hash Count: 1M178 Results Range From 854 To 123353 H/s85433045754820410654131041555418004204542290425354278043025432704351543760440054425044495447404498545230454754572045965462104645546700469454719047435476804792548170484154866048905491504939549640498854101304103754106204108654111104113554116004118454120904123354918273645

Based on OpenBenchmarking.org data, the selected test / test configuration (Xmrig 6.21 - Variant: Monero - Hash Count: 1M) has an average run-time of 11 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-Time1122334455Min: 1 / Avg: 10.53 / Max: 53

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

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 128-Core, Apple M2

Recent Test Results

OpenBenchmarking.org Results Compare

1 System - 187 Benchmark Results

AMD Ryzen Threadripper PRO 7965WX 24-Cores - ASUS Pro WS WRX90E-SAGE SE - AMD Device 14a4

Debian 12 - 6.1.0-18-amd64 - X Server 1.21.1.7

1 System - 1 Benchmark Result

Intel Core i7-6700K - ASUS MAXIMUS VIII HERO - Intel Xeon E3-1200 v5

Ubuntu 22.04 - 6.5.0-18-generic - GNOME Shell 42.9

2 Systems - 105 Benchmark Results

AMD Ryzen Threadripper PRO 7995WX 96-Cores - HP 8B24 - AMD Device 14a4

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

1 System - 2 Benchmark Results

Common KVM - QEMU Standard PC - Intel 82G33

Ubuntu 22.04 - 5.15.0-94-generic - 1.3.238

5 Systems - 587 Benchmark Results

AMD Ryzen 5 8600G - ASRock B650 Pro RS - AMD Device 14e8

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

1 System - 76 Benchmark Results

8 x Intel Xeon E5-2620 v4 - Xen HVM domU v4.13 - Intel 440FX 82441FX PMC

Debian 11 - 5.10.0-28-amd64 - GNOME Shell 3.38.6

1 System - 75 Benchmark Results

8 x Intel Xeon E5-2620 v4 - Xen HVM domU v4.13 - Intel 440FX 82441FX PMC

Debian 11 - 5.10.0-28-amd64 - GNOME Shell 3.38.6

1 System - 89 Benchmark Results

2 x Intel Xeon Gold 6240 - Dell 08JG8G - Intel Sky Lake-E DMI3 Registers

Ubuntu 22.04 - 5.15.0-92-generic - 1.3.238

1 System - 89 Benchmark Results

AMD EPYC 9354P 32-Core - Supermicro H13SSW - AMD Device 14a4

Ubuntu 22.04 - 5.15.0-92-generic - 1.3.238

1 System - 76 Benchmark Results

8 x Intel Xeon E5-2620 v4 - QEMU Standard PC - Intel 82G33

Debian 11 - 5.10.0-27-amd64 - GNOME Shell 3.38.6

1 System - 76 Benchmark Results

8 x Intel Xeon E5-2620 v4 - QEMU Standard PC - Intel 82G33

Debian 11 - 5.10.0-27-amd64 - GNOME Shell 3.38.6

1 System - 144 Benchmark Results

AMD Ryzen 5 8500G - ASRock B650 Pro RS - AMD Device 14e8

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

1 System - 89 Benchmark Results

8 x Intel Xeon E5-2620 v4 - QEMU Standard PC - Intel 82G33

Ubuntu 22.04 - 5.15.0-92-generic - GNOME Shell 42.9

1 System - 494 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

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

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 - 149 Benchmark Results

AMD EPYC 8534PN 64-Core - AMD Cinnabar - AMD Device 14a4

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

3 Systems - 9 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

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

2 Systems - 9 Benchmark Results

AMD EPYC 8534P 64-Core - AMD Cinnabar - AMD Device 14a4

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

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

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

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

3 Systems - 98 Benchmark Results

AMD Ryzen Threadripper PRO 7995WX 96-Cores - HP 8B24 - AMD Device 14a4

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

6 Systems - 9 Benchmark Results

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

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

4 Systems - 44 Benchmark Results

AMD Ryzen Threadripper 7980X 64-Cores - ASUS Pro WS TRX50-SAGE WIFI - AMD Device 14a4

Ubuntu 23.10 - 6.7.0-060700rc2daily20231126-generic - GNOME Shell 45.0

2 Systems - 89 Benchmark Results

8 x Intel Xeon E5-2620 v4 - Microsoft Virtual Machine - 6GB

Ubuntu 22.04 - 5.15.0-91-generic - GNOME Shell 42.9

Find More Test Results