Command line options XMRIG

Těžební program XMRig a jeho příkazy pro ladění.

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+
--daemonuse daemon RPC instead of pool for solo mining3.0.0+
--daemon-poll-interval=Ndaemon poll interval in milliseconds (default: 1000)3.0.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% (5 minutes 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 threadsAll
-v--av=Nalgorithm variation, 0 auto selectAll
--cpu-affinityset process affinity to CPU core(s), mask 0x3 for cores 0 and 1All
--cpu-priorityset 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+
--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+
--astrobwt-max-size=Nskip hashes with large stage 2 size, default: 550, min: 400, max: 12005.9.0+
--astrobwt-avx2enable AVX2 optimizations for AstroBWT algorithm5.10.0+

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+

Napsat komentář

Vaše e-mailová adresa nebude zveřejněna. Vyžadované informace jsou označeny *