You are on page 1of 6

Claymore's CryptoNight GPU Miner.


This is POOL version.

Catalyst 15.12 is required for best performance and compatibility.

Set "GPU_MAX_ALLOC_PERCENT" environment variable as "100".

For multi-GPU systems, set Virtual Memory size in Windows at least 16 GB:
"Computer Properties / Advanced System Settings / Performance / Advanced / Virtual

This miner is free-to-use, however, current developer fee is 2% if you use secure
SSL/TLS connection to mining pool, miner mines 49 rounds for you and 1 round for
If you use unsecure connection to mining pool, current developer fee is 2.5%, miner
mines 39 rounds for you and 1 round for developer.
If you don't agree with the dev fee - don't use this miner, or use "-nofee" option.
Attempts to cheat and remove dev fee will cause a bit slower mining speed (same as
"-nofee 1") though miner will show same hashrate.

This version is for recent AMD videocards only: 7xxx and 2xx, also 6xxx and 5xxx.
No nVidia support.
This version is for Windows x64 only. No 32-bit support.
Linux version also requires AMD APP SDK installed. Linux version has been tested in
Cent 6.5 and Ubuntu 14.04.
Miner has built-in GPU overclocking features and temperature management, also it
supports remote monitoring/management.


-o pool address. Both HTTP and Stratum protocol are supported. You can specify
several "-o" parameters to use several pools, or use "epools.txt" file, or use
Miner also supports Stratum with SSL/TLS encryption for all data between
miner and pool (if pool supports encryption), it significantly improves security.
To enable encryption, use "ssl://" or "stratum+ssl://" prefix (or "tls"
instead of "ssl"), for example: "-o ssl://us-east.cryptonight-"

-u your wallet address. If your pool requires Username.Worker instead of wallet
address, add "-allpools 1" option if miner shows an error.

-p password, use "x" as password.

-allpools Specify "-allpools 1" if miner does not want to mine on specified pool
(because it cannot mine devfee on that pool), but you agree to use some default
pools for devfee mining.
Note that if devfee mining pools will stop, entire mining will be stopped

-di GPU indexes, default is all available GPUs. For example, if you have four
GPUs "-di 02" will enable only first and third GPUs (#0 and #2).
You can also turn on/off cards in runtime with "0"..."9" keys and check
current statistics with "s" key.

-dbg debug log and messages. For example. So you can create "reboot. set zero if there is no main pool. -r Restart miner mode. So you have a choice: "fastest miner" or "completely free miner but a bit slower". -tt set target GPU temperature. in minutes.-a Select algorithm: "-a 0" (default) means autoselection. -r >20 . for example. so you can restart it from some script if some GPU does not respond. If you want both "fastest" and "completely free" you should find some other miner that meets your requirements. just don't use this miner instead of claiming that I need to cancel/reduce developer fee. Use "-ee 1" to close miner when it tried all pools. It is very important for good mining speed to select correct "-a" and "-h" values for your cards. Default values is "20".restart miner if something wrong with GPU. "-a 4" fastest mining for recent cards (280x. Use "-wd 1" to enable watchdog.create log file and show debug messages. "-a 3" fastest mining for old cards (6xxx and 5xxx). -ftime failover main pool switch time. Specify "-retrydelay -1" if you don't need reconnection. "-dbg -1" .create log file but don't show debug messages. "-r 0" (default) . miner will be closed if any thread is not responding for 1 minute or OpenCL call failed. By enabling this mode. -retrydelay delay. You can also specify mode for every card separately.bat" file ("reboot. "-a 1234". in this mode miner will exit if connection is lost. -wd watchdog" for Linux version) in the miner directory (if exists) if some GPU failed.bat" file and perform some actions. 270/270x etc). saying that 2. By default.5% of your earnings. A bit less speed (1%) but less power consumption (10-15%). for example. "-r 1" closes miner and execute "reboot. You . "-dbg 0" (default) . "-r -1" . reboot system if you put this line there: "shutdown /r /t 5 /f". miner tries all pools one by one. In this mode some recent optimizations are disabled so mining speed will be slower by about 5%. so you can restart it from some script and do some additional actions related to internet connectins if necessary. "-a 2" low power consumption mode for 290/290x cards. Default value is 30 minutes.disable automatic restarting. I will lose 100% of my earnings.bash" or "reboot. between connection attempts.restart miner if something wrong with GPU or by timer. "-tt 80" means 80C temperature. see "Failover" section below. For old cards 5xxx and 6xxx use "-a 3" mode only. "-a 1" fastest mining mode for 290/290x and 270/270x cards.restart miner every hour or when some GPU log file and no debug messages. otherwise you can get "LowDifficultyShare" errors from pool. -nofee: set "1" to cancel my developer fee at all. For example. -li Low intensity mode. in seconds. you will lose only 2. "-dbg 1" . -ee close miner if no more pools are available in the list. after last pool it tries first pool again and so on. Specify "-li 1" if you don't want Windows to freeze. "-r 60" .5% developer fee is too much for this miner and so on.

for example. For many cases you can increase performance by adjusting this parameter value. You can also specify values for every card. "-fanmin 50" will set minimal fans speed to 50%. default value is used.e...90". You can also specify values for every card. in percents. You can also press "0". Sometimes changing "HashCnt" by "+" and "-" keys causes problems with OpenCL. so you can find the best "-h" value by yourself. You can also specify values for every card. -h number of hashes that GPU processes during one round (HashCnt). "+" and "-" keys to find the best value. "-tt 1" (default) does not manage fans but shows GPU temperature and fan status every 30 seconds. for example. For example.0". for example "-tstop 95. for example "-tt 70.85. For example. One hash takes about 2MB of GPU memory. Default value is "0". for example "-tt -50" sets 50% fan speed. Press "m" key to see current hashrate for every GPU round. "-tstop -95" will close miner as soon as any GPU reach 95C temperature. Values must be divisible by 32. . You can also specify negative value to close miner immediately instead of stopping GPU. This option works only if miner manages cooling. "-tstop 95" means 95C temperature. otherwise near value that is divisible by 32 will be selected. in this case you need to restart miner and change "-h" values in command line directly. zero value means autoselection. NOTE: Check "KNOWN ISSUES" section. -fanmin set minimal fan speed.1376. "-h 832" means HashCnt=832 for all cards. You can also set static fan speed if you specify negative values. it will close miner in 30 seconds. For example. miner will stop mining if GPU reaches specified temperature.can also specify values for every card. Default value is "100". You can also specify values for every card. This feature is disabled by default ("-tstop 0"). GPU indexes in temperature control sometimes don't match GPU indexes in mining! If it turned off wrong card.70". Specify zero to disable control and hide GPU statistics. -tstop set stop GPU temperature.832. in percents.0". You can also specify values for every card. then use "+" and "-" keys to increase/reduce "-h" value.60. i. If not specified or zero. for example. but there are many cards and I don't have them all. for example "-fanmin 50. Specify values 2.1050.. for 280x card the best value is 832. This option works only if miner manages cooling.70". in MHz. too big value may cause unstable mining and in many cases max value is not the best. For 290x card the best value is 1376. If not specified. for example "-cclock 1000. For most popular cards miner sets the best value automatically. -fanmax set maximal fan speed.80. for example "-fanmax 50. -cclock set target GPU core clock speed."9" keys to select active card. miner will not change current clock speed.75". i. when "-tt" option is used to specify target temperature.e. "-fanmax 80" will set maximal fans speed to 80%. when "-tt" option is used to specify target temperature.1100.5 if it is too often.60. for example "-h 640. You also should specify non-zero value for "-tt" option to enable this option. Use "m".

For example. specify "-mport 0" to disable remote monitoring/management feature. If there are not any command line options. for example.05V. Supports latest AMD 4xx cards only in Windows.txt" files.exe -o stratum+tcp://mine. multiplied by 1000. it must be configuration file name.970". miner will not change power limit. Specify negative value to enable monitoring (get statistics) but disable management (restart. You can also specify values for every card. but remote management will be blocked. Default value is "1".950. If there is only one option in the command line. You can also specify values for every card. -v displays miner version. Default value is -3333 (read-mode). For example. multiplied by 1000.970".moneropool.10". not from configuration file.txt" file instead of specifying options in command line." or "#". You can also specify values for every card.- 20. in MHz. define "WORKER" environment variable and use it as "%WORKER%" in config.1200. You can also specify values for every card. For example. "-mvddc 1050" means 1.-mclock set target GPU memory clock speed.0". -mport remote monitoring/management port. If there are two or more options in the command line.txt. -mvddc set target GPU memory voltage. from -50 to 50.05V.txt or in epools. miner will check "config. for example "-mclock 1200. -powlim set power limit.txt" file for options. type "localhost:3333" in web browser.1000. sample usage: "-v 1". SAMPLE USAGE moneropool (unencrypted connection): NsGpuCNMiner. uploading files). if first character of a line is ". Place one option per line. for example "-cvddc 900.txt" and "config. If not specified or zero. miner will take all options from the command line. Supports latest AMD 4xx cards only in Windows. You can also use your web browser to see current miner state. CONFIGURATION FILE You can use "config. If not specified. "-cvddc 1050" means 1. this line will be ignored. Warning: use negative option value or disable remote management entirely if you think that you can be attacked via this port! -colors enables or disables colored text in console. miner will not change current clock speed. You can also use environment variables in " -u 449TGay4WWJPwsXrWZfkMoPtDbJp8xoSzFuyjRt3iaM4bRHdzw4qoDu26FdcGx67BMDS1r2bnp7f5hF6xdP WWrD3Q3Wf7G6 -p x miningpoolhub SSL/TLS connection (this pool detects encryption automatically so it uses same port as for unencrypted connection): . for example "-mvddc 900. use "- colors 0" to disable coloring. -cvddc set target GPU core voltage.950. for example.0. for example "-powlim 20.1000. "-mport -3333" enables port 3333 for remote monitoring.

Reboot computer.cryptonight-hub. this line will be ignored. NsGpuCNMiner. About 550 h/s on stock 280X (Hynix memory).txt" files. Pool specified in the command line is "main" pool. About 690 h/s on stock 290 (Elpida memory).YourWorker -p x Do not forget to specify your wallet address! FAILOVER Use "epools. TROUBLESHOOTING 1..txt" file in runtime by pressing "r" key.miningpoolhub.txt." character in parameter value.txt" and "config. Try "-a 1". "-a 4" and select best mode. Do not change spacing. guide how to get maximal speed: 1. define "WORKER" environment variable and use it as "%WORKER%" in config. Miner disconnects automatically if pool does not send new jobs for a long time or if pool rejects too many shares. Set Virtual Memory 16 GB. PERFORMANCE About 810 h/s on stock 290X (Hynix memory). This file has text format. 3. Every pool has 3 connection attempts. If no pool was specified in the command line then first pool in the failover pools list is main pool. press "m" key to see immediate .txt or in epools. You can reload "epools. You can change 30 minutes time period to some different value with "-ftime" option. one pool per line. Disable overclocking. You can also use environment variables in "epools. If you need to specify ".e.txt" file to specify additional pools. TUNING For 290X/290/280X/270X/270 you can leave default parameters.exe -o ssl://us-east. miner will apply best settings automatically. For other cards." or "#".com:20580 -u YourLogin. Set GPU_MAX_ALLOC_PERCENT 100. spaces between parameters and values are required for parsing. i.12.. About 440 h/s on stock 270X (Elpida memory). 4. If the first character of a line is ". 2. "-a 3". use two commas . About 710 h/s on stock 290X (Elpida memory). will be treated as one comma. 5. Install Catalyst v15. For example. or use "-ftime 0" to disable switching to main pool. do not specify "- a" and "-h". miner will try to return to it every 30 minutes if it has to use some different pool from the list. About 410 h/s on stock 270 (Elpida memory).

hashrate. 2. Remember "HashCnt" value when miner starts. remember hashrate and change "-h" parameter step by step by 32 in both directions (less and more). Select best value based on immediate hashrate. . then specify "-h" parameter with this value.