kano
Legendary
Offline
Activity: 4634
Merit: 1851
Linux since 1997 RedHat 4
|
|
December 29, 2012, 07:19:24 AM |
|
BTW, Stratum support is finished and will be released later today.
Great. I just released a new version of cgminer, 2.10.4, as a hotfix to ensure it works with p2pool stratum. FWIW, the cgminer problem here was fixed in BFGMiner 2.9.2 (Nov 5, 2012), so there should be no need for a new version to use p2pool + stratum. IW zero
|
|
|
|
kitsura
Newbie
Offline
Activity: 22
Merit: 0
|
|
December 29, 2012, 12:54:43 PM |
|
My incoming peer has always been 0. Any cause for concern?
|
|
|
|
mdude77
Legendary
Offline
Activity: 1540
Merit: 1001
|
|
December 29, 2012, 01:42:36 PM |
|
My incoming peer has always been 0. Any cause for concern?
That means you aren't forwarding the p2pool port from your firewall. Probably okay. M
|
I mine at Kano's Pool because it pays the best and is completely transparent! Come join me!
|
|
|
zvs
Legendary
Offline
Activity: 1680
Merit: 1000
https://web.archive.org/web/*/nogleg.com
|
|
December 29, 2012, 03:43:53 PM |
|
Complete blocks are never sent over the P2Pool network; the most you should ever have to burst upload when you get a share is ~2kB to every peer. If decreasing the block size helps your stale rate, it's more likely a latency issue within the P2Pool codebase that can be fixed, instead of a result of your internet connection. zvs, what kind of hardware were you running P2Pool on when you got this? Local rate: 7.74GH/s (7.2% DOA) Expected time to share: 0.0917 hours Shares: 31 total (28 orphaned, 3 dead) Efficiency: 0.000% Payout if a block were found NOW: 0.49253475 BTC to 1Zevusze7BjTpp4srJhx4zkRBxpbgwU4A. Expected after mining for 24 hours: 0.664 BTC Current block value: 26.55448192 BTC Expected time to block: 11.5 hours
that's fancy i'm guessing it's because the size of my blocks are too large? it looks like it's running 900KB atm. ok, back to 0, heh...
Having every single share orphaned is a sign of bitcoind being broken or some other misconfiguration, not any fixable latency. Did reducing maxblocksize to 0 help? BTW, Stratum support is finished and will be released later today. Yeah, but to do so I had to restart bitcoind. So it could very well have been something wrong with the bitcoind->p2pool connection.... couldn't see how it could be bitcoind itself, since it was still reporting everything as normal... The blocksize was at around 900KB, I thought maybe that might be the issue... although I doubt it was so high for 2 hours
|
|
|
|
Subo1977
Sr. Member
Offline
Activity: 344
Merit: 250
Flixxo - Watch, Share, Earn!
|
|
December 29, 2012, 08:57:24 PM |
|
Complete blocks are never sent over the P2Pool network; the most you should ever have to burst upload when you get a share is ~2kB to every peer. If decreasing the block size helps your stale rate, it's more likely a latency issue within the P2Pool codebase that can be fixed, instead of a result of your internet connection. zvs, what kind of hardware were you running P2Pool on when you got this? Local rate: 7.74GH/s (7.2% DOA) Expected time to share: 0.0917 hours Shares: 31 total (28 orphaned, 3 dead) Efficiency: 0.000% Payout if a block were found NOW: 0.49253475 BTC to 1Zevusze7BjTpp4srJhx4zkRBxpbgwU4A. Expected after mining for 24 hours: 0.664 BTC Current block value: 26.55448192 BTC Expected time to block: 11.5 hours
that's fancy i'm guessing it's because the size of my blocks are too large? it looks like it's running 900KB atm. ok, back to 0, heh...
Having every single share orphaned is a sign of bitcoind being broken or some other misconfiguration, not any fixable latency. Did reducing maxblocksize to 0 help? BTW, Stratum support is finished and will be released later today. When whould this Version been published?
|
|
|
|
rav3n_pl
Legendary
Offline
Activity: 1361
Merit: 1003
Don`t panic! Organize!
|
|
December 29, 2012, 11:33:12 PM |
|
v10 already on github http://git.io/PtL8AQ
|
|
|
|
mdude77
Legendary
Offline
Activity: 1540
Merit: 1001
|
|
December 30, 2012, 12:34:38 AM |
|
Upgraded. Doesn't seem to have decreased cgminer stales though. M
|
I mine at Kano's Pool because it pays the best and is completely transparent! Come join me!
|
|
|
-ck
Legendary
Offline
Activity: 4312
Merit: 1649
Ruu \o/
|
|
December 30, 2012, 01:07:26 AM |
|
Upgraded. Doesn't seem to have decreased cgminer stales though. M Maybe not, but at least if you had >50GH devices it wouldn't struggle with keeping it busy.
|
Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel 2% Fee Solo mining at solo.ckpool.org -ck
|
|
|
sharky112065
|
|
December 30, 2012, 07:31:10 AM |
|
After two hours on p2pool/cgminer/Stratum, I got a block http://blockchain.info/block-index/329787 and Best Share reads 9.69M Current difficulty is 2.98M. Shouldn't I get credit for at least three blocks on that?
|
Donations welcome: 12KaKtrK52iQjPdtsJq7fJ7smC32tXWbWr
|
|
|
Subo1977
Sr. Member
Offline
Activity: 344
Merit: 250
Flixxo - Watch, Share, Earn!
|
|
December 30, 2012, 10:33:05 AM |
|
Upgraded. Doesn't seem to have decreased cgminer stales though. M My Doa wents up from 3% in v9 to 10% in v10 with Stratum between cgminer V2.10.4 an p2pool
|
|
|
|
-ck
Legendary
Offline
Activity: 4312
Merit: 1649
Ruu \o/
|
|
December 30, 2012, 10:36:45 AM |
|
After two hours on p2pool/cgminer/Stratum, I got a block http://blockchain.info/block-index/329787 and Best Share reads 9.69M Current difficulty is 2.98M. Shouldn't I get credit for at least three blocks on that? Cool! Wrong reward system
|
Developer/maintainer for cgminer, ckpool/ckproxy, and the -ck kernel 2% Fee Solo mining at solo.ckpool.org -ck
|
|
|
bitpop
Legendary
Offline
Activity: 2912
Merit: 1060
|
|
December 30, 2012, 10:37:59 AM |
|
v10 windows binary?
|
|
|
|
bitpop
Legendary
Offline
Activity: 2912
Merit: 1060
|
|
December 30, 2012, 10:39:52 AM |
|
does stratum use a new port?
|
|
|
|
Subo1977
Sr. Member
Offline
Activity: 344
Merit: 250
Flixxo - Watch, Share, Earn!
|
|
December 30, 2012, 11:27:44 AM |
|
does stratum use a new port?
at the same port (9332) on my cgminer the old config runs amd detect automatical the Stratum.
|
|
|
|
kitsura
Newbie
Offline
Activity: 22
Merit: 0
|
|
December 30, 2012, 11:33:57 AM |
|
My incoming peer has always been 0. Any cause for concern?
That means you aren't forwarding the p2pool port from your firewall. Probably okay. M Thanks, that solved it.
|
|
|
|
mdude77
Legendary
Offline
Activity: 1540
Merit: 1001
|
|
December 30, 2012, 11:53:05 AM |
|
Upgraded. Doesn't seem to have decreased cgminer stales though. M My Doa wents up from 3% in v9 to 10% in v10 with Stratum between cgminer V2.10.4 an p2pool I think mine increased as well, and I'm getting less shares. M
|
I mine at Kano's Pool because it pays the best and is completely transparent! Come join me!
|
|
|
forrestv (OP)
|
|
December 30, 2012, 08:19:59 PM Last edit: December 30, 2012, 08:30:52 PM by forrestv |
|
P2Pool release 10.0 tag: 10.0 hash: 541fa38d384428337da22f5115ae8ce92ed3f8e2 This upgrade is critical for fixing an issue that causes us to lose blocks. Please upgrade! Windows binary: http://u.forre.st/u/twrtsxtl/p2pool_win32_10.0.zipSource zipball: https://github.com/forrestv/p2pool/zipball/10.0Source tarball: https://github.com/forrestv/p2pool/tarball/10.0Changes: * Stratum support - just connect to stratum+tcp://127.0.0.1:9332 or let cgminer autodetect and switch using the X-Stratum header * Fixed coinbase value bug that caused two produced blocks to be invalid - shares produced after a quick series of transactions are produced on the Bitcoin network don't include all transactions due to the share size limit, but the fee was calculated improperly in this case * Increased default donation amount to 1% to continue to support post-halving development EDIT: You can disable cgminer's auto-switching to Stratum if you think Stratum is worse by using --fix-protocol on cgminer
|
1J1zegkNSbwX4smvTdoHSanUfwvXFeuV23
|
|
|
mdude77
Legendary
Offline
Activity: 1540
Merit: 1001
|
|
December 30, 2012, 08:59:26 PM |
|
P2Pool release 10.0 tag: 10.0 hash: 541fa38d384428337da22f5115ae8ce92ed3f8e2 This upgrade is critical for fixing an issue that causes us to lose blocks. Please upgrade! Windows binary: http://u.forre.st/u/twrtsxtl/p2pool_win32_10.0.zipSource zipball: https://github.com/forrestv/p2pool/zipball/10.0Source tarball: https://github.com/forrestv/p2pool/tarball/10.0Changes: * Stratum support - just connect to stratum+tcp://127.0.0.1:9332 or let cgminer autodetect and switch using the X-Stratum header * Fixed coinbase value bug that caused two produced blocks to be invalid - shares produced after a quick series of transactions are produced on the Bitcoin network don't include all transactions due to the share size limit, but the fee was calculated improperly in this case * Increased default donation amount to 1% to continue to support post-halving development EDIT: You can disable cgminer's auto-switching to Stratum if you think Stratum is worse by using --fix-protocol on cgminer I'm forcing LP. I lost 1/3 of my shares overnight, not sure if it's because of the bug, or if stratum. I'll try again once my payout gets back up to par. I also keep lowering the maximum incoming connections. I noticed I start getting stales left and right when the connections increase. I dropped it to 10, then to 5, and now to 3. Seems to be working well to keep the stales and deads at bay. M
|
I mine at Kano's Pool because it pays the best and is completely transparent! Come join me!
|
|
|
Luke-Jr
Legendary
Offline
Activity: 2576
Merit: 1186
|
|
December 30, 2012, 10:37:04 PM |
|
EDIT: You can disable cgminer's auto-switching to Stratum if you think Stratum is worse by using --fix-protocol on cgminer Or --disable-stratum in BFGMiner. But note that in general, stratum is better than getwork and makes good sense for local stuff like p2pool.
|
|
|
|
mdude77
Legendary
Offline
Activity: 1540
Merit: 1001
|
|
December 30, 2012, 11:30:23 PM |
|
EDIT: You can disable cgminer's auto-switching to Stratum if you think Stratum is worse by using --fix-protocol on cgminer Or --disable-stratum in BFGMiner. But note that in general, stratum is better than getwork and makes good sense for local stuff like p2pool. Makes sense, but reality doesn't always match theory. As I said above, I have it disabled for now until my payout gets back up to par. Whether it was stratum or a p2pool bug that caused it, I don't know. I can tell you my local rejects from cgminer increased with stratum. M
|
I mine at Kano's Pool because it pays the best and is completely transparent! Come join me!
|
|
|
|