cbuchner1 / CudaMiner

a CUDA accelerated litecoin mining application based on pooler's CPU miner
Other
688 stars 303 forks source link

Control the GPU usage of cgminer #114

Open lhyco2 opened 10 years ago

lhyco2 commented 10 years ago

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

cbuchner1 commented 10 years ago

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 notifications@github.com:

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 .

duanwujie commented 10 years ago

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

lhyco2 commented 10 years ago

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%