KB: Knowledge Base - Turn off Automatic Mode

< Back

By default the miner does automatically find correct platform, number of GPU`s / Threads and adjust them separately. However if it is the case that this does not work you can turn off automatic mode and configure platform-index by using this command:

–platformindex <your amd platform index> OR -pidx <your amd platform index>

You must also specify number of threads to run on that Platform. It is usally same as amount of GPU`s but on some models you could run multiple threads on one GPU. Threads can be defined by command:

–threads <your number of threads to start> OR -t <your number of threads to start>

Now that the miner registers that it have received a manual thread configuration, all automations are currently turned off and your on your own while configuring devices. Not that hard of a task, but when it works automatic mode is far easier. However in case you want to fine tune your devices further in order to try to gain a couple more hashes you can do this aswell.

Next you need to create gpu.json file in the same catalog as your executable file. Here you will need to specify intensity and worksizes for each thread you have chosen, for a 3 gpu system, this is usually the config:

 

[ “threads” : [
{ “index” : 0, “intensity” : 1000, “worksize” : 8},
{ “index” : 1, “intensity” : 1000, “worksize” : 8},
{ “index” : 2, “intensity” : 2016, “worksize” : 8},
],

each index is a GPU based on same number in –list_devices, GPU 1 starts at <“index” : 0>

Great! But what about a system that uses multiple threads on a single GPU?
If you have 3 gpu`s and would like to run 2 threads each GPU, you would have to define this as <–threads 6> in execution command, and in your gpu.json file you must define indexes for each gpu twice so you have definition for that 6 threads and index therefor up to 2 like this:

 

[ “threads” : [
{ “index” : 0, “intensity” : 1000, “worksize” : 8},
{ “index” : 0, “intensity” : 1000, “worksize” : 8},
{ “index” : 1, “intensity” : 1000, “worksize” : 8},
{ “index” : 1, “intensity” : 1000, “worksize” : 8},
{ “index” : 2, “intensity” : 1000, “worksize” : 8},
{ “index” : 2, “intensity” : 1000, “worksize” : 8},
],