CudaMiner icon indicating copy to clipboard operation
CudaMiner copied to clipboard

Control the GPU usage of cgminer

Open lhyco2 opened this issue 11 years ago • 3 comments

We are developing the cgminer and want to put the GPU Control policy into cudaminer. You are Specialize in this. Can you give us any proposal about how to implement it. How can i limit cgminer GPU usage of cgminer, Because I might need to play the game at the same time mining, And to not affect the normal usage of PC,Our Team hope more people to know BTC LTC to use BTC LTC and make the world open

Best regards

Co2

lhyco2 avatar Mar 20 '14 07:03 lhyco2

This could be accomplished by placing sleep intervals of a carefully controlled length into the computation.

Unfortunately while CUDA runs a kernel, no other application can access the GPU. It's a time sharing mechanism. Means that in order for games to run smoothly, the computation times of CUDA kernels have to be short, in the order of the frame duration of a game.

Christian

2014-03-20 8:39 GMT+01:00 lhyco2 [email protected]:

We are developing the cgminer and want to put the GPU Control policy into cudaminer. You are Specialize in this. Can you give us any proposal about how to implement it. How can i limit cgminer GPU usage of cgminer, Because I might need to play the game at the same time mining, And to not affect the normal usage of PC,Our Team hope more people to know BTC LTC to use BTC LTC and make the world open

Best regards

Co2

Reply to this email directly or view it on GitHubhttps://github.com/cbuchner1/CudaMiner/issues/114 .

cbuchner1 avatar Mar 20 '14 09:03 cbuchner1

Thank you and my parter Co2 for this question

We already try to use this policy, but did not feel good, especially on windows xp sp3,

We tried to stop working during other game occupied the GPU ,But we can't find a way do know which one occupied it.

And also wonder if there a way to limit the GPU usage of cudaminer like 50%

Dan Panic

duanwujie avatar Mar 21 '14 04:03 duanwujie

We already try to use this policy, but did not feel good, especially on windows xp sp3,

We tried to stop working during other game occupied the GPU ,But we can't find a way do know which one occupied it.

And also wonder if there a way to limit the GPU usage of cudaminer like 50%

lhyco2 avatar Mar 27 '14 15:03 lhyco2