Author

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

hero member
Activity: 516
Merit: 643
If its asked ad nauseum, perhaps  it should be put it in the first post. I read the first 4 or 5 pages of this thread before asking anything, I dont think you can expect everyone to read all 25

It's on the wiki, as of an hour ago. Smiley https://en.bitcoin.it/wiki/P2Pool#Frequently_Asked_Questions
hero member
Activity: 518
Merit: 500
Or is something wrong with my config?

No, but there is something wrong with you not reading what was discussed here ad nauseam before asking.

If its asked ad nauseum, perhaps  it should be put it in the first post. I read the first 4 or 5 pages of this thread before asking anything, I dont think you can expect everyone to read all 25
sr. member
Activity: 435
Merit: 250
Or is something wrong with my config?

No, but there is something wrong with you not reading what was discussed here ad nauseam before asking.
hero member
Activity: 516
Merit: 643
Does Phoenix submit stales?

Looks like "no". Going to submit a pullreq for that too. EDIT: Did, see https://github.com/jedi95/Phoenix-Miner/pull/3
legendary
Activity: 2324
Merit: 1125
Does Phoenix submit stales?
hero member
Activity: 518
Merit: 500
Good to know its normal. And Im sure there is a good reason for it, but arent you causing a lot of stales by having to force a restart every 10 seconds?

Yes, but those stales aren't lost. They can still be block solutions, and payouts are computed by your number of shares relative to everyone else's, so if everyone gets the same amount of stales, payouts are completely fair.

However, some miners try to minimize network overhead by dropping share solutions when a long poll response comes in. This could possibly cause P2Pool to lose a true block solution (the same applies to any merged mining pool), so people should run CGminer with --submit-stales or use newer versions of CGminer that do that automatically. Poclbm also has this behaviour with no way to disable it, as of yet ... I'll put in a pull request.

Okay, thanks for the explanation. I guess I have some reading to do Smiley
hero member
Activity: 516
Merit: 643
Good to know its normal. And Im sure there is a good reason for it, but arent you causing a lot of stales by having to force a restart every 10 seconds?

Yes, but those stales aren't lost. They can still be block solutions, and payouts are computed by your number of shares relative to everyone else's, so if everyone gets the same amount of stales, payouts are completely fair.

However, some miners try to minimize network overhead by dropping share solutions when a long poll response comes in. This could possibly cause P2Pool to lose a true block solution (the same applies to any merged mining pool), so people should run CGminer with --submit-stales or use newer versions of CGminer that do that automatically. Poclbm also has this behaviour with no way to disable it, as of yet ... I'll put in a pull request.
hero member
Activity: 518
Merit: 500
Good to know its normal. And Im sure there is a good reason for it, but arent you causing a lot of stales by having to force a restart every 10 seconds?
hero member
Activity: 686
Merit: 500
Finally recieving my payments for mining 6-7 hours the last three nights and 6 hours today. Sitting at .45 Bitcoin!
legendary
Activity: 1148
Merit: 1008
If you want to walk on water, get out of the boat
@p4man: it's perfectly fine. That's how p2pool work



Aaand... we are over 210ghash/s
sr. member
Activity: 604
Merit: 250
I just pointed my non dedicated miner to p2pool to give it a try.
It seems to work (hurray!), but I have at least one question: why does cgminer report so many longpoll events when mining on p2pool?
On traditional pools, youd expect about 1 longpoll every ~10 minutes (or maybe 4 or so when merged mining).  Why does p2pool generate so many more? Or is something wrong with my config?

Once every ~10 seconds is normal. That is how often p2pool shares are generated (as opposed to ~10 min for bitcoin blocks)
hero member
Activity: 518
Merit: 500
I just pointed my non dedicated miner to p2pool to give it a try.
It seems to work (hurray!), but I have at least one question: why does cgminer report so many longpoll events when mining on p2pool?

Here is recent sample:

Code:
2012-02-08 21:34:41] LONGPOLL requested work restart, waiting on fresh work
2012-02-08 21:34:46] LONGPOLL requested work restart, waiting on fresh work
2012-02-08 21:34:52] LONGPOLL requested work restart, waiting on fresh work
2012-02-08 21:34:57] LONGPOLL requested work restart, waiting on fresh work
2012-02-08 21:35:06] LONGPOLL requested work restart, waiting on fresh work
2012-02-08 21:35:09] LONGPOLL requested work restart, waiting on fresh work
2012-02-08 21:35:22] Accepted 00000000.e626df82.c92c7a5e GPU 0 thread 0 pool
2012-02-08 21:35:25] LONGPOLL requested work restart, waiting on fresh work
2012-02-08 21:35:30] LONGPOLL requested work restart, waiting on fresh work
2012-02-08 21:35:34] LONGPOLL requested work restart, waiting on fresh work
2012-02-08 21:35:37] LONGPOLL requested work restart, waiting on fresh work
2012-02-08 21:35:39] LONGPOLL requested work restart, waiting on fresh work
2012-02-08 21:35:42] LONGPOLL requested work restart, waiting on fresh work
2012-02-08 21:35:46] LONGPOLL requested work restart, waiting on fresh work
2012-02-08 21:35:55] LONGPOLL requested work restart, waiting on fresh work
2012-02-08 21:35:58] Accepted 00000000.8e5eab72.9e42f8e9 GPU 0 thread 0 pool
2012-02-08 21:36:04] Accepted 00000000.652b3770.be6a3762 GPU 0 thread 1 pool
2012-02-08 21:36:06] LONGPOLL requested work restart, waiting on fresh work
2012-02-08 21:36:07] Accepted 00000000.8072fb91.64a7cfea GPU 0 thread 0 pool
2012-02-08 21:36:12] Accepted 00000000.4dc0dc0c.77f4e052 GPU 0 thread 0 pool
2012-02-08 21:36:14] LONGPOLL requested work restart, waiting on fresh work
2012-02-08 21:36:18] Accepted 00000000.9ebbb9a6.7e98eaad GPU 0 thread 1 pool
2012-02-08 21:36:26] LONGPOLL requested work restart, waiting on fresh work
2012-02-08 21:36:30] LONGPOLL requested work restart, waiting on fresh work
2012-02-08 21:36:31] Accepted 00000000.9aabb60a.99a24530 GPU 0 thread 1 pool
2012-02-08 21:36:31] LONGPOLL requested work restart, waiting on fresh work

On traditional pools, youd expect about 1 longpoll every ~10 minutes (or maybe 4 or so when merged mining).  Why does p2pool generate so many more? Or is something wrong with my config?
hero member
Activity: 737
Merit: 500
Ok this is correct, I am in the second one ("1N9mMCgV1CzU3s8Kvf7BcQhBBXGgoo9Wx1": 4.43964579) and not the first one and I am a small miner (252 Mhash) so I could very well fall into the small miner lottery. Thank you Smiley

One last question and I'll stop bothering you Wink: What does the 4.43964579 mean? (amount of shares would seem weird due to the fractional number)

The second URL was "how would 1000 BTC be divided up between p2pool miners".  4.43964579 means that you would have received 4.43964579 BTC out of the 1000 BTC.  Of course no one would likely donate 1000 BTC Smiley  I just picked a very large number to make sure that no one would fall below the 0.01 cutoff.
legendary
Activity: 2324
Merit: 1125
Ok this is correct, I am in the second one ("1N9mMCgV1CzU3s8Kvf7BcQhBBXGgoo9Wx1": 4.43964579) and not the first one and I am a small miner (252 Mhash) so I could very well fall into the small miner lottery. Thank you Smiley

One last question and I'll stop bothering you Wink: What does the 4.43964579 mean? (amount of shares would seem weird due to the fractional number)
legendary
Activity: 2324
Merit: 1125
Okay, thanks all for the education on p2pool Wink
hero member
Activity: 516
Merit: 643
Proofer: If you upgrade to a more recent version of P2Pool (see first post in thread), the local hash rate estimation is much more accurate now, because it doesn't just use shares.

wachtwoord: The weird number just comes from the P2Pool difficulty changing over time, so each share is worth a slightly different amount. When combined together, you get weird numbers for the payouts.
hero member
Activity: 737
Merit: 500
Okay, then how come I didn't receive any? (see previous link for the address I use to mine)

Do you see your address in the output of:  http://forre.st:9332/patron_sendmany?total=1

How about in the output of: http://forre.st:9332/patron_sendmany?total=10000

If you address is in the second one but not the first one, then I believe that is because of the small miner lottery.  

In order to prevent lots of tiny payments, the donation code takes all the people who would have received only a very small donation payment, adds up all those payments, and awards the entire amount to one of those small miners randomly.

"Small Miner" depends on the size of the donation.  If someone is donating 1 BTC at a time and the pool hashrate is 200GH/s, and the small payment cutoff is 0.01, then you have to have approx 2GH/s to not fall into the "small miner" bucket.  If someone donates 10 BTC in one fell swoop, then you only need to have 200 MH/s in order to be above the 0.01 payment cutoff.

P.S.  The default cutoff is 0.01, but people doing donation can choose a different one by adding it to the URL with a '/'.  For example, here is a 1 BTC donation with a 0.001 cutoff instead:

http://forre.st:9332/patron_sendmany?total=1/0.001
sr. member
Activity: 604
Merit: 250
Okay, then how come I didn't receive any? (see previous link for the address I use to mine)

Small miners are put in a lottery, so if you are < 1GH you will probably only very rarely get a donation, but it will be disproportionately large. For example this address won once at the top.

http://blockexplorer.com/address/1H17sTGj2jLwxMKhyKTXWYUhHZdVS7x7kR
legendary
Activity: 2324
Merit: 1125
Okay, then how come I didn't receive any? (see previous link for the address I use to mine)
legendary
Activity: 1680
Merit: 1035
The 0.0011 were donations from Gavin to make up a mistake with transaction fees in a beta build of bitcoind. He rounded them all up to that to be nice.

https://bitcointalksearch.org/topic/m.722975

That was a long time ago.

In other news, we had 6 blocks today, at a 1 per hour average.


Maybe someone added a 500Gh/s server farm, and has been extremely unlucky for submitting P2Pool shares (keeping visible P2Pool hash rate low), but extraordinarily lucky for submitting shares that are valid overall? Smiley
Jump to: