Bitcoin Forum
April 28, 2024, 07:57:11 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 ... 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 [393] 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 ... 814 »
  Print  
Author Topic: [1500 TH] p2pool: Decentralized, DoS-resistant, Hop-Proof pool  (Read 2591625 times)
IYFTech
Hero Member
*****
Offline Offline

Activity: 686
Merit: 500


WANTED: Active dev to fix & re-write p2pool in C


View Profile
February 24, 2014, 09:38:26 AM
 #7841

Mr. Jinx, occasional memory leaks have plagued P2Pool nodes for a while. Python/Twisted makes it pretty easy to leave a reference to something or leave a task running in the background... several of them have been patched, though.

Try looking through P2Pool's log file for lines that contain a ">" character, which indicates an uncaught exception/traceback. A task dying that periodically removes old shares was the cause of a previous memory leak; maybe this is something similar.
Ah, thanks. That makes it easier to troubleshoot!

This one happens alot. Always the same peers that gives this error (2).
What could be causing this?
Code:
2014-02-24 05:00:39.106919 > in handle_share_hashes:
2014-02-24 05:00:39.107328 > Traceback (most recent call last):
2014-02-24 05:00:39.107653 > Failure: twisted.internet.defer.TimeoutError: in GenericDeferrer
2014-02-24 05:00:39.109908 Lost peer x.x.x.x:36098 -
2014-02-24 05:00:39.110112     Connection was aborted locally, using
2014-02-24 05:00:39.110291     L{twisted.internet.interfaces.ITCPTransport.abortConnection}.
2014-02-24 05:00:39.110502
2014-02-24 05:00:39.110721     @since: 11.1
2014-02-24 05:00:39.110918     .[

Anyone who can shed some light on this?

This is p2pool disconnecting from older, incompatible versions of p2pool (v11.1) - it's a good thing. The others I'm not sure of, sorry.

-- Smiley  Thank you for smoking  Smiley --  If you paid VAT to dogie for items you should read this thread:  https://bitcointalk.org/index.php?topic=1018906.0
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
jedimstr
Hero Member
*****
Offline Offline

Activity: 798
Merit: 1000



View Profile
February 24, 2014, 08:39:38 PM
 #7842

So on the BTC side, P2Pool has been having horrible luck lately... and the Hashrate on the pool has essentially been flat or declining since the new year.

Anything we can do to encourage more people to use P2Pool (I saw a PR push on Reddit around the holidays and the GHash.io panic on Reddit), or to enhance our chances of getting a few blocks?  It seems every other block these days is GHash.io blocks now and the previous outrage has died down since BTCGuild and Eligius have caught up and split the top 3 spots: https://blockchain.info/pools


Tegija
Member
**
Offline Offline

Activity: 112
Merit: 10

Just Fun!


View Profile
February 24, 2014, 08:47:26 PM
 #7843

So on the BTC side, P2Pool has been having horrible luck lately... and the Hashrate on the pool has essentially been flat or declining since the new year.

Anything we can do to encourage more people to use P2Pool (I saw a PR push on Reddit around the holidays and the GHash.io panic on Reddit), or to enhance our chances of getting a few blocks?  It seems every other block these days is GHash.io blocks now.

it would be nice if we could start some campaign to get more people to p2pool. i am trying hard and have found some new people, but considering that at this time every 2-3 days there come more new TH to the network than whole p2pool totally has, we need really good strategy to get new miner to p2pool.

it is pretty amazing that people do not understand that it is for everybody good if p2pool gets bigger and more healthy.

i hope it will change soon an we have more people mining with us.

Enjoy your life!
IYFTech
Hero Member
*****
Offline Offline

Activity: 686
Merit: 500


WANTED: Active dev to fix & re-write p2pool in C


View Profile
February 24, 2014, 09:43:19 PM
 #7844

This is an ongoing age old problem, scroll back & you'll see.

Not enough development, not enough (lately almost zero) support, not enough compatibility, not user friendly enough......the list goes on & on.

It's a shame.

-- Smiley  Thank you for smoking  Smiley --  If you paid VAT to dogie for items you should read this thread:  https://bitcointalk.org/index.php?topic=1018906.0
kano
Legendary
*
Offline Offline

Activity: 4466
Merit: 1800


Linux since 1997 RedHat 4


View Profile
February 24, 2014, 10:39:04 PM
 #7845

Hmm ... so how many TH/s is the 'development team' being paid?

Pool: https://kano.is - low 0.5% fee PPLNS 3 Days - Most reliable Solo with ONLY 0.5% fee   Bitcointalk thread: Forum
Discord support invite at https://kano.is/ Majority developer of the ckpool code - k for kano
The ONLY active original developer of cgminer. Original master git: https://github.com/kanoi/cgminer
roy7
Sr. Member
****
Offline Offline

Activity: 434
Merit: 250


View Profile
February 24, 2014, 10:41:12 PM
 #7846

Hmm ... so how many TH/s is the 'development team' being paid?

Since donations are stored on the share chain, you could actually whip up a tool to calculate that if you were curious enough.

(I realize you might be asking a rhetorical question in response to IYFTech.)
PatMan
Hero Member
*****
Offline Offline

Activity: 924
Merit: 1000


Watch out for the "Neg-Rep-Dogie-Police".....


View Profile WWW
February 24, 2014, 10:59:31 PM
 #7847

Hmm ... so how many TH/s is the 'development team' being paid?

There's a dev team?........ Cheesy Cheesy Cheesy

"When one person is deluded it is called insanity - when many people are deluded it is called religion" - Robert M. Pirsig.  I don't want your coins, I want change.
Amazon UK BTC payment service - https://bitcointalk.org/index.php?topic=301229.0 - with FREE delivery!
http://www.ae911truth.org/ - http://rethink911.org/ - http://rememberbuilding7.org/
phillipsjk
Legendary
*
Offline Offline

Activity: 1008
Merit: 1001

Let the chips fall where they may.


View Profile WWW
February 25, 2014, 05:52:01 PM
Last edit: February 26, 2014, 01:50:55 PM by phillipsjk
 #7848

Edit: Since AFAIK, the getwork protocol does not allow workers to be interrupted with new work, we should be able to estimate the expected stales given a specific block frequency. If we assume a 13s worst case latency, that works out to at most 43% stales with a 30 second target. If we assume a 6.5s average, that works out to 21.7% stale. -- that does seem high.

Edit: Apparently Longpolling works around HTTP limitations by having the miner request new work immediately. The server then does not respond until new work is ready. Testing time.


See this:

https://bitcointalk.org/index.php?topic=18313.msg4556966#msg4556966

I don't know of anyone who has got slush's proxy to work with p2pool, I've tried countless times myself - it just doesn't work, in fact I have a feeling that that's what is now causing my p2pool start up error/warning. Your only choice with a blade is to use +1 at the end of your user name/addy which, tbh, is a bit of a waste..... Wink

OK, I finally got P2Pool running and learned the truth. One thing that confused me is that the +1 option does not appear to be documented anywhere. What it does is tell the blade to report diff-1 shares. Apparently, the blades do not support higher difficulty.

Test results are in: no longpoll support. 21% stale for me, I guess. (confirmed with netstat -- only transient connections show up on port 9332) The reported DOA rate varies between 20-40% for some reason.

PS: Slush's proxy does not work because P2Pool does not appear to support the stratum protocol. I may try a different proxy if I think it will result in less CPU usage (for example, using compiled, rather than interpreted code). Better power savings would result from replacing the CPU though.

Edit: P2Pool does support Stratum. Slush's proxy not working is more complex. P2Pool tries to automatically detect whether the worker is using stratum or not. While at the same time, the slush proxy tries to automatically detect if the pool is using Stratum or not (using the getwork protocol). I tried removing that detection from the slush code, and it still didn't work.

James' OpenPGP public key fingerprint: EB14 9E5B F80C 1F2D 3EBE  0A2F B3DE 81FF 7B9D 5160
IYFTech
Hero Member
*****
Offline Offline

Activity: 686
Merit: 500


WANTED: Active dev to fix & re-write p2pool in C


View Profile
February 25, 2014, 06:33:50 PM
 #7849

Exactly.

If you do find a proxy that is compatible with p2pool without a daft DOA rate I'm sure there are a few hundred miners who would like to hear about it...... Wink

-- Smiley  Thank you for smoking  Smiley --  If you paid VAT to dogie for items you should read this thread:  https://bitcointalk.org/index.php?topic=1018906.0
phillipsjk
Legendary
*
Offline Offline

Activity: 1008
Merit: 1001

Let the chips fall where they may.


View Profile WWW
February 25, 2014, 09:10:06 PM
 #7850

Well I think I found out where the extra 6 seconds of lag came from:
Code:
2014-02-25 13:53:22.835376 Punishing share for 'Block-stale detected! height(6f2f28d90af36171b9bc41e7986c7bb24943c37bec4ef054) < height(151b94b7ca0744b491b3fcbf950435984bc36c5a97c9a08e9) or 
19015f53 != 19015f53'! Jumping from 1ce9c6ad to 212471a6!
...
2014-02-25 13:53:24.455802 New work for worker! Difficulty: 1.000000 Share difficulty: 529462.142225 Total block value: 25.027840 BTC including 106 transactions
.
.
.
2014-02-25 14:05:10.552019 Transaction db65517b5b4b7314e86aa52a1f9e0ea3be37044eab1a73e408ea07f74ec5e383 rescued from peer latency cache!
...
2014-02-25 14:05:17.463766 New work for worker! Difficulty: 1.000000 Share difficulty: 553972.015873 Total block value: 25.105139 BTC including 529 transactions
.
.
.
2014-02-25 14:14:57.135562 P2Pool: 17337 shares in chain (9424 verified/17341 total) Peers: 6 (0 incoming)
...
2014-02-25 14:15:00.183437 P2Pool: 17338 shares in chain (9425 verified/17342 total) Peers: 6 (0 incoming)
...
2014-02-25 14:15:05.433806 New work for worker! Difficulty: 1.000000 Share difficulty: 565095.416800 Total block value: 25.057434 BTC including 304 transactions

I may be misinterpreting things, but I appears to take my machine 1-7 seconds to put work together.

James' OpenPGP public key fingerprint: EB14 9E5B F80C 1F2D 3EBE  0A2F B3DE 81FF 7B9D 5160
VarDiff
Full Member
***
Offline Offline

Activity: 196
Merit: 100


View Profile
February 25, 2014, 09:38:59 PM
 #7851



P2Pool added to mining pools database
Good luck, miners.
paniczklos
Full Member
***
Offline Offline

Activity: 322
Merit: 101


View Profile
February 26, 2014, 06:29:28 AM
 #7852

Hi guys, is there a way to check why I'm not getting fees from every mined block (and the total fees are much lower than the set 1%) ?
Right now avarage payout of two biggest miners only is ~4000BC, but I'm not getting any fees ;/ (It's not about greed - I just don't understand it).
Hashrate is constant (and growing).




http://freebtc.eu:8336/static/graphs.html?Day
Mr. Jinx
Member
**
Offline Offline

Activity: 112
Merit: 10


View Profile
February 26, 2014, 07:40:19 AM
 #7853

Hi guys, is there a way to check why I'm not getting fees from every mined block (and the total fees are much lower than the set 1%) ?
Right now avarage payout of two biggest miners only is ~4000BC, but I'm not getting any fees ;/ (It's not about greed - I just don't understand it).
Hashrate is constant (and growing).

I had the same question in another topic:

Should you get a 1% fee everytime the miners are paid? I haven't received any fee yet, while the active miners have received their share payments.
Or will this fee be paid on a daily base? I got the feeling something is setup wrong.

It isn't intuitive, but each share a miner submits to you has a 1% chance of becoming your share instead. So you'll see a lot of variance in your pool fee income, but long-term it should even out (at the expense of higher variance for the miner as well).

Maybe one day p2pool will allow the fee amount to be recorded in the share, like the donation amount is, so it can be paid exactly when each share is paid and all shares remain with the miner.

After a few weeks I can confirm this behavior. Sometimes there are days without a fee, and then suddenly you get a few in a row. Looking back a month it seems to be about 1%!
sshapiroNJ
Newbie
*
Offline Offline

Activity: 55
Merit: 0


View Profile
February 26, 2014, 08:24:15 AM
 #7854

Hi guys, is there a way to check why I'm not getting fees from every mined block (and the total fees are much lower than the set 1%) ?
Right now avarage payout of two biggest miners only is ~4000BC, but I'm not getting any fees ;/ (It's not about greed - I just don't understand it).
Hashrate is constant (and growing).

I had the same question in another topic:

Should you get a 1% fee everytime the miners are paid? I haven't received any fee yet, while the active miners have received their share payments.
Or will this fee be paid on a daily base? I got the feeling something is setup wrong.

It isn't intuitive, but each share a miner submits to you has a 1% chance of becoming your share instead. So you'll see a lot of variance in your pool fee income, but long-term it should even out (at the expense of higher variance for the miner as well).

Maybe one day p2pool will allow the fee amount to be recorded in the share, like the donation amount is, so it can be paid exactly when each share is paid and all shares remain with the miner.

After a few weeks I can confirm this behavior. Sometimes there are days without a fee, and then suddenly you get a few in a row. Looking back a month it seems to be about 1%!

It has also happened to me. I need like a couple of months to understand what is going on until I read on post on the site (another subforum) and finally understood what's going on
roy7
Sr. Member
****
Offline Offline

Activity: 434
Merit: 250


View Profile
February 26, 2014, 01:44:55 PM
 #7855

Fee % isn't a % of each block. It is a % of shares are randomly given to you instead of your miner. So in 100 shares, on average, 1 share will be 100% credit to you, and 99 shares will be 100% credit to your miners. It should average out long-term that you make 1% of the total income of the pool. But it is very high variance. I hope in a future major version of p2pool the fee % is applied to every block like donation %.
roy7
Sr. Member
****
Offline Offline

Activity: 434
Merit: 250


View Profile
February 26, 2014, 01:46:13 PM
 #7856

For those interested I just found an interesting patch the author mentioned on the HHTT thread:

https://github.com/iongchun/p2pool/tree/auto-worker-diff

Gives you two command line options to control the pseduo share difficulty. You can set a target difficulty per-miner or per-address. Using that per-address would seem to fit nicely with my pull request to set share difficulty based on address speed instead of local node speed.
Mr. Jinx
Member
**
Offline Offline

Activity: 112
Merit: 10


View Profile
February 26, 2014, 04:48:39 PM
 #7857

I can currently offer a 5 LTC bounty if someone can help me resolve this issue:

I'm still having this memory leak issue with p2pool which I would love to resolve:


I looked at the ">" errors in the logs, but I don't know if this is the problem:
Code:
2014-02-24 05:34:43.706844 > Couldn't link returned work's job id with its handler. This should only happen if this process was recently restarted!
Code:
2014-02-24 05:05:18.137532 Worker xxxxxxxxxxx submitted share with hash > target:
2014-02-24 05:05:18.137946     Hash:   xxxxxxxxxxxxxxx
2014-02-24 05:05:18.138166     Target: xxxxxxxxxx
Code:
2014-02-24 05:00:39.106919 > in handle_share_hashes:
2014-02-24 05:00:39.107328 > Traceback (most recent call last):
2014-02-24 05:00:39.107653 > Failure: twisted.internet.defer.TimeoutError: in GenericDeferrer
2014-02-24 05:00:39.109908 Lost peer x.x.x.x:36098 -
2014-02-24 05:00:39.110112     Connection was aborted locally, using
2014-02-24 05:00:39.110291     L{twisted.internet.interfaces.ITCPTransport.abortConnection}.
2014-02-24 05:00:39.110502
2014-02-24 05:00:39.110721     @since: 11.1

Right now I have to restart the node every few days, which the miners don't like.
matthewh3
Legendary
*
Offline Offline

Activity: 1372
Merit: 1003



View Profile WWW
February 27, 2014, 12:37:16 AM
 #7858

I'm thinking of setting a P2Pool node up for around 2MH/s on Vertcoin.  Can you still auto donate 1% to the dev's?

roy7
Sr. Member
****
Offline Offline

Activity: 434
Merit: 250


View Profile
February 27, 2014, 01:46:13 AM
 #7859

I'm thinking of setting a P2Pool node up for around 2MH/s on Vertcoin.  Can you still auto donate 1% to the dev's?

I don't think Forrest has a Vertcoin address but you can ask him. The address hard coded into the repo wouldn't work anyway. Maybe best to just do a manual donation now and then to his BTC address.
hasis
Full Member
***
Offline Offline

Activity: 159
Merit: 102


View Profile
February 27, 2014, 06:36:22 AM
Last edit: February 27, 2014, 06:47:03 AM by hasis
 #7860

Hi! I have the following problem. Sometimes, if the restart p2pool (quark-algoritm), when the power pool > ~ 150 MH / s, process starts to load the processor to 100% and all shares the dead. All logentries "DEAD ON ARRIVAL". Why this happens and how to solve this problem?
Pages: « 1 ... 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 [393] 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 ... 814 »
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!