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

3 Minutes, 38 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.032024.044K8K12K16K20K
* 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 April 2024.
GhostRider17.0%CryptoNight-Heavy16.3%CryptoNight-Femto UPX216.3%Monero17.1%KawPow16.5%Wownero16.9%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.18.1

Variant: Monero - Hash Count: 1M

OpenBenchmarking.org metrics for this test profile configuration based on 782 public results since 23 October 2022 with the latest data as of 20 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
13
117216 +/- 5564
99th
21
105729 +/- 3858
97th
5
93970 +/- 402
96th
14
87048 +/- 1422
94th
12
82841 +/- 649
92nd
12
69427 +/- 224
90th
9
61311 +/- 2149
89th
3
57316 +/- 390
88th
5
55580 +/- 315
87th
4
50870 +/- 247
86th
9
48136 +/- 290
83rd
5
45036 +/- 254
81st
12
43836 +/- 417
79th
6
40184 +/- 436
78th
3
36667 +/- 30
78th
3
35731 +/- 185
77th
3
31791 +/- 3705
77th
3
31786 +/- 32
77th
5
31345 +/- 3304
Mid-Tier
75th
< 29160
75th
3
28465 +/- 35
73rd
13
27490 +/- 125
72nd
5
27346 +/- 75
69th
17
25824 +/- 529
69th
8
25374 +/- 2930
68th
5
24700 +/- 134
67th
6
24478 +/- 3117
67th
3
22344 +/- 24
66th
6
20671 +/- 147
64th
6
20425 +/- 34
63rd
9
17389 +/- 389
61st
5
16709 +/- 1185
58th
19
15355 +/- 925
56th
8
14401 +/- 86
52nd
20
13088 +/- 936
52nd
14
13040 +/- 739
51st
23
12904 +/- 800
Median
50th
12715
47th
16
12207 +/- 1036
46th
4
11856 +/- 1087
45th
4
10175 +/- 273
42nd
9
9499 +/- 43
41st
20
9472 +/- 161
40th
14
9218 +/- 342
35th
16
7787 +/- 571
34th
25
7735 +/- 344
33rd
6
7660 +/- 14
28th
5
7217 +/- 116
27th
13
7054 +/- 218
26th
10
7010 +/- 379
Low-Tier
25th
< 6809
25th
3
6797 +/- 31
24th
3
5507 +/- 61
23rd
4
5166 +/- 2
19th
5
4064 +/- 452
19th
3
3814 +/- 29
18th
4
3558 +/- 6
17th
6
3307 +/- 344
16th
5
2894 +/- 54
15th
4
2844 +/- 36
14th
9
2699 +/- 36
12th
4
2394 +/- 6
12th
5
2303 +/- 238
12th
4
2276 +/- 1
11th
4
2237 +/- 27
11th
3
2221 +/- 5
10th
4
2141 +/- 42
9th
3
1976 +/- 10
8th
10
1938 +/- 6
7th
3
1922 +/- 20
7th
5
1794 +/- 5
6th
7
1706 +/- 17
4th
3
1486 +/- 2
4th
3
1433 +/- 54
4th
4
1429 +/- 1
3rd
3
1385 +/- 5
3rd
3
1137 +/- 6
2nd
3
868 +/- 1
OpenBenchmarking.orgDistribution Of Public Results - Variant: Monero - Hash Count: 1M782 Results Range From 94 To 124604 H/s942585507675671005812549150401753120022225132500427495299863247734968374593995042441449324742349914524055489657387598786236964860673516984272333748247731579806822978478887279897709226194752972439973410222510471610720710969811218911468011717111966212215312464420406080100

Based on OpenBenchmarking.org data, the selected test / test configuration (Xmrig 6.18.1 - 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-Time20406080100Min: 1 / Avg: 7.52 / Max: 104

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 RunsVariant: Monero - Hash Count: 1MDeviation246810Min: 0 / Avg: 0.26 / 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 BaseXmrig CPU Core ScalingVariant: Monero - Hash Count: 1M468121632566496128510152025

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 Cortex-A72 4-Core, ARMv8 Neoverse-N1 128-Core, ARMv8 Neoverse-V2 72-Core, Ampere ARMv8 Neoverse-N1 128-Core, Ampere ARMv8 Neoverse-N1 256-Core, Apple M1, Apple M2