Bitcoin Forum
May 07, 2024, 03:19:15 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Fixing max difficulty with XMR-Stak  (Read 300 times)
boumacor (OP)
Newbie
*
Offline Offline

Activity: 38
Merit: 0


View Profile
January 26, 2018, 12:31:52 PM
 #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 ?
You get merit points when someone likes your post enough to give you some. And for every 2 merit points you receive, you can send 1 merit point to someone else!
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1715095155
Hero Member
*
Offline Offline

Posts: 1715095155

View Profile Personal Message (Offline)

Ignore
1715095155
Reply with quote  #2

1715095155
Report to moderator
1715095155
Hero Member
*
Offline Offline

Posts: 1715095155

View Profile Personal Message (Offline)

Ignore
1715095155
Reply with quote  #2

1715095155
Report to moderator
1715095155
Hero Member
*
Offline Offline

Posts: 1715095155

View Profile Personal Message (Offline)

Ignore
1715095155
Reply with quote  #2

1715095155
Report to moderator
MagicSmoker
Full Member
***
Offline Offline

Activity: 420
Merit: 182



View Profile
January 26, 2018, 12:53:51 PM
 #2

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.

boumacor (OP)
Newbie
*
Offline Offline

Activity: 38
Merit: 0


View Profile
January 26, 2018, 12:58:40 PM
 #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 ?
MagicSmoker
Full Member
***
Offline Offline

Activity: 420
Merit: 182



View Profile
January 26, 2018, 02:05:51 PM
 #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.

joblo
Legendary
*
Offline Offline

Activity: 1470
Merit: 1114


View Profile
January 22, 2020, 06: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.

AKA JayDDee, cpuminer-opt developer. https://github.com/JayDDee/cpuminer-opt
https://bitcointalk.org/index.php?topic=5226770.msg53865575#msg53865575
BTC: 12tdvfF7KmAsihBXQXynT6E6th2c2pByTT,
adaseb
Legendary
*
Offline Offline

Activity: 3752
Merit: 1710



View Profile
January 23, 2020, 04:55:21 AM
 #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.

.BEST..CHANGE.███████████████
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
██
███████████████
..BUY/ SELL CRYPTO..
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!