Скачать XMRig Miner

6.26.0
Kryptex Pool: Надёжный. Эффективный. Прибыльный.

Полная инструкция к майнеру XMRig

Network

Short optionLong optionDescriptionVersion
-o--url=URLURL of mining serverAll
-a--algo=ALGOmining algorithmAll
--coin=COINspecify coin instead of algorithm3.2.0+
-u--user=USERNAMEusername for mining serverAll
-p--pass=PASSWORDpassword for mining serverAll
-O--userpass=U:Pusername:password pair for mining serverAll
-x--proxy=HOST:PORTconnect through a SOCKS5 proxy5.7.0+
-k--keepalivesend keepalive packet for prevent timeout (needs pool support)All
--nicehashenable nicehash supportAll
--rig-id=IDrig identifier for pool-side statistics (needs pool support)2.6.1+
--tlsenable SSL/TLS support (needs pool support)2.8.0+
--tls-fingerprint=HEXpool TLS certificate fingerprint for strict certificate pinning2.8.0+
--dns-ipv6prefer IPv6 records from DNS responses6.11.0+
--dns-ttl=NN seconds (default: 30) TTL for internal DNS cache6.11.0+
--daemonuse daemon RPC instead of pool for solo mining3.0.0+
--daemon-poll-interval=Ndaemon poll interval in milliseconds (default: 1000)3.0.0+
--self-select=URLself-select block templates from URL4.4.0+
--submit-to-originalso submit solution back to self-select URL6.9.0+
-r--retries=Nnumber of times to retry before switch to backup server (default: 5)All
-R--retry-pause=Ntime to pause between retries (default: 5)All
--user-agentset custom user-agent string for pool2.3.0+
--donate-level=Ndonate level, default 1% (1 minute in 100 minutes)All
--donate-over-proxy=Ncontrol donate over xmrig-proxy feature3.0.0+

CPU backend

Short optionLong optionDescriptionVersion
--no-cpudisable CPU mining backend3.0.0+
-t--threads=Nnumber of CPU threads. Proper CPU affinity required for some optimizations.All
--cpu-affinity=Nset process affinity to CPU core(s), mask 0x3 for cores 0 and 1All
-v--av=Nalgorithm variation, 0 auto selectAll
--cpu-priority=Nset process priority (0 idle, 2 normal to 5 highest)2.3.0+
--cpu-max-threads-hint=Nmaximum CPU threads count (in percentage) hint for autoconfig4.2.0+
--cpu-memory-pool=Nnumber of 2 MB pages for persistent memory pool, -1 (auto), 0 (disable)4.3.0+
--cpu-no-yieldprefer maximum hashrate rather than system response/stability5.1.1+
--no-huge-pagesdisable huge pages support2.3.0+
--hugepage-size=Ncustom hugepage size in kB (Linux only)2.8.1+
--huge-pages-jitenable huge pages support for RandomX JIT codeAll
--asm=ASMASM optimizations, possible values: auto, none, intel, ryzen, bulldozer2.8.0+
--argon2-impl=IMPLargon2 implementation: x86_64, SSE2, SSSE3, XOP, AVX2, AVX-512F6.3.1+
--randomx-init=Nthread count to initialize RandomX dataset3.0.0+
--randomx-no-numadisable NUMA support for RandomX3.0.0+
--randomx-mode=MODERandomX mode: auto, fast, light5.1.0+
--randomx-1gb-pagesuse 1GB hugepages for RandomX dataset (Linux only)5.2.0+
--randomx-wrmsr=Nwrite custom value(s) to MSR registers or disable MSR mod (-1)5.2.0+
--randomx-no-rdmsrdisable reverting initial MSR values on exit5.5.0+
--randomx-cache-qosenable Cache QoS6.3.1+

OpenCL backend

Short optionLong optionDescriptionVersion
--openclenable OpenCL mining backend5.0.0+
--opencl-devices=Ncomma separated list of OpenCL devices to use5.0.0+
--opencl-platform=NOpenCL platform index or name5.0.0+
--opencl-loader=PATHpath to OpenCL-ICD-Loader (OpenCL.dll or libOpenCL.so)5.0.0+
--opencl-no-cachedisable OpenCL cache5.0.0+
--print-platformsprint available OpenCL platforms and exit5.0.0+

CUDA backend

Short optionLong optionDescriptionVersion
--cudaenable CUDA mining backend5.0.0+
--cuda-loader=PATHpath to CUDA plugin (xmrig-cuda.dll or libxmrig-cuda.so)5.0.0+
--cuda-devices=Ncomma separated list of CUDA devices to use5.0.0+
--cuda-bfactor-hint=Nbfactor hint for autoconfig (0-12)5.0.1+
--cuda-bsleep-hintbsleep hint for autoconfig5.0.1+
--no-nvmldisable NVML (NVIDIA Management Library) support5.0.0+

API

Short optionLong optionDescriptionVersion
--api-worker-id=IDcustom worker-id for API2.4.0+
--api-id=IDcustom instance ID for API2.4.0+
--http-host=HOSTbind host for HTTP API (default: 127.0.0.1)5.0.0+
--http-port=Nbind port for HTTP API5.0.0+
--http-access-token=Taccess token for HTTP API5.0.0+
--http-no-restrictedenable full remote access to HTTP API (only if access token set)5.0.0+

Logging

Short optionLong optionDescriptionVersion
-S--sysloguse system log for output messagesAll
-l--log-file=FILElog all output to a fileAll
--print-time=Nprint hashrate report every N secondsAll
--health-print-time=Nprint health report every N seconds5.0.0+
--no-colordisable colored outputAll
--verboseverbose output5.4.0+

Misc

Short optionLong optionDescriptionVersion
-c--config=FILEload a JSON-format configuration fileAll
-B--backgroundrun the miner in the backgroundAll
-V--versionoutput version information and exitAll
-h--helpdisplay this help and exitAll
--dry-runtest configuration and exitAll
--export-topologyexport hwloc topology to a XML file and exit3.0.0+
--titleset custom console window title6.0.1+
--no-titledisable setting console window title6.0.1+
--pause-on-batterypause mine on battery power6.3.1+
--pause-on-active=Npause mine when the user is active (resume after N seconds of last activity)6.9.0+
--stressrun continuous stress test to check system stability6.4.0+
--bench=Nrun benchmark, N can be between 1M and 10M6.4.0+
--submitperform an online benchmark and submit result for sharing6.5.0+
--verify=IDverify submitted benchmark by ID6.5.0+
--seed=SEEDcustom RandomX seed for benchmark6.5.0+
--hash=HASHcompare benchmark result with specified hash6.5.0+
--no-dmidisable DMI/SMBIOS reader6.8.0+

Memory size requirements

2080 MB per NUMA node for dataset, 1 NUMA node usually equal to 1 CPU socket, the miner show number of nodes on startup.

256 MB for cache on first NUMA node.

256 KB of L2 cache and 2 MB of L3 cache per 1 mining thread.

CPU cache requirements is the main reason why the miner not use all threads on most CPUs (very popular question). On Windows 4GB memory may not enough system and miner.

There are several ways to increase or reduce memory requirements:

1GB huge pages on Linux, increases memory requirements to 3GB (3 pages) per NUMA node and increases the hashrate by 1-3%.

Disable NUMA support by "numa": false in "randomx" object, miner will use only 1 dataset, but it reduce hashrate significantly, if you have only 1 NUMA node this option has no effect.

RandomX light mode, reduces memory requirements to 256 MB but this mode very slow, can be enabled by "mode": "light", in "randomx" object.

Multiple memory channels may be required:

DDR3 memory is limited to about 1500-2000 H/s per channel (depending on frequency and timings)

DDR4 memory is limited to about 4000-6000 H/s per channel (depending on frequency and timings)

Huge Pages

Huge Pages can increase RandomX performance up to 50%, 1GB huge pages (Linux only) increase hashrate by an additional 1-3% on top of regular huge pages.

Hardware prefetchers MSR mod

You must disable hardware prefetchers to get the optimal RandomX performance.

Cache QoS

Experimental feature to disallow all CPU cores which are not mining to not have access to L3 cache which reduce interference with mining.

Скачать XMRig Miner

6.26.0