Bitcoin Forum

Alternate cryptocurrencies => Mining (Altcoins) => Topic started by: boumacor on January 26, 2018, 12:31:52 PM



Title: Fixing max difficulty with XMR-Stak
Post by: boumacor on January 26, 2018, 12:31:52 PM
Now for a couple of days I've been using XMR-Stak with my dual core DL385P and it sees to work just fine. Just one small problem, every time the difficulty gets above 32000 the miner takes to long to give an answer to the pool and the connection get dropped. The miner comes back at a lower difficulty and in time it raises up to 32000 again. The hole cycle starts again (connection drop, etc etc)

Is there a trick or option to tell XMR-Stak never to go higher than 30000 ?


Title: Re: Fixing max difficulty with XMR-Stak
Post by: MagicSmoker on January 26, 2018, 12:53:51 PM
Usually it's by specifying your wallet address as <address>.<difficulty> or <address>+<difficulty> but which one to choose - if either can be used at all - depends entirely on the pool.

And FYI, a good range to set difficulty is between 20x and 40x your hashrate in H/s. E.g., if hashrate is 400 then difficulty should be set to 8000 to 16000. Going too low on the difficulty with pools that allow you to specify it could result in an IP ban from demanding too much traffic from their servers.



Title: Re: Fixing max difficulty with XMR-Stak
Post by: boumacor on January 26, 2018, 12:58:40 PM
Ok, thanks. I'll try your suggestions and lets hope this will help. I'm trying to set the difficulty as high as possible so the traffic will be limited.

The hashrate is 900 H/s so to the diff should be between 40000 to 80000 ?


Title: Re: Fixing max difficulty with XMR-Stak
Post by: MagicSmoker on January 26, 2018, 02:05:51 PM
Ok, thanks. I'll try your suggestions and lets hope this will help. I'm trying to set the difficulty as high as possible so the traffic will be limited.

The hashrate is 900 H/s so to the diff should be between 40000 to 80000 ?

No. I really can't believe I am typing this, but, 900 x 20 = 18000, so that is the recommended low end for your difficulty, while 900 x 40 = 36000 so that would be the recommended high end for your difficulty.

I usually go for 30x my hashrate which nets me around 1 share every minute.



Title: Re: Fixing max difficulty with XMR-Stak
Post by: joblo on January 22, 2020, 06:12:14 PM
Statum difficulty is a pool issue, not a miner issue but you didn't mention which pool.
You need to follow the pool's instructions on how to set difficulty.

In this case it looks like the pool is automatically raising the difficulty to high and
causing stratum errors. It's not a big problem, with higher dificulty it takes longer find
find shares but they are worth more so it evens out.


Title: Re: Fixing max difficulty with XMR-Stak
Post by: adaseb on January 23, 2020, 04:55:21 AM
Like the previous posts in this thread, this is mostly the pool which is controlling the difficulty.

There are 2 ways that pool calculate difficulties.

1) Automatically adjust the difficulty based on the amount of submitted shares per minute. They want to maintain usually 1 or 2 shares per minute not to spam the pool. So the pool will automatically try and determine the most efficient difficulty.

2) Pools have fixed difficulties based on ports. So port 40001 can be for ASIC farms, port 40002 can be for GPU farms, port 40003 can be for GPUs and port 40004 can be for CPUs. The ports are just an example.

So most likely you either should switch to a difficult pool which can automatically adjust the difficulty or just manually choose a different port.