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

40 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.062021.082021.102021.122022.022022.042022.062022.082022.102022.122023.022023.042023.062023.082023.102023.122024.022024.042024.062024.082024.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 21 November 2024.
GhostRider40.6%CryptoNight-Heavy11.7%CryptoNight-Femto UPX211.7%Monero12.2%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: 1M732 Results Range From 94 To 55658 H/s94120623183430454256546766787889901010211214123261343814550156621677417886189982011021222223342344624558256702678227894290063011831230323423345434566356783679037902390144012641238423504346244574456864679847910490225013451246523585347054582556944080120160200

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: 1 / Avg: 26.15 / 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.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