Author

Topic: [1500 TH] p2pool: Decentralized, DoS-resistant, Hop-Proof pool - page 557. (Read 2591920 times)

zvs
legendary
Activity: 1680
Merit: 1000
https://web.archive.org/web/*/nogleg.com
Doesn't that already exist?

log in to p2pool and append /SHARECHAINTARGET+WORK_TARGET

e.g.

./cgminer -o something.pool.com:9332 -u mineruser/5000+16 -p none

that will return 5000 difficulty work to the share chain, and it will only serve 16 difficulty work (instead of "1")

Not sure if you'd know but ...
Seems to me there's some mileage in setting the difficulty to higher than the defaults if only to reduce network latency? I've started tinkering around and setting to minername/512+1 and it seems that 'Bitcoind GetBlockTemplate Latency' has reduced slightly since then.

Since getting that latency average down as low as possible is one of the only things you can do to improve p2pool returns (afaik), this seems to be an overlooked tweak?

I might also be being a bit dumb, but what's the point of setting the difficulty higher than the current valid accepted share difficulty? It's at 1300 at the moment for example. So any share submitted over 1300 should count.

And finally .. me also not understanding something (yes I have tried to!), if I've set 512+1, then why is it still returning 1/1 to 511/1 difficulty shares to the pool? Or have I got that the wrong way round?

Basically I'm puzzled by the difficulty settings and there ain't much documentation on it that I can find.

PS. Note to Litecoin miners. If it's giving you so much grief on p2pool, why not forget Litecoin and concentrate on Bitcoin? Seems to me that if you want BTC to retain value for all the BTC you mine, then sticking with BTC is the way to go long term rather than supporting a slightly less secure competitor for what basically seems to be greed.

PPS. Note to people freaking out because p2pool throws some errors and pauses a while to figure it out. Stop staring at the p2pool screen! I've only seen pauses like that near the initial startup while p2pool is easing in to the network. I guess it may happen while I'm asleep after running for hours, but if it does, it recovers, it goes on churning away, I maybe loose a few minutes. I've never yet checked it the next morning to find it's died, it's always happily churning away.

Well, first off, yeah, I was wrong about the 2000 cap, just got a 2005 share.  Maybe the person up above that said the max adjusted based on current difficulty was right, or maybe it just got bumped up, I dunno.  It also seems to be providing me with 5000 difficulty shares, so I assume that'd work too if it ever picks one up (the whole New work for worker! Difficulty: 10.000000 Share difficulty: 5000.002049 thing).

A 2600 share will count for twice as much as a 1300 share, the only difference would be that it'd increase deviation, but should average out eventually.  For someone at 5-10ghash+, 2000 isn't bad.  For someone at 20ghash, 3000+ would be neat.  Why?  Because p2pool is set to balance out as much as it can to 6 shares a minute... so, for the person at 300mhash, the 1500 difficulty shares aren't so nice.  If more people set theirs higher, then the share difficulty would drop, and this huge variation wouldn't occur for people mining on one card or something.  Right now it's spitting out 1327 difficulty shares, so 511 or w/e wouldn't do anything.  You'd still have to get the 1327.

oh, heh, I just got a 4.82k share on that one that's looking for 5000  Grin




 
newbie
Activity: 25
Merit: 0
Doesn't that already exist?

log in to p2pool and append /SHARECHAINTARGET+WORK_TARGET

e.g.

./cgminer -o something.pool.com:9332 -u mineruser/5000+16 -p none

that will return 5000 difficulty work to the share chain, and it will only serve 16 difficulty work (instead of "1")

Not sure if you'd know but ...
Seems to me there's some mileage in setting the difficulty to higher than the defaults if only to reduce network latency? I've started tinkering around and setting to minername/512+1 and it seems that 'Bitcoind GetBlockTemplate Latency' has reduced slightly since then.

Since getting that latency average down as low as possible is one of the only things you can do to improve p2pool returns (afaik), this seems to be an overlooked tweak?

I might also be being a bit dumb, but what's the point of setting the difficulty higher than the current valid accepted share difficulty? It's at 1300 at the moment for example. So any share submitted over 1300 should count.

And finally .. me also not understanding something (yes I have tried to!), if I've set 512+1, then why is it still returning 1/1 to 511/1 difficulty shares to the pool? Or have I got that the wrong way round?

Basically I'm puzzled by the difficulty settings and there ain't much documentation on it that I can find.

PS. Note to Litecoin miners. If it's giving you so much grief on p2pool, why not forget Litecoin and concentrate on Bitcoin? Seems to me that if you want BTC to retain value for all the BTC you mine, then sticking with BTC is the way to go long term rather than supporting a slightly less secure competitor for what basically seems to be greed.

PPS. Note to people freaking out because p2pool throws some errors and pauses a while to figure it out. Stop staring at the p2pool screen! I've only seen pauses like that near the initial startup while p2pool is easing in to the network. I guess it may happen while I'm asleep after running for hours, but if it does, it recovers, it goes on churning away, I maybe loose a few minutes. I've never yet checked it the next morning to find it's died, it's always happily churning away.
full member
Activity: 194
Merit: 100
hero member
Activity: 675
Merit: 514
Changes:
* Fixed a few more potential memory leaks
* Memory usage graph now works in Windows, thanks to David Kassa
Looks like there are still leaks:

Windows 7, Python 2.7.4 64bit, no mining right now
legendary
Activity: 2576
Merit: 2267
1RichyTrEwPYjZSeAYxeiFBNnKC9UjC5k

and then silence...

If you scroll up, there should be an IP address mentioned somewhere.
hero member
Activity: 896
Merit: 1000

it was capped at 2000 as of ~2 months ago.  i guess I haven't checked in a while, so maybe it already is changed


Isn't the cap dynamic and based on the current share difficulty?
zvs
legendary
Activity: 1680
Merit: 1000
https://web.archive.org/web/*/nogleg.com
we could also really use a code change to be able to set the custom difficulty to at least 5000 , instead of the 2000 it is currently.  i know you can go in and modify the source yourself, but most people wouldnt/cant do that

Doesn't that already exist?

log in to p2pool and append /SHARECHAINTARGET+WORK_TARGET

e.g.

./cgminer -o something.pool.com:9332 -u mineruser/5000+16 -p none

that will return 5000 difficulty work to the share chain, and it will only serve 16 difficulty work (instead of "1")

yeah, it's existed for a long time.

it was capped at 2000 as of ~2 months ago.  i guess I haven't checked in a while, so maybe it already is changed

&

i added the "fix-protocol" : true

into my cgminer.conf file and it looks like it dropped the # of DOA's by about half

newbie
Activity: 31
Merit: 0
Some kind of DOS attack?

Got three "GOT INCOMPLETE BLOCK FROM PEER" messages and then p2pool stopped. Peer IP is 192.203.228.65

Now just got another one.
+1. A lot of such messages and then p2pool just freezes.

Edit: p2pool for litecoins freezes even if I don't start miner at all...
newbie
Activity: 25
Merit: 0
That one is just 50Mh/s as Im testing to see if I get everything up and running before switching the whole rig (I know is just a few minutes but dont want to waste even a second hehe), so what do you mean that the shares submitted by cgminers are not the same as shares accepted by p2pool? shouldn't I receive a rejected message or see something on p2pool?

Sounds a little like you may want to read https://en.bitcoin.it/wiki/P2Pool
sr. member
Activity: 454
Merit: 252
we could also really use a code change to be able to set the custom difficulty to at least 5000 , instead of the 2000 it is currently.  i know you can go in and modify the source yourself, but most people wouldnt/cant do that

Doesn't that already exist?

log in to p2pool and append /SHARECHAINTARGET+WORK_TARGET

e.g.

./cgminer -o something.pool.com:9332 -u mineruser/5000+16 -p none

that will return 5000 difficulty work to the share chain, and it will only serve 16 difficulty work (instead of "1")
zvs
legendary
Activity: 1680
Merit: 1000
https://web.archive.org/web/*/nogleg.com
That one is just 50Mh/s as Im testing to see if I get everything up and running before switching the whole rig (I know is just a few minutes but dont want to waste even a second hehe), so what do you mean that the shares submitted by cgminers are not the same as shares accepted by p2pool? shouldn't I receive a rejected message or see something on p2pool?

Thanks for your reply Smiley

bitpop:

How the hell? bitcoind as server and miner on it

yes, it uses accepted shares to calculate the hash rate it shows on the graph

so if you submit a 2 difficulty share, then you should see some hash rate on the chart

but you wont 'earn' anything out of the p2pool pot.  for that you have to hit the rolling difficulty, which attempts to be as close to 6 new works per (ed: minute) as possible

we could also really use a code change to be able to set the custom difficulty to at least 5000 , instead of the 2000 it is currently.  i know you can go in and modify the source yourself, but most people wouldnt/cant do that
newbie
Activity: 52
Merit: 0
That one is just 50Mh/s as Im testing to see if I get everything up and running before switching the whole rig (I know is just a few minutes but dont want to waste even a second hehe), so what do you mean that the shares submitted by cgminers are not the same as shares accepted by p2pool? shouldn't I receive a rejected message or see something on p2pool?

Thanks for your reply Smiley

bitpop:

How the hell? bitcoind as server and miner on it
legendary
Activity: 2912
Merit: 1060
And how the hell were you solo mining?
legendary
Activity: 2912
Merit: 1060
There are shares that only measure speed
legendary
Activity: 1540
Merit: 1001
Hello everybody,

Yesterday I switched from my attempt of doing some solo mining to adding my small hashrate to p2pool Smiley

But im seeing something strange, CGMiner is saying that is submitting shares and them being accepted but in my stats in p2pool still says 0 Sad

Any suggestion of what can it be?

Im running windows, feel free to ask whatever other information you may need Smiley

Best regards!

Shares submitted by cgminer aren't necessarily shares accepted by p2pool.  What type of hashrate do you have?  Difficulty is pretty high.

M
newbie
Activity: 52
Merit: 0
Hello everybody,

Yesterday I switched from my attempt of doing some solo mining to adding my small hashrate to p2pool Smiley

But im seeing something strange, CGMiner is saying that is submitting shares and them being accepted but in my stats in p2pool still says 0 Sad

Any suggestion of what can it be?

Im running windows, feel free to ask whatever other information you may need Smiley

Best regards!
legendary
Activity: 1361
Merit: 1003
Don`t panic! Organize!
It IS on git, 11.4 is only number ;]
sr. member
Activity: 344
Merit: 250
Flixxo - Watch, Share, Earn!
P2Pool release 11.4 commit hash: 0cb07df5623645bc1082f87d3380f6d085a609be

Windows binary: http://u.forre.st/u/jlowtmzq/p2pool_win32_11.4.zip
Windows binary signature: http://u.forre.st/u/flasczol/p2pool_win32_11.4.zip.sig
Source zipball: https://github.com/forrestv/p2pool/zipball/11.4
Source tarball: https://github.com/forrestv/p2pool/tarball/11.4

Changes:
* Fixed a few more potential memory leaks
* Memory usage graph now works in Windows, thanks to David Kassa

When on git?
sr. member
Activity: 448
Merit: 250
Yes, it will keep attempting to bind to the ports, so once it's completed stop the old one then it should be able to.
Jump to: