Bitcoin Forum
December 10, 2016, 01:08:01 PM *
News: Latest stable version of Bitcoin Core: 0.13.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 [14] 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 »
  Print  
Author Topic: p2pool - Decentralized, Absolutely DoS-Proof, Pool Hopping-Proof Pool [archival]  (Read 31756 times)
forrestv
Hero Member
*****
Offline Offline

Activity: 510


View Profile
December 02, 2011, 03:07:21 AM
 #261

I get longpoll requests every few seconds. Is this normal?
I thought they only happen if a new block was found. Is Longpolling used for a different purpos in p2pool?

This is completely normal. P2Pool creates a chain of shares and needs to start working on new work every time someone makes a new share (which happens every 10 seconds, on average).

Tuning your miner by increasing the FPS setting (I use 60 with poclbm) or decreasing the intensity a bit can help it cope better with this type of work.

1J1zegkNSbwX4smvTdoHSanUfwvXFeuV23
1481375282
Hero Member
*
Offline Offline

Posts: 1481375282

View Profile Personal Message (Offline)

Ignore
1481375282
Reply with quote  #2

1481375282
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1481375282
Hero Member
*
Offline Offline

Posts: 1481375282

View Profile Personal Message (Offline)

Ignore
1481375282
Reply with quote  #2

1481375282
Report to moderator
finway
Hero Member
*****
Offline Offline

Activity: 714


View Profile
December 02, 2011, 07:03:19 AM
 #262


This is completely normal. P2Pool creates a chain of shares and needs to start working on new work every time someone makes a new share (which happens every 10 seconds, on average).

Tuning your miner by increasing the FPS setting (I use 60 with poclbm) or decreasing the intensity a bit can help it cope better with this type of work.

So stales are high ,righ?


bz
Newbie
*
Offline Offline

Activity: 25


View Profile
December 03, 2011, 06:29:13 PM
 #263

I'm ignorant about p2pool but thinking about trying it out. I'd like to be able to see some stats (at least current p2pool hash rate, graphs over time would be great). Are such stats visible to outsiders anywhere?

I'd also like to know if I should expect more stales and if so, how many more are typical?
broken
Jr. Member
*
Offline Offline

Activity: 56


View Profile
December 03, 2011, 10:13:49 PM
 #264

I'm ignorant about p2pool but thinking about trying it out. I'd like to be able to see some stats (at least current p2pool hash rate, graphs over time would be great). Are such stats visible to outsiders anywhere?

I'd also like to know if I should expect more stales and if so, how many more are typical?

here is a graph:
http://u.forre.st/p2pool/600.png

I have 10% stales, which is pretty high

forrestv
Hero Member
*****
Offline Offline

Activity: 510


View Profile
December 04, 2011, 03:03:56 AM
 #265

So stales are high ,righ?

I'm ignorant about p2pool but thinking about trying it out. I'd like to be able to see some stats (at least current p2pool hash rate, graphs over time would be great). Are such stats visible to outsiders anywhere?

I'd also like to know if I should expect more stales and if so, how many more are typical?

P2Pool stales are different from normal stales - they still contribute to the pool's useful hashrate (its ability to solve blocks), but you don't get credit within the payout counting system from them. However, everyone gets about the same stale rate - right now it's 25% - so it's fair, because the would-be-losses are evenly distributed, and so have no effect.

The P2Pool client displays an "efficiency" percentage based on your stale proportion relative to everyone else's. Normally, it should be around 100%, which means that you have average stales, but it might be lower if your setup is bad.

1J1zegkNSbwX4smvTdoHSanUfwvXFeuV23
BTCurious
Hero Member
*****
Offline Offline

Activity: 714


^SEM img of Si wafer edge, scanned 2012-3-12.


View Profile
December 04, 2011, 03:06:43 AM
 #266

P2Pool stales are different from normal stales - they still contribute to the pool's useful hashrate (its ability to solve blocks), but you don't get credit within the payout counting system from them. However, everyone gets about the same stale rate - right now it's 25% - so it's fair, because the would-be-losses are evenly distributed, and so have no effect.
Thanks for explaining. I was initially deterred by this supposedly high stale rate.

forrestv
Hero Member
*****
Offline Offline

Activity: 510


View Profile
December 04, 2011, 03:11:05 AM
 #267

Thanks for explaining. I was initially deterred by this supposedly high stale rate.
Yeah, I've thought about renaming P2Pool-stales to something else, because they can't be compared to normal-pool-stales (and discourage people). I haven't though of a good name, though... Any ideas? Smiley

1J1zegkNSbwX4smvTdoHSanUfwvXFeuV23
BTCurious
Hero Member
*****
Offline Offline

Activity: 714


^SEM img of Si wafer edge, scanned 2012-3-12.


View Profile
December 04, 2011, 03:13:40 AM
 #268

Yeah, I've thought about renaming P2Pool-stales to something else, because they can't be compared to normal-pool-stales (and discourage people). I haven't though of a good name, though... Any ideas? Smiley
Do you need to name them at all? They're rather meaningless… I guess the client shows them though?

forrestv
Hero Member
*****
Offline Offline

Activity: 510


View Profile
December 04, 2011, 03:19:22 AM
 #269

Do you need to name them at all? They're rather meaningless… I guess the client shows them though?

The client shows them and the numbers are useful for checking whether everything's working correctly.

Code:
22:18:09.886410 Pool: 5279MH/s in 8694 shares (8698/8698 verified) Recent: 24.11% >1272MH/s Shares: 2 (0 orphan, 0 dead) Peers: 1
22:18:09.886509 Median stale proportion: 0.236220472441
22:18:09.886543     Own: 0.0
22:18:09.886571     Own efficiency: 130.93%

(This is only based on the two shares, so it's not accurate. It will converge to around 100%)

1J1zegkNSbwX4smvTdoHSanUfwvXFeuV23
bz
Newbie
*
Offline Offline

Activity: 25


View Profile
December 05, 2011, 02:18:28 AM
 #270

@broken, thanks for the link. I was anticipating more were using the pool. I really like the idea of p2pool, seems like others should too. Especially after recent attacks on pools. Hopefully the hash rate will go up so blocks can be found faster. Or, maybe difficulty will continue to go down and make solving blocks easier...

@forrestv, thanks for explaining the stales. I'd would probably leave if I saw them without that explanation. I'll take one of my machines and see how it goes, perhaps next weekend.

Mike Hearn
Legendary
*
Offline Offline

Activity: 1526


View Profile
December 05, 2011, 03:13:27 PM
 #271

Maybe just show the "efficiency" score without any mention of stales. It's bad to have people leave purely because of a terminological issue. A flag could let you dump them if you need to know the exact number. If you absolutely insist on showing them try "pool-accounted blocks"
bronan
Hero Member
*****
Offline Offline

Activity: 765


Lazy Lurker Reads Alot


View Profile WWW
December 06, 2011, 02:28:47 AM
 #272

Its a nice concept but yes setting it up is some work in progress
For now even though it costs some time and effort when you finally got it running, it really runs well as long as it does not loose connection with the net.
Now a gui would be nice and most important a way to get stats from each worker/client and so on.
Cause we all thrive on the numbers and stats, without them any miner feels naked and lonely Cheesy
So to make a long story short STATS, STATS and more STATS Wink
forrestv
Hero Member
*****
Offline Offline

Activity: 510


View Profile
December 10, 2011, 08:11:50 PM
 #273

P2Pool 0.7.2 - tag: release-0.7.2

EDIT: Found a critical bug with sharechain ranking, released 0.7.1
EDIT: Found a bug with litecoin mining with Artforz's cpuminer, released 0.7.2

Windows binary: http://u.forre.st/u/pugaormc/p2pool_0.7.2_55673c5.zip

Changes:
* Memory usage decreased by about 40% by only caching the last 1000 block headers instead of all
* Startup time greatly decreased due to previous change and better share caching
* Peers are judged using a heuristic, so the connection count goes to the maximum in seconds instead of many minutes
* Fixed bug in judging which of disjoint sharechains should be mined on
* Some efficiency improvements for miners
* Fixed "KeyError" bug
* Stale and efficiency displays now have a confidence interval:

15:08:47.435707 Pool stales: 12% Own: 11±4% Own efficiency: 101±4%

* All cache files (addrs.dat, shares.*, headers) are now created in data/ subdirectory
* addrs.dat no longer uses sqlite, instead using plain text, which should be more robust

Everyone should upgrade as soon as possible, as we have several competing sharechains due to that bug!

Phoenix-miner support is currently broken, but stock cgminer works very well.

1J1zegkNSbwX4smvTdoHSanUfwvXFeuV23
LightRider
Legendary
*
Offline Offline

Activity: 1488


I advocate the Zeitgeist Movement & Venus Project.


View Profile WWW
December 11, 2011, 07:10:10 AM
 #274

Minor cosmetic problem, the plus/minus symbol displays incorrectly on my machine:

Code:
Own efficiency: 71┬▒47%

Win7x64

Bitcoin combines money, the wrongest thing in the world, with software, the easiest thing in the world to get wrong.
Visit www.thevenusproject.com and www.theZeitgeistMovement.com.
iongchun
Member
**
Offline Offline

Activity: 76


View Profile
December 12, 2011, 04:22:51 AM
 #275

Hi forrestv, I use Bitcoin address as my miners' username, but I guess merged-mined namecoins are paid to a address of connected namecoind.
Could I specify a Namecoin address in miners' username too?

Bitcoin: 1NFMpJUW7sTKmnVKj12MxhPvCvzAKQ5gUV
Namecoin: N5Tnt3JyMeizsoAFAZDr7CSxjzDtPSisK8
Mining with P2Pool. Graph. Blocks.
LightRider
Legendary
*
Offline Offline

Activity: 1488


I advocate the Zeitgeist Movement & Venus Project.


View Profile WWW
December 12, 2011, 04:47:19 AM
 #276

What does "No type for share1as" mean?

Bitcoin combines money, the wrongest thing in the world, with software, the easiest thing in the world to get wrong.
Visit www.thevenusproject.com and www.theZeitgeistMovement.com.
forrestv
Hero Member
*****
Offline Offline

Activity: 510


View Profile
December 12, 2011, 07:41:47 AM
 #277

Hi forrestv, I use Bitcoin address as my miners' username, but I guess merged-mined namecoins are paid to a address of connected namecoind.
Could I specify a Namecoin address in miners' username too?

No, there is no way to affect the Namecoin payouts. P2Pool is just blindly requesting work from namecoind.

What does "No type for share1as" mean?

It means that you're connected to somebody running an outdated client and they're trying to send you old-style shares. I probably should have made this a debugging-mode-only message, because I expected it to appear.. I think I'll do that now Smiley

1J1zegkNSbwX4smvTdoHSanUfwvXFeuV23
broken
Jr. Member
*
Offline Offline

Activity: 56


View Profile
December 12, 2011, 11:49:46 AM
 #278

From Git Commit 66cbd54ce70f7135dedd6e3799f0840394ab9cfb:
Quote
  1 satoshi is always donated so that a list of p2pool generated blocks can be easily found by looking at the donation address

Can you provide the bitcoin-address or blockexplorer link please.
finway
Hero Member
*****
Offline Offline

Activity: 714


View Profile
December 12, 2011, 01:23:20 PM
 #279

I've got this error, need help  Sad


And i think moderator should make an exception for p2pool, make it sticked,
cause it's good for decentraliztion.

forrestv
Hero Member
*****
Offline Offline

Activity: 510


View Profile
December 12, 2011, 06:07:03 PM
 #280

From Git Commit 66cbd54ce70f7135dedd6e3799f0840394ab9cfb:
Quote
  1 satoshi is always donated so that a list of p2pool generated blocks can be easily found by looking at the donation address

Can you provide the bitcoin-address or blockexplorer link please.

http://blockexplorer.com/address/1Kz5QaUPDtKrj5SqW5tFkn7WZh8LmQaQi4 for Bitcoin. Here's how the rest can be computed:

Code:
>>> SCRIPT = '4104ffd03de44a6e11b9917f3a29f9443283d9871c9d743ef30d5eddcd37094b64d1b3d8090496b53256786bf5c82932ec23c3b74d9f05a6f95a8b5529352656664bac'.decode('hex')
>>> from p2pool.bitcoin import data, networks
>>> data.script2_to_human(SCRIPT, networks.BitcoinMainnet)
'Pubkey. Address: 1Kz5QaUPDtKrj5SqW5tFkn7WZh8LmQaQi4'
>>> data.script2_to_human(SCRIPT, networks.NamecoinMainnet)
'Pubkey. Address: NFZScDyN9GRRFchLmuCpyJGRHvXPprfABB'
>>> data.script2_to_human(SCRIPT, networks.LitecoinMainnet)
'Pubkey. Address: LeD2fnnDJYZuyt8zgDsZ2oBGmuVcxGKCLd'

1J1zegkNSbwX4smvTdoHSanUfwvXFeuV23
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 [14] 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 »
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!