JayDDee / cpuminer-opt

Optimized multi algo CPU miner
Other
776 stars 546 forks source link

CpuMiner-opt RAM usage #280

Closed matarolas closed 3 years ago

matarolas commented 3 years ago

Hey friends,

I have a question about RAM - the miner uses all the RAM get it can get, or after 16Gb RAM the miner do not use any more RAM? Like, is there a diference using 32GB RAM or using 16Gb RAM?

Hashrates:

Algo - yespower | 8Gb RAM | 540h/s - tested Algo - yespower | 16Gb RAM | 980h/s - tested Algo - yespower | 24/32Gb RAM | ???

Best regards

JayDDee commented 3 years ago

The miner uses the RAM it needs, no more, no less. If it needs more than is avaiable it fails. Something else is causing the performance difference.

matarolas commented 3 years ago

Thanks! The only way to find out is testing more RAM right? What u mean by your last sentence? That Windows 10 may be "stealing" performance?

JayDDee commented 3 years ago

I said no such thing. It's not a RAM issue

matarolas commented 3 years ago

Ok, it's not RAM. Any guess what may be? SSD or HDD has influence? Thanks JayDDee

JayDDee commented 3 years ago

I don't feel like playing guessing games. If you have a problem provide a proper problem description with supporting data. Don't be a troll.

matarolas commented 3 years ago

You sure are an amazing simpathy... Thanks anyway.

juanpc2018 commented 3 years ago

I havent tested Yespower Algo, dont know what coins has it.. or watt effiency,... but... ¿are you using the github JayDDee cpuminer-opt compliled binary? or are you compiling your own.?

there is a problem with different compilers, i recomend reading KenThompson Reflections on Trusting Trust. to avoid that problem, many Pro people/companies buy Open Hardware Only, to compile SW when they need maximunm security.. for example: The Raptor Talos 2, with IBM Power9 CPU, are 100% Open HW, FW, Drivers, OS...

other people/companies use Decompiler software, ive seen several, but the most popular seems to be Hex-Rays.

if you are compiling your self... could be the compiler. if you are using a .exe downloaded from other place, could have worms, bugs, candies, etc... ¿do you have Malwarebytes installed? Avira, or similar? most mining software is detected as a v1rus... but i mean the other SW you have, the OS. WindowsDefender is Not much help. what HW specs? what cpuminer version & settings? what server pool? etc... some software increase performance when there is more RAM available... others Not.. if a SW has a memory leak, will eat memory until system runs out of memory, and continues to use Virtual, until system crash. Old Windows had Memory leaks, sometimes.