rigelminer / rigel

Optimised Nvidia GPU miner
202 stars 14 forks source link

Xelis GPU memory usage is like 9,8Gb. #218

Open NKSoft7 opened 4 weeks ago

NKSoft7 commented 4 weeks ago

Why on my RTX 3080 10Gb on Xelis memory usage is about 9,8Gb? And there's no room for ZIL DAG cache and it gives very low hashrate on Xelis unless option to not cache ZIL DAG is set, which itself is bad..

rigelminer commented 3 weeks ago

xelishashv2 can be run with any amount of memory, but using more memory usually results in higher hashrate. So caching ZIL DAG may have a negative effect. You may be better off with disabling it, depending on how much hashrate you lose leaving it on.

which itself is bad

It's not bad. The option to disable it is there specifically for cases like this, where not caching the DAG has a benefit.

NKSoft7 commented 3 weeks ago

But it appears to be, generating DAG is taking the time of ZIL round. And it's only like 14 kh/s instead of 40 kh/s on 3080 with caching ZIL DAG, that's why I've posted it as an issue. Also, it seems, I've mistaken about there's no room for ZIL DAG, but 9,8Gb is memory usage with ZIL DAG cached and just in that case the XEL hashrate is very low..

rigelminer commented 3 weeks ago

generating DAG is taking the time of ZIL round

You're right. One needs to calculate what's better - leaving the cache on sacrificing XEL hashrate or turning it off and lose some ZIL. Based on the numbers you've posted, turning it off is the way to go. I don't think you're losing much by disabling the cache. Probably less than 10% of your ZIL earnings.

NKSoft7 commented 3 weeks ago

Even if it's probably 10%, it's big deal in mining nowadays!..

rigelminer commented 3 weeks ago

10% of ZIL, not your total earnings. ZIL must be what, 20% of your total revenue, which means you'd be losing ~2%. In any case, that's just the way it is - XelishashV2 works better when you give it more memory.