Author

Topic: Fixing max difficulty with XMR-Stak (Read 317 times)

legendary
Activity: 3808
Merit: 1723
January 22, 2020, 11:55:21 PM
#6
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.
legendary
Activity: 1470
Merit: 1114
January 22, 2020, 01:12:14 PM
#5
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.
full member
Activity: 420
Merit: 184
January 26, 2018, 09:05:51 AM
#4
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.

newbie
Activity: 38
Merit: 0
January 26, 2018, 07:58:40 AM
#3
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 ?
full member
Activity: 420
Merit: 184
January 26, 2018, 07:53:51 AM
#2
Usually it's by specifying your wallet address as
. or
+ 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.

newbie
Activity: 38
Merit: 0
January 26, 2018, 07:31:52 AM
#1
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 ?
Jump to: