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

46 Seconds

Average Run Time

3 Minutes, 32 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 26 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.12.1

Variant: Monero - Hash Count: 1M

OpenBenchmarking.org metrics for this test profile configuration based on 937 public results since 24 April 2021 with the latest data as of 9 December 2023.

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
8
107496 +/- 3841
100th
8
81752 +/- 303
98th
8
60891 +/- 2303
96th
14
51006 +/- 228
95th
5
50268 +/- 1406
95th
4
49871 +/- 163
93rd
8
48650 +/- 145
91st
12
42919 +/- 1812
90th
6
39656 +/- 360
89th
7
36284 +/- 260
88th
4
31571 +/- 516
85th
9
29711 +/- 392
83rd
13
28396 +/- 242
82nd
5
27932 +/- 188
82nd
10
27541 +/- 1942
79th
20
24397 +/- 3129
77th
14
22104 +/- 523
Mid-Tier
75th
< 21099
75th
9
21060 +/- 62
75th
11
21033 +/- 642
74th
5
20722 +/- 25
74th
3
20641 +/- 974
72nd
12
19429 +/- 1464
71st
3
17386 +/- 89
68th
13
14622 +/- 98
67th
6
13855 +/- 1308
66th
4
13568 +/- 40
65th
7
12962 +/- 46
65th
5
12902 +/- 491
64th
3
12708 +/- 100
64th
7
12351 +/- 188
62nd
4
10750 +/- 36
58th
9
7988 +/- 195
57th
8
7934 +/- 177
52nd
24
7383 +/- 278
Median
50th
7269
50th
5
7248 +/- 509
50th
6
7194 +/- 38
49th
8
7128 +/- 816
48th
4
6851 +/- 41
47th
8
6357 +/- 623
46th
3
6043 +/- 32
45th
7
5769 +/- 134
45th
3
5586 +/- 265
43rd
10
5154 +/- 125
43rd
4
5136 +/- 3
42nd
3
4782 +/- 11
41st
3
4338 +/- 2
40th
3
3895 +/- 15
39th
3
3871 +/- 4
39th
11
3751 +/- 287
36th
3
3264 +/- 9
35th
6
3046 +/- 183
35th
3
3028 +/- 14
34th
9
2894 +/- 212
34th
4
2788 +/- 34
32nd
7
2636 +/- 45
32nd
3
2578 +/- 11
32nd
4
2565 +/- 115
31st
9
2457 +/- 121
31st
5
2448 +/- 150
29th
4
2303 +/- 5
29th
3
2261 +/- 1
28th
12
2255 +/- 21
27th
4
2242 +/- 36
27th
11
2236 +/- 18
26th
5
2204 +/- 117
Low-Tier
25th
< 2168
25th
3
2142 +/- 37
25th
5
2140 +/- 5
24th
5
1973 +/- 139
23rd
3
1937 +/- 16
23rd
5
1917 +/- 27
23rd
5
1910 +/- 36
22nd
4
1859 +/- 24
21st
3
1806 +/- 11
20th
4
1750 +/- 89
20th
3
1726 +/- 7
19th
4
1644 +/- 33
19th
3
1638 +/- 2
19th
4
1636 +/- 1
18th
6
1568 +/- 22
17th
6
1516 +/- 2
16th
4
1489 +/- 5
16th
3
1451 +/- 13
15th
4
1415 +/- 194
15th
6
1411 +/- 4
15th
5
1407 +/- 172
14th
3
1393 +/- 8
14th
4
1365 +/- 11
13th
6
1310 +/- 1
12th
5
1284 +/- 23
12th
3
1280 +/- 3
11th
4
1265 +/- 8
11th
3
1263 +/- 13
11th
3
1236 +/- 14
10th
7
1209 +/- 20
10th
6
1203 +/- 13
8th
8
1145 +/- 21
8th
3
1127 +/- 1
8th
5
1118 +/- 32
6th
3
1022 +/- 1
6th
8
1000 +/- 52
5th
6
971 +/- 20
5th
8
939 +/- 30
4th
3
903 +/- 3
4th
3
855 +/- 3
3rd
4
806 +/- 17
2nd
4
601 +/- 3
OpenBenchmarking.orgDistribution Of Public Results - Variant: Monero - Hash Count: 1M937 Results Range From 99 To 111089 H/s992319453967598979111991341915639178592007922299245192673928959311793339935619378394005942279444994671948939511595337955599578196003962259644796669968919711397335975579777998001982239844598667988899911199333995559977799999910221910443910665910887911109960120180240300

Based on OpenBenchmarking.org data, the selected test / test configuration (Xmrig 6.12.1 - Variant: Monero - Hash Count: 1M) has an average run-time of 15 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: 14.72 / Max: 119

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

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

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: 1M2468162432641281122334455

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