Orava2 / hodlminer-binary

hodlminer binary for Windows 64 bit
9 stars 3 forks source link

problem in large page support .it crashes when show "large page support enabled!! #2

Open clockk2001 opened 6 years ago

clockk2001 commented 6 years ago

(this problem happened when run "hodlminer-avx2.exe") my device list : win10 ,CPU i7 7700, ramDDR4 8G ,MB : B25m-a

can any fix please?

Orava2 commented 6 years ago

It does not crash if large page support fails?

Orava2 commented 6 years ago

What is your thread count for Hodlminer?

clockk2001 commented 6 years ago

it does not crash if large page support fails?---->Ans:yes What is your thread count for Hodlminer?--->Ans: 6 or 7 threads the main question is : once large page support is ok ,then it crash

clockk2001 commented 6 years ago

hodlminer2018V1 dont have this problem :)

Orava2 commented 6 years ago

Hodlminer 2018v1 does not try use large pages. Original algo is designed to be used with thread counts 1, 2, 4, 8, 16, 32, 64 etc. Thead counts 3, 6, 7, 19, 20, 21, 27, 30, 60, 63 cause segmentation fault (miner crashes). I added a fix that fixed the crashing for me. Those thread counts cause crashes in Linux. There's another place in code where segmentation fault occurs.

Maybe the combination of thread counts 3, 6, 7, 19, 20, 21, 27, 30, 60, 63 and large page support causes problems in Windows version of Hodlminer??? If you use thread counts e.g. 4 or 8 does hodlminer still crash when large lage support is used?

If your cpu supports e.g. 8 theads and you want to use thread count 6 or 7 to preserve CPU power to other processes you might want to try 8 threads and low priority.

-HOW TO START HODLMINER WITH LOW PRIORITY IN WINDOWS- You can start hodlminer with low priority by creating a .bat file and adding a line: start "Hodlminer" /LOW hodlminer.exe

Valid priority class values are /low, /normal, /high, /realtime, /abovenormal and /belownormal.

http://hodlcoin.oo.fi:8080/notes/oravafaq.txt