Post
Topic
Board Mining (Altcoins)
Re: [ANN] cpuminer-multi v1.3 (Linux + Windows VStudio/MinGW64) GPL Open Source
by
Geograph
on 30/11/2016, 21:25:32 UTC
Epsylon3, thank you for your soft!

I tried reduce CPU load by adding usleep(ms) function in cryptonight algo, but I always get stratum-errors:
Code:
stratum_recv_line failed
Stratum connection interrupted

I read that stratum-connection close after 60-90 sec idle, but stratum-connection runned in other thread isn't it? May be sleep blocking stratum-thread and I need some non-blocking sleep?

May be I add sleep in wrong place?
I add it in file ./algo/cryptonight.c function name "cryptonight_hash_ctx", in cycle:
Code:
for (i = 0; likely(i < MEMORY); i += INIT_SIZE_BYTE) {   

I also tried nanosleep() and cgsleep_ms() from cgminer with same result Sad

Please, help! Smiley