cbuchner1 / CudaMiner

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

Utilize CPU to 99% #128

Open utahman opened 10 years ago

utahman commented 10 years ago

When running CUDAminer with -H 1 it supposed to use multiple threads on CPU. However, CPU is busy for only 15-20%. Would it be reasonable to create more CPU threads so that CPU is utilized completely, to something like 99%?

cbuchner1 commented 10 years ago

the CPU is doing preparatory work for the hashing. There is no point in doing more preparatory work than the GPU can work with.

If your GPU was infinitely fast, then you would see 100% CPU use.

Christian

2014-04-12 17:11 GMT+02:00 utahman notifications@github.com:

When running CUDAminer with -H 1 it supposed to use multiple threads on CPU. However, CPU is busy for only 15-20%. Would it be reasonable to create more CPU threads so that CPU is utilized completely, to something like 99%?

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

mbilker commented 10 years ago

The CPU just does the PBKDF2-HMAC-SHA256 if enable I believe if I am reading the source code correct.