Bitcoin Forum
December 07, 2016, 10:44:32 PM *
News: Latest stable version of Bitcoin Core: 0.13.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: « 1 ... 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 [189] 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 ... 744 »
  Print  
Author Topic: [1500 TH] p2pool: Decentralized, DoS-resistant, Hop-Proof pool  (Read 2032547 times)
lenny_
Legendary
*
Offline Offline

Activity: 953



View Profile
November 05, 2012, 04:39:47 PM
 #3761

Data like this might help?

http://p2pool.hopto.org:9332/peer_addresses
or
http://p2pool.hopto.org:9332/local_stats

Hi,
I am using p2pool under Linux. Can you please tell me, how to read number of connected incoming and outgoing peers connected to my p2pool node? I can see it in graph and table (in browser), but I woudlike to extract it to Linux terminal, to futher processing.
Thanks in advance.

/local_stats have it Smiley Thank you!
1481150672
Hero Member
*
Offline Offline

Posts: 1481150672

View Profile Personal Message (Offline)

Ignore
1481150672
Reply with quote  #2

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

Activity: 205


View Profile
November 05, 2012, 04:41:34 PM
 #3762

Yes, Forrest or anyone else is free to add it or use it. You can just save the html page as it is, all the code is self contained in it. It goes in your web-static dir.

Strange that it is still going on.. my own node and others in this list are finding valid shares still and the efficiency ratings all seem good.

http://p2pool.hopto.org:9332/static/nodes.html

Are you running a standard bitcoind and not an alpha or something?

Yup, I woke up this morning to about 10 orphans - very strange. I restarted everything and have not had any since.....

Edit: I spoke too soon, just got another one...... Sad

Would you consider allowing Forrestv to add the nodes link to p2pool/master? If so please contact him on IRC.

It's nice and would be great if it was included in the master branch.

1Cabinz1RSccAbFx2DikYomSKeMupy7M6V
sharky112065
Sr. Member
****
Offline Offline

Activity: 383



View Profile
November 05, 2012, 06:32:24 PM
 #3763

Yes, Forrest or anyone else is free to add it or use it. You can just save the html page as it is, all the code is self contained in it. It goes in your web-static dir.

Strange that it is still going on.. my own node and others in this list are finding valid shares still and the efficiency ratings all seem good.

http://p2pool.hopto.org:9332/static/nodes.html

Are you running a standard bitcoind and not an alpha or something?

Yup, I woke up this morning to about 10 orphans - very strange. I restarted everything and have not had any since.....

Edit: I spoke too soon, just got another one...... Sad

Would you consider allowing Forrestv to add the nodes link to p2pool/master? If so please contact him on IRC.

It's nice and would be great if it was included in the master branch.

Yep that is what forrestv told me to do as well, but he wanted me to ask you for your permission to include it in master on git. thanks

Donations welcome: 12KaKtrK52iQjPdtsJq7fJ7smC32tXWbWr
BitCoiner2012
Sr. Member
****
Offline Offline

Activity: 364



View Profile
November 07, 2012, 01:52:17 AM
 #3764

Member of p2pool since August. Just wanted to say I STILL love it! Far superior long live P2Pool!

BTC Long.
bitpop
Legendary
*
Offline Offline

Activity: 1932


https://keybase.io/bitpop


View Profile WWW
November 07, 2012, 10:48:29 AM
 #3765

Member of p2pool since August. Just wanted to say I STILL love it! Far superior long live P2Pool!

Reputation  |  PGP  |  DigitalOcean  |  OpenVPN 2GB Free  |  TorGuard  |  Ethereum Classic
Bitcoin: 3DSh6AnmvBpDJFUz2mnLirMLmTMcFs9nDm
Bitmessage: BM-2cXN9j8NFT2n1FxDVQ6HQq4D4MZuuaBFyb
mdude77
Legendary
*
Offline Offline

Activity: 1358


View Profile
November 09, 2012, 01:20:45 AM
 #3766

Code:
Shares: 254 total (20 orphaned, 10 dead) Efficiency: 103.6%

What's wrong this picture?  I'm at 11.8% stale, and I'm > 100% efficient.

I've done everything I can do to get the stale rate down, and I hover between 10% and 12%.

I've:

- changed AV to not scan bitcoin folder or p2pool folder
- changed cgminer to run on 1 thread, and 0 queue
- run p2pool on same box as bitcoin
- run p2pool on different box as bitcoin
- grab the newest version of p2pool every week or so.

I was around 5% before v8 came out. 

What's going on here?  Is this considered normal now?

M

MMinerMonitor author, monitor/auto/schedule reboots/alerts/remote/MobileMiner for Ants and Spondoolies! Latest (5.2). MPoolMonitor author, monitor stats/workers for most pools, global BTC stats (current/nxt diff/USD val/hashrate/calc)! Latest (v4.2) 
Buyer beware of Bitmain hardware and services.
lenny_
Legendary
*
Offline Offline

Activity: 953



View Profile
November 09, 2012, 05:39:55 AM
 #3767

Code:
Shares: 254 total (20 orphaned, 10 dead) Efficiency: 103.6%

What's wrong this picture?  I'm at 11.8% stale, and I'm > 100% efficient.

I've done everything I can do to get the stale rate down, and I hover between 10% and 12%.

I've:

- changed AV to not scan bitcoin folder or p2pool folder
- changed cgminer to run on 1 thread, and 0 queue
- run p2pool on same box as bitcoin
- run p2pool on different box as bitcoin
- grab the newest version of p2pool every week or so.

I was around 5% before v8 came out. 

What's going on here?  Is this considered normal now?

M

Can you please give your p2pool node address so we can check your stats.
Syke
Legendary
*
Offline Offline

Activity: 2086


View Profile
November 09, 2012, 06:29:35 AM
 #3768

Code:
Shares: 254 total (20 orphaned, 10 dead) Efficiency: 103.6%

What's wrong this picture?  I'm at 11.8% stale, and I'm > 100% efficient.

I've done everything I can do to get the stale rate down, and I hover between 10% and 12%.

What's going on here?  Is this considered normal now?

Code:
Shares: 1895 (123 orphan, 55 dead) Stale rate: ~9.4% (8-11%) Efficiency: ~99.2% (97-101%)

Yours looks about the same as mine.

Buy & Hold
rav3n_pl
Legendary
*
Offline Offline

Activity: 1320


Don`t panic! Organize!


View Profile
November 09, 2012, 08:31:54 AM
 #3769

v9 is on master tree git Smiley Time to upgrade!

1Rav3nkMayCijuhzcYemMiPYsvcaiwHni  Bitcoin stuff on my OneDrive
My RPC CoinControl for any coin https://bitcointalk.org/index.php?topic=929954
My SatoshDice bot https://bitcointalk.org/index.php?topic=897685
mdude77
Legendary
*
Offline Offline

Activity: 1358


View Profile
November 09, 2012, 11:30:19 AM
 #3770

Code:
Shares: 254 total (20 orphaned, 10 dead) Efficiency: 103.6%

What's wrong this picture?  I'm at 11.8% stale, and I'm > 100% efficient.

I've done everything I can do to get the stale rate down, and I hover between 10% and 12%.

I've:

- changed AV to not scan bitcoin folder or p2pool folder
- changed cgminer to run on 1 thread, and 0 queue
- run p2pool on same box as bitcoin
- run p2pool on different box as bitcoin
- grab the newest version of p2pool every week or so.

I was around 5% before v8 came out. 

What's going on here?  Is this considered normal now?

M

Can you please give your p2pool node address so we can check your stats.

Not public/open.

M

MMinerMonitor author, monitor/auto/schedule reboots/alerts/remote/MobileMiner for Ants and Spondoolies! Latest (5.2). MPoolMonitor author, monitor stats/workers for most pools, global BTC stats (current/nxt diff/USD val/hashrate/calc)! Latest (v4.2) 
Buyer beware of Bitmain hardware and services.
zvs
Legendary
*
Offline Offline

Activity: 1386



View Profile WWW
November 09, 2012, 12:12:16 PM
 #3771

Code:
Shares: 254 total (20 orphaned, 10 dead) Efficiency: 103.6%

What's wrong this picture?  I'm at 11.8% stale, and I'm > 100% efficient.

I've done everything I can do to get the stale rate down, and I hover between 10% and 12%.

I've:

- changed AV to not scan bitcoin folder or p2pool folder
- changed cgminer to run on 1 thread, and 0 queue
- run p2pool on same box as bitcoin
- run p2pool on different box as bitcoin
- grab the newest version of p2pool every week or so.

I was around 5% before v8 came out.  

What's going on here?  Is this considered normal now?

M

were you running close to that 4% dead before?  my # of dead is usually around 0-1%, but last time I tried p2pool, I was getting about 15% orphans.  which has always been the main problem (for me).  doesn't make a lot of sense, since my bitcoind is on a ram drive and has close to 1000 connections.  probably need to use whatever the equivalent of addnode is in bitcoind to my p2pool command line to connect to the top 10 nodes or so (in ghash/s)

(uh, strayed off topic a bit i guess.  your dead % looks high to me, maybe some local network issue w/ higher latency or something?)

ed:

correct me if i'm wrong, but it would work like this?  person x gets a share based on work x, so now people are to have moved on to work y.  1 second later you submit your share based on work x, thus it is recognized as 'dead' by your p2pool client.  for orphans, you would submit your work x and then begin working on work y (as well as anyone else that received your share).  another person submits their work x a second later (not having received yours yet) and sends it to whoever they can on their peer list, and they all begin working on work z.  the people that are working on work z find another share first, so then your submitted share is orphaned

so, then, dead shares would more likely be caused by local network issues or maybe CPU load or something like that, while orphans would more likely be caused by latency outside your local network??

ed2:

err, change the first part to say that you submit your share based on work x, but your p2pool client already recognizes that there's a prior valid solution

Dacentec, best deals for US dedicated servers. They regularly restock $20-$25 Opterons with 8-16GB RAM & 2x1-2TB HDD's (ofc, usually lots of other good stuff to choose from).  I did a Serverbear benchmark of one of my $20/mo Opteron (June last year), it's here.  Have had about a half dozen different servers with Dacentec, & none have failed to sustain at least 40MB/s (burst higher). My favorite is a 12-month rent-to-own ZT Systems 2XL5520 16GB 2x2TB SATA for $40/month (got lucky with the 'off-brand', haven't seen a RTO 2xL5520 for under $50/mo since -- at least for monthly contracts).  wholesaleinternet.com has some ancient 2-core intel CPUs @ $10/mo sometimes (I got an Intel Core 2 6300 @ 1.86GHz, with a 250GB HDD with 46000 hours on it, LOL. $20 @ Dacentec is much better, if you can grab one). joesdatacenter.com (same location as Wholesale Internet) also occasionally has specials (or if you don't want to wait, it has an AMD Opteron 170 @ $16/mo).
rav3n_pl
Legendary
*
Offline Offline

Activity: 1320


Don`t panic! Organize!


View Profile
November 09, 2012, 12:21:18 PM
 #3772

See your /pings page, how many peers are under 100ms?
Mine are:
Code:
61,87
65,97
70,12
80,00
80,52
85,40
95,61
118,94
145,07
150,26
160,93
163,43
172,75
173,06
190,12
204,10
206,24
214,19
234,54
477,99
581,87
867,02

1Rav3nkMayCijuhzcYemMiPYsvcaiwHni  Bitcoin stuff on my OneDrive
My RPC CoinControl for any coin https://bitcointalk.org/index.php?topic=929954
My SatoshDice bot https://bitcointalk.org/index.php?topic=897685
rdponticelli
Sr. Member
****
Offline Offline

Activity: 326


Our highest capital is the Confidence we build.


View Profile
November 09, 2012, 01:52:03 PM
 #3773

my bitcoind is on a ram drive and has close to 1000 connections.

This doesn't sound good.  You shouldn't have that many connections opened. AFAIK, the network code of the client isn't good, and having so many connections opened may slow down your connection...
rav3n_pl
Legendary
*
Offline Offline

Activity: 1320


Don`t panic! Organize!


View Profile
November 09, 2012, 02:03:11 PM
 #3774

my bitcoind is on a ram drive and has close to 1000 connections.

This doesn't sound good.  You shouldn't have that many connections opened. AFAIK, the network code of the client isn't good, and having so many connections opened may slow down your connection...
Thats too. Se your /static/graphs.html?Hour page and check getwork latency.

1Rav3nkMayCijuhzcYemMiPYsvcaiwHni  Bitcoin stuff on my OneDrive
My RPC CoinControl for any coin https://bitcointalk.org/index.php?topic=929954
My SatoshDice bot https://bitcointalk.org/index.php?topic=897685
cabin
Full Member
***
Offline Offline

Activity: 205


View Profile
November 09, 2012, 02:32:14 PM
 #3775

You might want to try these settings in bitcoin.conf to improve your bitcoind performance if it is indeed the bottleneck. I've found processing hundreds of transactions can also slow things down so some of these settings limit the number of transactions to a couple hundred.

Code:
#Max number of nodes to connect to. Another possible bottleneck.
maxconnections=20

#Maximum size, in bytes, of blocks you create:
blockmaxsize=100000

#How many bytes of the block should be dedicated to high-priority transactions,                                                                                                 
#included regardless of the fees they pay                                                                                                                                 
blockprioritysize=2000

#Minimum block size you want to create; block will be filled with free transactions                                                                                       
#until there are no more or the block reaches this size:                                                                                                                 
blockminsize=0

#Fee-per-kilobyte amount (in BTC) considered the same as "free"                                                                                                                   
#Be careful setting this: if you set it to zero then                                                                                                                     
#a transaction spammer can cheaply fill blocks using                                                                                                                     
#1-satoshi-fee transactions. It should be set above the real                                                                                                             
#cost to you of processing a transaction.                                                                                                                                 
mintxfee=0.0005

1Cabinz1RSccAbFx2DikYomSKeMupy7M6V
mdude77
Legendary
*
Offline Offline

Activity: 1358


View Profile
November 10, 2012, 02:04:41 AM
 #3776

You might want to try these settings in bitcoin.conf to improve your bitcoind performance if it is indeed the bottleneck. I've found processing hundreds of transactions can also slow things down so some of these settings limit the number of transactions to a couple hundred.

Thanks everyone for your suggestions.

I upgraded p2pool to v9 this morning.  Now, 12 hours later, I'm still looking pretty:

Code:
Shares: 36 total (2 orphaned, 0 dead) Efficiency: 105.7%

That's 5.6% stale.  I'm hoping it stays.

M

MMinerMonitor author, monitor/auto/schedule reboots/alerts/remote/MobileMiner for Ants and Spondoolies! Latest (5.2). MPoolMonitor author, monitor stats/workers for most pools, global BTC stats (current/nxt diff/USD val/hashrate/calc)! Latest (v4.2) 
Buyer beware of Bitmain hardware and services.
mdude77
Legendary
*
Offline Offline

Activity: 1358


View Profile
November 10, 2012, 03:49:09 AM
 #3777

The JSON outputs from p2pool (like /local_stats) are causing my IE9 to prompt to download the file instead of displaying it on the screen.  Can this be easily fixed?  It looks as if you add a ContentType of HTML/Text or text/plain it fixes it.  I'll have a look at the source and see if I can figure out where this is coming from, but I figured I'd mention it since there are experts here who could do it a lot faster than I can.

Thanks.

M

MMinerMonitor author, monitor/auto/schedule reboots/alerts/remote/MobileMiner for Ants and Spondoolies! Latest (5.2). MPoolMonitor author, monitor stats/workers for most pools, global BTC stats (current/nxt diff/USD val/hashrate/calc)! Latest (v4.2) 
Buyer beware of Bitmain hardware and services.
rav3n_pl
Legendary
*
Offline Offline

Activity: 1320


Don`t panic! Organize!


View Profile
November 10, 2012, 07:11:40 AM
 #3778

Just use IE to download proper web browser....

1Rav3nkMayCijuhzcYemMiPYsvcaiwHni  Bitcoin stuff on my OneDrive
My RPC CoinControl for any coin https://bitcointalk.org/index.php?topic=929954
My SatoshDice bot https://bitcointalk.org/index.php?topic=897685
mdude77
Legendary
*
Offline Offline

Activity: 1358


View Profile
November 10, 2012, 12:20:57 PM
 #3779

Just use IE to download proper web browser....

I'm not using IE as my main web browser.  

Thanks for the useless comment though! Smiley

M

EDIT: Seriously, I'm thinking the content tag can't be added w/o messing up JSON parsers that don't use IE.  That might mean a whole new URL is needed.  Maybe I can figure it out.

EDIT #2: I got it figured out with no changes to p2pool.

MMinerMonitor author, monitor/auto/schedule reboots/alerts/remote/MobileMiner for Ants and Spondoolies! Latest (5.2). MPoolMonitor author, monitor stats/workers for most pools, global BTC stats (current/nxt diff/USD val/hashrate/calc)! Latest (v4.2) 
Buyer beware of Bitmain hardware and services.
rav3n_pl
Legendary
*
Offline Offline

Activity: 1320


Don`t panic! Organize!


View Profile
November 10, 2012, 12:31:47 PM
 #3780

Just use IE to download proper web browser....

I'm not using IE as my main web browser.  

Thanks for the useless comment though! Smiley

M

EDIT: Seriously, I'm thinking the content tag can't be added w/o messing up JSON parsers that don't use IE.  That might mean a whole new URL is needed.  Maybe I can figure it out.
Sorry, I mean no offense ... Smiley IE just sux and when s1 is telling that "something is not working on IE" it is mostly IE feature, not a IE bug Tongue

1Rav3nkMayCijuhzcYemMiPYsvcaiwHni  Bitcoin stuff on my OneDrive
My RPC CoinControl for any coin https://bitcointalk.org/index.php?topic=929954
My SatoshDice bot https://bitcointalk.org/index.php?topic=897685
Pages: « 1 ... 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 [189] 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 ... 744 »
  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!