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

39 Seconds

Average Run Time

1 Minute, 21 Seconds

Test Dependencies

CMake + C/C++ Compiler Toolchain + OpenSSL

Accolades

60k+ 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.102024.116K12K18K24K30K
* 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 November 2024.
GhostRider40.7%CryptoNight-Heavy11.6%CryptoNight-Femto UPX211.6%Monero12.1%KawPow11.9%Wownero12.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: GhostRider - Hash Count: 1M

OpenBenchmarking.org metrics for this test profile configuration based on 733 public results since 2 December 2023 with the latest data as of 14 November 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
3
30280 +/- 2371
97th
14
29480 +/- 683
96th
6
27150 +/- 861
93rd
14
18815 +/- 1343
92nd
17
17598 +/- 2115
91st
8
17324 +/- 475
89th
10
16014 +/- 778
87th
9
15634 +/- 518
86th
9
15141 +/- 62
85th
5
14757 +/- 609
83rd
8
14134 +/- 226
78th
4
10896 +/- 92
78th
10
10855 +/- 1327
Mid-Tier
75th
< 9543
75th
8
9205 +/- 214
72nd
14
8050 +/- 652
70th
6
6116 +/- 9
65th
6
5453 +/- 10
60th
11
4513 +/- 149
59th
10
4463 +/- 74
56th
5
4089 +/- 50
55th
5
4030 +/- 53
53rd
14
3644 +/- 52
51st
9
3426 +/- 147
Median
50th
3421
47th
7
3093 +/- 108
45th
12
2849 +/- 58
42nd
10
2604 +/- 54
37th
7
1971 +/- 21
35th
10
1836 +/- 17
34th
5
1828 +/- 122
31st
4
1701 +/- 2
30th
10
1605 +/- 7
27th
8
1408 +/- 22
Low-Tier
25th
< 1109
25th
4
1072 +/- 25
24th
3
1065 +/- 17
23rd
14
994 +/- 45
20th
7
906 +/- 27
20th
7
905 +/- 3
18th
7
894 +/- 36
18th
9
885 +/- 20
15th
4
841 +/- 3
14th
5
805 +/- 11
14th
4
790 +/- 8
12th
12
697 +/- 45
10th
8
623 +/- 11
9th
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: 1M733 Results Range From 19 To 55658 H/s19113222453358447155846697781089231003611149122621337514488156011671417827189402005321166222792339224505256182673127844289573007031183322963340934522356353674837861389744008741200423134342644539456524676547878489915010451217523305344354556556694080120160200

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

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.43 / 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: 1M4681214163264961281921020304050

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-A53 4-Core, ARMv8 Neoverse-N1, ARMv8 Neoverse-N1 128-Core, ARMv8 Neoverse-V1, ARMv8 Neoverse-V2, ARMv8 Neoverse-V2 72-Core, 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

3 Systems - 126 Benchmark Results

ARMv8 Cortex-A53 - Radxa ROCK 2A - 4096MB

Debian 11 - 5.10.160-38-rk356x - X Server 1.20.11

2 Systems - 49 Benchmark Results

AMD Ryzen 9 9900X 12-Core - Shenzhen Meigao Electronic Equipment MS-A1 A5WSR v1.1 - AMD Device 14d8

Ubuntu 22.04 - 6.8.0-45-generic - 1.3.255

19 Systems - 2903 Benchmark Results

33 Systems - 367 Benchmark Results

17 Systems - 2641 Benchmark Results

16 Systems - 2626 Benchmark Results

Most Popular Test Results

Find More Test Results