Looking into the pseudo share difficulty setting ( SomeWalletAddress+512 ), it seems meaningless to configure, especially when running a local p2pool node. So, now I'm confused as to why Bitmain says to set the share difficulty on Antminer S3 to 512 in their FAQ, their answer leads me to believe they don't actually understand what that value represents. After removing the +512 my local node is assigning difficulties in the range of 500-800, is my node calculating which difficulty to give me based on the total hashrate of my miners, or the hashrate of each individual miner, or something completely different?
If I calculate this based on a couple other sites rule of thumb, I get a difficulty around 3016 for my total hashing power, and 522 for per miner. I don't see why the p2pool node should care about a setting based on per miner, I mean what's the difference from the view of the p2pool node if I have one 2TH miner, or four 500GH miners? It seems like the the difficulty assigned should be for the whole of the hashing power.
From Bitmain FAQ:
" AntMiners support p2pool. Static difficulty configuration recommended.
Since p2pool adjusts the difficulty frequently, therefore would bring hash rate loss when the difficulty changes at any time. As a result is that AntMiners' hash rate may be a little lower than that released officially when they are mining in p2pool.
We suggest you configure a static difficulty for AntMiner, when you mine in p2pool. Recommended difficulty is 256 or 512.
2. How to configure a static diff when AntMiner mines in p2pool?
Through ‘Status->Miner Configuration‘, configure Pool Worker as 'BTC address/256+256' or 'BTC address+256'.
"
From my testing of my S1s and S2s on my home grown proxy, Ants have two significant problems with p2pool:
1 - They can't restart work fast enough. Supposedly the latest S2 firmware addresses this, but I have not tried it. I can't imagine them fixing it entirely, but I could see it being much better than it was. That means every 30 seconds when p2pool tells your miners "hey, stop what you're doing and start over with this data instead!", it takes a few seconds for the Ant to do so. In those few seconds there's a good chance it'll submit a share that is no longer valid. In the S2s case, it was a lot more than a few seconds, and if the work restarted back to back in less than 30 seconds, it quickly gets out of hand.
2 - This is what pertains to your question. It also can't respond to share size changes that quickly. If you don't fix the share size, p2pool will at some point increase the minimum share size required, and your Ant can't stop what's it's doing fast enough to switch and then ends up submitting a share that's undersized. This is what generates the somewhat confusing "share submitted larger than difficulty" message in p2pool. That said, this is all pseudo share stuff, missing this share really doesn't matter. It'll just mess with your stats. It may also decrease your throughput, as your Ant has to switch gears, although I would suspect it's not as bad as the "stop and restart" message I refer to in part 1.
M