Optional paramter. These are the graphics cards that will be used by the miner. If you do not want to launch the miner on all available GPUs but only on some of them, their numbers can be provided in the devices parameter separated by a comma or space. nanominer numbers the GPUs starting from zero in ascending order of their PCI addresses. You can see a list of available GPUs and the order in which they're in by launching nanominer with the -d command line option:
For example, if there are four GPUs in the system (0, 1, 2, 3) and all but the second-to-last one (indexed as 2) must be set to mine, then the devices option must be set in the following manner:
The order of devices determines the order of displayed hashrate. For example, if it is set as
then the hashrate line will first display GPU3, then GPU1 and finally GPU0.
Example of configuration file for mining Ethereum, Monero, Ubiq and PascalCoin on same 8 GPUs rig using separate devices:
rigName = rig1 [Ethash] wallet = 0xffffffffffffffffffffffffffffffffffffffff devices = 0,1 [Etchash] wallet = 0xffffffffffffffffffffffffffffffffffffffff devices = 5 [Ubqhash] wallet = 0x1111111111111111111111111111111111111111 pool1 = ubiq-eu.maxhash.org:8008 devices = 2,3,4,6,7 [RandomX] wallet=87xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
2. coreClocks, memClocks
Optional common parameters. Can be used to overclock/underclock NVIDIA GPU's. Absolute (e.g. 4200) as well as relative (e.g. +200, -150) values in MHz are accepted. The values must be separated by a comma or space (first value is for GPU0, second is for GPU1, and so on). For example, if it is set as
then GPU0 will be overclocked by 200 MHz of core and 300 MHz of memory, whereas GPU1 core clock will be underclocked by 150 MHz, and its memory clock set to 3900 MHz. You can also apply same settings for each GPU by defining only one of the core and memory clock values, for example:
Can be used to set Nvidia cards power limits from -50 to 50. Parameter values must be separated by a comma or space (first value is for GPU0, second is for GPU1, and so on). You can also apply same settings for each GPU by defining only one power limit value.
-20 means 80% power limit
10 means 110% power limit for 4 GPUs
powerLimits= 10 10 10 10
Can be set to modify AMD GPU timings on the fly for Ethash algorithm.
The following AMD ASICs are currently supported: gfx900, gfx901, gfx906, gfx907, Baffin, Ellesmere, gfx804, Hawaii, Tahiti, Pitcairn, Tonga.
Miner must be launched using admin/root privileges in order to change timings.
Default memory tweak value is 1 which means slightly improving memory timings. Zero value means timings are left as is without modifications. Parameter values must be separated by a comma or space (first value is for GPU0, second is for GPU1, and so on).
Supported memory tweak value range is from 0 to 10 (0 means disabling timings modification, 1 is the least intense, 10 is the most intense), for example:
It is recommended to begin from lower values and increase them if the miner works stably.
You can also apply same settings for each GPU by defining only one memory tweak value:
Optional algorithm parameter for CPU mining. Specifies the number of concurrent CPU threads to use for mining. All threads are used by default.
[RandomX] wallet = 87xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx rigName = rig1 email = [email protected] cpuThreads = 8