mirror of
https://github.com/xmrig/xmrig.git
synced 2026-06-18 10:22:39 -04:00
978720462d4ea84a1d07795514bbc9996bf07092
Two Apple-silicon-targeted tweaks to the aarch64 RandomX JIT:
- Early dataset prefetch: when readReg2/readReg3 are finalized well before
the end of the program body, emit the next iteration's dataset-line prefetch
early to hide more DRAM latency on the serial scalar chain.
- Non-temporal dataset loads: each 64-byte dataset line is read once and never
reused, so ldp -> ldnp avoids evicting the hot scratchpad, and the prefetch
hint moves pldl2strm -> pldl1strm to match the longer lead time.
Measured ~8% hashrate gain on Apple M4 base over dev (7eadfdc9).
XMRig
XMRig is a high performance, open source, cross platform RandomX, KawPow, CryptoNight and GhostRider unified CPU/GPU miner and RandomX benchmark. Official binaries are available for Windows, Linux, macOS and FreeBSD.
Mining backends
- CPU (x86/x64/ARMv7/ARMv8/RISC-V)
- OpenCL for AMD GPUs.
- CUDA for NVIDIA GPUs via external CUDA plugin.
Download
Usage
The preferred way to configure the miner is the JSON config file as it is more flexible and human friendly. The command line interface does not cover all features, such as mining profiles for different algorithms. Important options can be changed during runtime without miner restart by editing the config file or executing API calls.
- Wizard helps you create initial configuration for the miner.
- Workers helps manage your miners via HTTP API.
Donations
- Default donation 1% (1 minute in 100 minutes) can be increased via option
donate-levelor disabled in source code. - XMR:
48edfHu7V9Z84YzzMa6fUueoELZ9ZRXq9VetWzYGzKt52XU5xvqgzYnDK9URnRoJMk1j8nLwEVsaSWJ4fhdUyZijBGUicoD
Developers
Contacts
Languages
C
52.8%
C++
41%
Assembly
5.3%
CMake
0.7%