Author

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

hero member
Activity: 896
Merit: 1000
Quote
2013-04-04 00:19:28.112000 P2Pool: 0 shares in chain (0 verified/0 total) Peers:
 1 (0 incoming)

Think I'm going to leave it for a while. It's bedtime anyway

P2Pool should establish outgoing connections right away and you should get incoming connections very slowly. If you don't get any stable established connections just after P2Pool is started, something (a firewall/router) is preventing them to be established.
member
Activity: 68
Merit: 10
Al Berg
It's not L*, it's variance

Are you afraid of the word luck ?
sr. member
Activity: 344
Merit: 250
Flixxo - Watch, Share, Earn!
Rotten luck we'r having lately

It's not L*, it's variance
member
Activity: 68
Merit: 10
Al Berg
Rotten luck we'r having lately
legendary
Activity: 2576
Merit: 2267
1RichyTrEwPYjZSeAYxeiFBNnKC9UjC5k

cant you read?
Code:
localhost:9332 04/04/2013 04:56:19, server error: p2pool is downloading shares

Indeed I can. I am also capable of drawing logical conclusions. Though I've worked with code enough that not much surprises me, "downloading shares" does not particularly imply a causal link to "authorization denied" to me.

If that is the cause though, I'm happy to take it at that. Now I need to work out why it doesn't seem to be getting any shares, just a lot of handshake timeouts. I set up the port forward but it doesn't seem to have helped. Do I just need to leave it doing its thing for a while?
it takes some time until p2pool has pulled the sharechain, check that it has connections.

It doesn't look terribly promising. Mostly it looks like it's connecting to three ips and then the handshakes are timing out.

Quote
2013-04-04 00:19:28.112000 P2Pool: 0 shares in chain (0 verified/0 total) Peers:
 1 (0 incoming)

Think I'm going to leave it for a while. It's bedtime anyway
legendary
Activity: 1792
Merit: 1008
/dev/null

cant you read?
Code:
localhost:9332 04/04/2013 04:56:19, server error: p2pool is downloading shares

Indeed I can. I am also capable of drawing logical conclusions. Though I've worked with code enough that not much surprises me, "downloading shares" does not particularly imply a causal link to "authorization denied" to me.

If that is the cause though, I'm happy to take it at that. Now I need to work out why it doesn't seem to be getting any shares, just a lot of handshake timeouts. I set up the port forward but it doesn't seem to have helped. Do I just need to leave it doing its thing for a while?
it takes some time until p2pool has pulled the sharechain, check that it has connections.
legendary
Activity: 2576
Merit: 2267
1RichyTrEwPYjZSeAYxeiFBNnKC9UjC5k

cant you read?
Code:
localhost:9332 04/04/2013 04:56:19, server error: p2pool is downloading shares

Indeed I can. I am also capable of drawing logical conclusions. Though I've worked with code enough that not much surprises me, "downloading shares" does not particularly imply a causal link to "authorization denied" to me.

If that is the cause though, I'm happy to take it at that. Now I need to work out why it doesn't seem to be getting any shares, just a lot of handshake timeouts. I set up the port forward but it doesn't seem to have helped. Do I just need to leave it doing its thing for a while?
legendary
Activity: 1792
Merit: 1008
/dev/null
Having a little trouble. No luck searching and this thread is a little long to trawl through.

I think I have it all right. bitcoin.conf set up, running the Bitcoin Wallet, running p2pool, can connect with a browser and empty logs show up but when I try to connect with the miner, no luck

Quote
04/04/2013 04:56:18, started OpenCL miner on platform 0, device 0 (Cypress)
 04/04/2013 04:56:18, Setting server (noob @ localhost:9332)
localhost:9332 04/04/2013 04:56:18, checking for stratum...
localhost:9332 04/04/2013 04:56:19, server error: p2pool is downloading shares
localhost:9332 04/04/2013 04:56:19, no response to getwork, using as stratum
localhost:9332 04/04/2013 04:56:20, authorization failed with noob:sauce@localhost:9332
localhost:9332 04/04/2013 04:56:23, IO errors - 1, tolerance 2

As far as I know, the username and password should not matter so no idea why this is failing. Any ideas?

Thanks
cant you read?
Code:
localhost:9332 04/04/2013 04:56:19, server error: p2pool is downloading shares
legendary
Activity: 2576
Merit: 2267
1RichyTrEwPYjZSeAYxeiFBNnKC9UjC5k
Having a little trouble. No luck searching and this thread is a little long to trawl through.

I think I have it all right. bitcoin.conf set up, running the Bitcoin Wallet, running p2pool, can connect with a browser and empty logs show up but when I try to connect with the miner, no luck

Quote
04/04/2013 04:56:18, started OpenCL miner on platform 0, device 0 (Cypress)
 04/04/2013 04:56:18, Setting server (noob @ localhost:9332)
localhost:9332 04/04/2013 04:56:18, checking for stratum...
localhost:9332 04/04/2013 04:56:19, server error: p2pool is downloading shares
localhost:9332 04/04/2013 04:56:19, no response to getwork, using as stratum
localhost:9332 04/04/2013 04:56:20, authorization failed with noob:sauce@localhost:9332
localhost:9332 04/04/2013 04:56:23, IO errors - 1, tolerance 2

As far as I know, the username and password should not matter so no idea why this is failing. Any ideas?

Thanks
legendary
Activity: 4592
Merit: 1851
Linux since 1997 RedHat 4
I still don't see why a slightly longer share chain long poll time would be bad. It would let the slower miners get a share in easier before being cut off and helps higher latency. It would benefit just about everyone. It's still PPLNS so the payouts would still be equal to the balance of shares.
Longer LP means higher difficulty ...

yes, but it will be a pittance compared to ASIC. I'm using +32 difficulty now. I would go even higher but p2pool has problems or the work DOA because of age.

The real problem is the DOA because of latency, and whether we should change p2pool just for Avalons. BFL single FPGAs don't work on p2pool for the exact same reason (latency), and BFL has claimed (for what it's worth) that they designed the SCs so that they will work with p2pool. I don't have much of an opinion either way yet, but I wanted to show the numbers so people know what they are getting in to.
...
The reason BFL FPGA's suck on p2pool is that it takes ~5s to complete any work and it doesn't respond before the 5s is finished.
Since LP is 10s that means a LARGE % of time wasted/stale/DOA

If it is 60GH/s, a BFL SC Single would take ~72ms to complete any work ... so yeah it's rather obvious it will work fine on p2pool.
It's simply the faster nonce time vs 10s that makes the difference, there is no real difference in the WAY it processes that fixes the problem.
sr. member
Activity: 454
Merit: 252
I still don't see why a slightly longer share chain long poll time would be bad. It would let the slower miners get a share in easier before being cut off and helps higher latency. It would benefit just about everyone. It's still PPLNS so the payouts would still be equal to the balance of shares.
Longer LP means higher difficulty ...

yes, but it will be a pittance compared to ASIC. I'm using +32 difficulty now. I would go even higher but p2pool has problems or the work DOA because of age.

The real problem is the DOA because of latency, and whether we should change p2pool just for Avalons. BFL single FPGAs don't work on p2pool for the exact same reason (latency), and BFL has claimed (for what it's worth) that they designed the SCs so that they will work with p2pool. I don't have much of an opinion either way yet, but I wanted to show the numbers so people know what they are getting in to.

It may seem like a pittance for you now, but when everyone has ASICs it will be noticeable and currently the smaller GPU miners may feel it. And in the future, smaller miners may mean jalapenos, not GPU.

There are currently 241 users on p2pool right now (unique address, at least)
The current variance in pseduoshares is:
86400 seconds/day
10 seconds/pseudoshare
8640 pseudoshares/day
~36 pseudoshares per user per day
Variance = sqrt(36) = 6 shares (or ~17%)


Under the proposed 30 second block time target:
86400 seconds/day
30 seconds/pseudoshare
2880 pseudoshares/day
~12 pseudoshares per user per day
Variance = sqrt(12) = 3.5 shares (or ~29%)


So the average user (which in the future will be an ASIC user) will see  their variance increase from 17% per day to 29% per day. Again, I'm not trying to express an opinion - just show what the numbers are so others can form opinions.
legendary
Activity: 916
Merit: 1003
I've been mining LTC on p2pool for almost a week now.  The pool seems to solve over 20 blocks per day.
hero member
Activity: 924
Merit: 1000
Watch out for the "Neg-Rep-Dogie-Police".....
On a side note - what's the record for the longest period without finding a block? I have a feeling it's gonna be broken shortly...... Grin

(we usually find one when I mention something about it - let's hope it happens again.....soon Cheesy)
Over 4 days.... looks like we will have lots of short blocks soon ;]

What - twice in three months? I wouldn't bet on it......
legendary
Activity: 1361
Merit: 1003
Don`t panic! Organize!
On a side note - what's the record for the longest period without finding a block? I have a feeling it's gonna be broken shortly...... Grin

(we usually find one when I mention something about it - let's hope it happens again.....soon Cheesy)
Over 4 days.... looks like we will have lots of short blocks soon ;]
hero member
Activity: 924
Merit: 1000
Watch out for the "Neg-Rep-Dogie-Police".....
On a side note - what's the record for the longest period without finding a block? I have a feeling it's gonna be broken shortly...... Grin

(we usually find one when I mention something about it - let's hope it happens again.....soon Cheesy)
hero member
Activity: 658
Merit: 500
I still don't see why a slightly longer share chain long poll time would be bad. It would let the slower miners get a share in easier before being cut off and helps higher latency. It would benefit just about everyone. It's still PPLNS so the payouts would still be equal to the balance of shares.
Longer LP means higher difficulty ...

yes, but it will be a pittance compared to ASIC. I'm using +32 difficulty now. I would go even higher but p2pool has problems or the work DOA because of age.
legendary
Activity: 4592
Merit: 1851
Linux since 1997 RedHat 4
I still don't see why a slightly longer share chain long poll time would be bad. It would let the slower miners get a share in easier before being cut off and helps higher latency. It would benefit just about everyone. It's still PPLNS so the payouts would still be equal to the balance of shares.
Longer LP means higher difficulty ...
hero member
Activity: 658
Merit: 500
I still don't see why a slightly longer share chain long poll time would be bad. It would let the slower miners get a share in easier before being cut off and helps higher latency. It would benefit just about everyone. It's still PPLNS so the payouts would still be equal to the balance of shares.
hero member
Activity: 896
Merit: 1000
Another way would be create 3 type of shares.
For current pool hash rate sd is about 700.
Make one share type that have diff 1/3 of standard share and one type that have 3x standard share diff. Each type have to be scored according to its diff.
Pool will take sd1+ shares form worker and calculate its hash rate. Then pool decide what type of share should be used for this worker.
We should also have ability to force standard or higher share diff using prefix or postfix in worker name (not allow to drop to type 1).
Lower share diff should be only enabled on pool side.
Also if node is making lots of low diff shares pool should punish those shares as invalid (in case that s1 mess in code).
This way we avoid too high share diff and allow smaller and bigger miners to mine in p2pool Smiley
This change require hard fork ofc.


There's an easier way: just make the code compute the difficulty needed to get a maximum of shares in the PPLNS window to limit its share usage while maintaining the variance to an acceptable level (200 shares should probably be enough: I get a little more than 100 and variance is OK).

But someone (I think it's gmaxwell on IRC) pointed to me that there's a flaw: even if the pool tries to enforce this rule, there's nothing preventing a user mining with several payout addresses to lower his variance even more, defeating the mechanism.

I think it would be a sane default for p2pool to behave that way though. The current PPLNS setup only allows for ~40 miners with low (at least low according to my own definition) variance (I'm not sure of the N in PPLNS as it involves both 24h and the estimated time to get a block but there's 8640 shares in one day).
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
here is nothing that says that all future ASICs will have this same hardware limitation. It is an intrinsic design flaw/limitation/shortcut taken in the first generation Avalons.

it affects more devices, the bfl singles have the same issue. the minirigs have a work around, but sort of the same as well. I will bet money the bfl SC when/if they come out will as well. The way the current asics are designed is the issue, they are clusters of many small devices with overhead.
No, the BFL SC devices do not suffer this.
Jump to: