Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Limit GPU usage intensity? #37

Closed
farzher opened this issue Jul 9, 2017 · 5 comments
Closed

Limit GPU usage intensity? #37

farzher opened this issue Jul 9, 2017 · 5 comments

Comments

@farzher
Copy link

farzher commented Jul 9, 2017

i know you can use ExcavatorExtraStartupParameters to set different options. but none of the intensity options seem to work. Even if they did work i think the minimum intensity is around 90% gpu usage.

How can i limit the gpu usage to like 50%, or 20%? if i could do that then i could leave it running while i'm browsing the web and whatever without noticing lag

@nicehashdev
Copy link
Contributor

You need to adjust algorithm parameters which are algorithm and platform specific. For NVIDIA details are here: https://github.com/nicehash/excavator/tree/master/nvidia

For AMD, details are here: https://github.com/nicehash/excavator/tree/master/api

For NVIDIA, it usually mean reducing number of blocks.

@farzher
Copy link
Author

farzher commented Jul 9, 2017

how do i use these options? i've tried everything i can think of

i was able to get default_command_file.json working. inside it i put this {"id":1,"method":"algorithm.add","params":["daggerhashimoto","daggerhashimoto.eu.nicehash.com:3353","x.x","B=1","TPB=128","HPW=4","S=1"]}

everything works except for the named params at the end, because they're probably not supposed to be there, but i don't know where to put them

@farzher
Copy link
Author

farzher commented Jul 9, 2017

nvm i figured it out, the options have to go on the worker.add call

{"id":1,"method":"worker.add","params":["0","0","B=1","TPB=128","HPW=4","S=1"]},

@farzher
Copy link
Author

farzher commented Jul 9, 2017

So like i thought, most algorithms still use about 98% gpu even on the lowest intensity, keeping the computer not very usable

i was able to get one algo down to only 50% gpu usage! except the hashrate when down to like 0.001%...

am i wasting my time? why can't the miner use 50% of my gpu and go at half speed?

@nicehashdev
Copy link
Contributor

That is not how GPUs work. It is not like CPU, where if you set execution cap to 50%, you get exactly 50% of performance.

We are talking with NVIDIA and already proposed some adjustments to be made, but that may happen no sooner than with CUDA 9.5 which means we are stuck with current options for another half a year at least.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants