xmr-node-proxy icon indicating copy to clipboard operation
xmr-node-proxy copied to clipboard

Adjusting diff, minDiff, maxDiff and shareTargetTime

Open slayerulan opened this issue 6 years ago • 2 comments

Hello, My current confiration is like below:

{
  "pools": [
    {
      "hostname": "pool.supportxmr.com",
      "port": 7777,
      "ssl": false,
      "allowSelfSignedSSL": true,
      "coin": "xmr",
    }
  ],
  "listeningPorts": [
    {
      "port": 80,
      "ssl": false,
      "diff": 200,
      "coin": "xmr"
    }
  ],
  "coinSettings": {
    "xmr":{
      "minDiff": 100,
      "maxDiff": 300000,
      "shareTargetTime": 5
    }
  }
}

And my hashrate is: The proxy currently has 4762 miners connected at 51237 h/s with an average diff of 127

What's optimal settings for diff, minDiff, maxDiff and shareTargetTime?

Thanks

slayerulan avatar Jan 29 '19 11:01 slayerulan

You want it to be as close to your average diff, so just lower the starting diff from 200 to 150, and consider if you really need sharetargettime to be as low as 5, it puts more pressure on the proxy because it needs to dispatch more jobs, you generally want to align it to the stt of the pool you are using. Min/Max are just limits that the proxy respects when autotuning the diff for each worker, 100 is the minimum anyway, don't think you can give 50 diff jobs. You could lower the max to something closer to the median of the hashrate so that the proxy doesn't offshoot the diff when tuning a worker diff, but the proxy doesn't calculate that itself.

untoreh avatar Jan 29 '19 15:01 untoreh

@untoreh thank you so much

for example current stats are: The proxy currently has 7450 miners connected at 61651 h/s with an average diff of 162

But it shows 49kh/s on the pool. Is this caused by those variables?

slayerulan avatar Jan 30 '19 14:01 slayerulan