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 Xmlrig 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

23 October 2022

Test Maintainer

Michael Larabel 

Test Type

Processor

Average Install Time

50 Seconds

Average Run Time

16 Minutes, 45 Seconds

Test Dependencies

CMake + C/C++ Compiler Toolchain + OpenSSL

Accolades

5k+ 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.112K4K6K8K10K
* 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 current as of 28 November 2022.
Wownero49.0%Monero51.0%Variant Option PopularityOpenBenchmarking.org

Revision History

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 221 public results since 23 October 2022 with the latest data as of 2 December 2022.

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
5
93970 +/- 402
97th
3
57316 +/- 390
96th
5
55580 +/- 315
93rd
4
50870 +/- 247
92nd
5
45036 +/- 254
90th
5
43771 +/- 192
87th
3
36667 +/- 30
86th
3
35731 +/- 185
84th
3
31786 +/- 32
83rd
3
28465 +/- 35
81st
5
27346 +/- 75
76th
10
25826 +/- 498
Mid-Tier
75th
< 25205
74th
5
24700 +/- 134
72nd
3
22344 +/- 24
64th
5
14369 +/- 98
63rd
3
12816 +/- 366
62nd
8
12681 +/- 361
58th
4
11856 +/- 1087
52nd
14
9559 +/- 49
Median
50th
9498
40th
4
7303 +/- 291
40th
5
7217 +/- 116
35th
4
4011 +/- 504
34th
4
3558 +/- 6
32nd
4
3529 +/- 20
30th
5
2705 +/- 49
26th
4
2394 +/- 6
Low-Tier
25th
< 2390
25th
4
2318 +/- 272
24th
4
2276 +/- 1
22nd
4
2237 +/- 27
21st
3
2221 +/- 5
19th
4
2141 +/- 42
17th
3
1976 +/- 10
15th
3
1922 +/- 20
13th
6
1708 +/- 18
8th
3
1486 +/- 2
7th
3
1433 +/- 54
6th
3
1385 +/- 5
4th
3
1137 +/- 6
3rd
3
868 +/- 1
OpenBenchmarking.orgDistribution Of Public Results - Variant: Monero - Hash Count: 1M221 Results Range From 94 To 94411 H/s9419813868575576429529114161330315190170771896420851227382462526512283993028632173340603594737834397214160843495453824726949156510435293054817567045859160478623656425266139680266991371800736877557477461793488123583122850098689688783906709255794444918273645

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 13 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-Time1428425670Min: 1 / Avg: 13.01 / Max: 75

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

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

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: 17 November 2022

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, Ampere ARMv8 Neoverse-N1 128-Core, Ampere ARMv8 Neoverse-N1 256-Core, Apple M1, Apple M2