I run two stratum proxies (slush) , the two mentioned above. One consolidates gpus from cgminer and the other as a frontend for btcminer.
Everything works fine and the stales is normally very low. They seem to work a little different tough, with cgminer (I guess) the proxy forwards vardifff so it ends at 32, wich causes one new connection per two min.
2013-02-20 23:40:30,192 ERROR proxy client_service.on_timeout # Connection to upstream pool timed out
Now with RR dns this gives different servers. Shouldnt be a problem, but what is the timeout limit for the stratum connection ?
For btcminer it seems as the vardiff wasnt forwared in the same way. But with the new implemented minimum diff I could force it to 32 (before 8.) and got less stales from that, but now it seems as the dupes are creeping slowly up. I will reset it again and check further.
Higher difficulty should not impact stale rates in the long term. Since a higher difficulty means more time between submissions, you're less likely to submit a stale. However, when you DO submit a stale, it counts as more stales.
IE: At diff 1, you might submit average 1 stale per 5 longpolls. So after 160 longpolls you have ~32 stales. At diff 32, you are 1/32 as likely to submit a stale, but you will still average ~1 per 160 longpolls, which counts as 32.
For the dupes, I've found that many FPGAs submit dupes quite often, but it's not that they've done the same work twice, they've simply submitted the result twice, so your effective hash rate is not changed as a result. My ztex singles have very high (~8%) dupe submissions when using btcminer, cgminer, or most versions of bfgminer (one version doesn't have the problem), but their effective speed is exactly what it should be on the pool website [within the expected variance for an hour long average].
As for the time out problem, is this a frequent problem? I've not had any issues with my miners, and have not seen any pool wide problems.
Yes, has been so for a long time, but dont seem to affect the shares, benchmarked it against my fpgas just wanted to look at it more in detail now with the RR dns. More log:
2013-02-21 01:05:40,078 INFO stats stats.print_stats # 1 peers connected, state changed 1 times
2013-02-21 01:05:40,078 INFO proxy mining_proxy.on_connect # Connected to Stratum pool at stratum.btcguild.com:3333
2013-02-21 01:05:40,078 INFO proxy mining_proxy.on_connect # Subscribing for mining jobs
2013-02-21 01:05:40,213 INFO proxy client_service.handle_event # Setting new difficulty: 1
2013-02-21 01:05:40,213 INFO proxy client_service.handle_event # New job 7139 for prevhash f68c7fc9, clean_jobs=False
2013-02-21 01:07:40,216 ERROR proxy client_service.on_timeout # Connection to upstream pool timed out
2013-02-21 01:07:40,217 INFO proxy mining_proxy.on_disconnect # Disconnected from Stratum pool at stratum.btcguild.com:3333
2013-02-21 01:07:40,217 INFO stats stats.print_stats # 0 peers connected, state changed 1 times
2013-02-21 01:07:43,028 INFO stats stats.print_stats # 1 peers connected, state changed 1 times
2013-02-21 01:07:43,028 INFO proxy mining_proxy.on_connect # Connected to Stratum pool at stratum.btcguild.com:3333
2013-02-21 01:07:43,029 INFO proxy mining_proxy.on_connect # Subscribing for mining jobs
2013-02-21 01:07:43,162 INFO proxy client_service.handle_event # Setting new difficulty: 1
2013-02-21 01:07:43,163 INFO proxy client_service.handle_event # New job 4304 for prevhash f68c7fc9, clean_jobs=False
2013-02-21 01:09:43,164 ERROR proxy client_service.on_timeout # Connection to upstream pool timed out
2013-02-21 01:09:43,165 INFO proxy mining_proxy.on_disconnect # Disconnected from Stratum pool at stratum.btcguild.com:3333
2013-02-21 01:09:43,165 INFO stats stats.print_stats # 0 peers connected, state changed 1 times
Regarding the fpgaproxy, now got very low stales again. The log file from the proxy look as it should, before during the dupe creeps it stacked the submissions, now its much more flow. Maybe a different server now or it was just the network problems Slush mentioned. In fact seems like the best explanation, thanks slush. I dont worry about it for now, if I see it again I will look closer. But normally I reset the proxies once a month, they are really working well. Thanks again! slush
And also big thanks to you eleuthria, things are really working well, knowing that you are on-top of things and make thing better in steps has made me mining here for a long time now.