Pages:
Author

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

hero member
Activity: 818
Merit: 1006
Yeah, an Opteron 6128 is way too slow for bitcoin p2pool. Sorry. It doesn't matter how many cores it has; it's a 2 GHz pre-Ryzen AMD CPU, and that's nowhere near fast enough. A cheap dual core Core i3 would be much better than an 8-core AMD server chip. Pypy will help, but I expect you'll still have problems even with pypy.

Dash and Litecoin should work fine. Most of the CPU load comes from dealing with transactions, and neither Dash nor Litecoin have much transaction volume.

The HDD should be fine. I wouldn't worry about upgrading that. If you are thinking of mining Ethereum, you'd need an SSD, but an HDD should be okay for Bitcoin, especially if you use -dbcache=8000 on bitcoind (you have the RAM, might as well use it).
newbie
Activity: 12
Merit: 0

AMD Opteron 6128 - python is running near 100% so pypy may have to be my route as this processor may be a little weak even with 8 cores
32GB Memory
Hard Drive may be a 5400rpm - this was an old server that I revived and i just grabbed a 1TB HD I had, could have probably used a SSD

I didn't realize  this was going to be so intensive ... I may have to rebuild, but will give pypy a try 1st

Bitcoind GetBlockTemplate Latency is bad - mean of 9.07 seconds
Memory Usage is about 1.9GB

However this server is also server a Dash Node and a Litecoin node and running as expected.
Latency is around .0201s on the Dash node with memory of 235MB, and about .0668s on the Litecoin node with memory of 1.26gb

I am also not sure what version of your code I am using, terrible with git, what would be the command to change from
jtoomim/p2pool
to
https://github.com/jtoomim/p2pool/tree/1mb_segwit.git
if that is the current version I should use.

--bench has been added, will supply debug.log shortly.

thanks
hero member
Activity: 818
Merit: 1006
bitlock1, it sounds like your machine is just too slow for bitcoind+p2pool. Please list your machine's specs, including CPU model, amount of RAM, type of disk (SSD vs HDD), and OS. It would also be helpful if you could list your node's IP address or post a screenshot of your "Bitcoind GetBlockTemplate Latency" and "Memory Usage" charts. Output while using the "--bench" command-line option is also helpful.

Usually, the "bitcoind not responding" error happens when bitcoind is responding just fine, but p2pool's queue of tasks to perform grows faster than the CPU can perform those tasks. This causes p2pool to take several minutes before p2pool processes the response from bitcoind, even though bitcoind may have responded within milliseconds. This can either be caused by running out of RAM (resulting in swapping to disk) or by a slow CPU (e.g. anything from AMD before Ryzen).

Currently, p2pool requires a fast CPU with good single-threaded performance. I wish this weren't the case, but the cost in programmer time of fixing it is about the same as buying all p2pool users a faster CPU. I've made several improvements already towards that goal, but clearly not enough.
newbie
Activity: 12
Merit: 0
I have switched over to https://github.com/jtoomim/p2pool  code and things seem better, but still occasionally  see bitcoind not responding errors.

I review the bitcoind logs

Code:
receive version message: /P2Pool:17.0-4-g68f653f-dirty/: version 70002, blocks=0, us=127.0.0.1:8333, peer=41
2017-12-08 16:01:59 Misbehaving: 127.0.0.1:52702 peer=41 (0 -> 100) BAN THRESHOLD EXCEEDED
2017-12-08 16:01:59 Warning: not banning local peer 127.0.0.1:52702!

i can increase the banscore index to 150 ? not sure if this is a good move. Any Suggestions?

current bitcoin.conf file

Code:
rpcuser=bitcoinusernamegoeshere
rpcpassword=bigolpasswordgoeshere
#----
#rpcallowip=127.0.0.1
#----
listen=1
server=1
daemon=1
maxconnections=20
#blockmaxsize=1000000 #default is 500000 (deprecated)
blockmaxweight=3950000
mintxfee=0.00001
minrelaytxfee=0.00001
dbcache=500
maxmempool=500
rpcthreads=50
addnode=v4.us-west.fibre.bitcoinrelaynetwork.org
#--------------------

Moderator note: frodocooper edited this post to include code tags.
legendary
Activity: 2030
Merit: 1076
BTCLife.global participant
https://en.bitcoin.it/wiki/P2Pool#Stales

Could anybody be so kind to explain in more details, what does this mean?
Quote
On P2Pool stales refer to shares which can't make it into the sharechain. Because the sharechain is 20 times faster than the Bitcoin chain many stales are common and expected. However, because the payout is PPLNS only your stale rate relative to other nodes is relevant; the absolute rate is not.

What's PPLNS got to do with it?
hero member
Activity: 496
Merit: 500
Strange, p2pool general failures.I had never seen this before  Huh
sr. member
Activity: 351
Merit: 410
I have plenty of ram on this system, before I try a new fork would this be a bitcoind ram issue or p2pool ram issue and what setting would I set to give the program a little more breathing room.

There isn't much you can do about P2Pool's RAM usage, as there is no user-accessible way to manage it.

You may refer to this guide if you're interested in tuning bitcoind's memory usage. Note that in Bitcoin Core 0.14.1 and later, the default dbcache value is 450, and not 300 as stated in the guide.
newbie
Activity: 12
Merit: 0
Thanks for the blockmaxweight tip - I was using the old suggestions.

>>>>>
Please ignore the bits that suggest setting and tuning a blockmaxsize value. The blockmaxsize parameter has been deprecated in favor of the blockmaxweight parameter, which you should set to a suggested maximum of 3950000.

If you have a system with a reasonably fast CPU (one with a base clock of at least 2.4 GHz) and at least 4 GB of RAM, you may want to try out jtoomim's 1mb_segwit fork, if you aren't already, which promises better overall performance and reward fairness. Using PyPy to run 1mb_segwit is highly recommended for maximum performance.
<<<<<
newbie
Activity: 12
Merit: 0
Thanks,

I have plenty of ram on this system, before I try a new fork would this be a bitcoind ram issue or p2pool ram issue and what setting would I set to give the program a little more breathing room.

thanks,
hero member
Activity: 496
Merit: 500
Is there a way to minimize or increase performance on either bitcoin or p2pool

Warning: LOST CONTACT WITH BITCOIND for 1.8 minutes! Check that it isn't frozen or dead

The stats on my p2pool for bitcoin are really slow

bitcoind and p2pool are running on the same machine

thx
Hi
Usually that's a RAM problem. You may want to install a 64 bit based OS so you can add more RAM or if
you have the budget you can rent a Vps.
Happy mining Wink
sr. member
Activity: 351
Merit: 410
Is there a way to minimize or increase performance on either bitcoin or p2pool

Warning: LOST CONTACT WITH BITCOIND for 1.8 minutes! Check that it isn't frozen or dead

The stats on my p2pool for bitcoin are really slow

bitcoind and p2pool are running on the same machine

thx

See gyverlb's guide for tips on how to maximize your P2Pool node's performance. It may be a little outdated, but most of the tips and pointers there still hold true today.

Please ignore the bits that suggest setting and tuning a blockmaxsize value. The blockmaxsize parameter has been deprecated in favor of the blockmaxweight parameter, which you should set to a suggested maximum of 3950000.

If you have a system with a reasonably fast CPU (one with a base clock of at least 2.4 GHz) and at least 4 GB of RAM, you may want to try out jtoomim's 1mb_segwit fork, if you aren't already, which promises better overall performance and reward fairness. Using PyPy to run 1mb_segwit is highly recommended for maximum performance.
newbie
Activity: 12
Merit: 0
Is there a way to minimize or increase performance on either bitcoin or p2pool

Warning: LOST CONTACT WITH BITCOIND for 1.8 minutes! Check that it isn't frozen or dead

The stats on my p2pool for bitcoin are really slow

bitcoind and p2pool are running on the same machine

thx
legendary
Activity: 1258
Merit: 1027
Hey Good afternoon!, I need some help as there is not a central support line. I believe my miner may not be running Getblock, I think it's running getwork. The pool shows that I'm connected and hashing, The Issue I'm having is that my miner is registering that Shares are being accepted but nothing registers under my payout address. Is there some time you have to wait, is there an error on my end, can anyone help me out, thanks!

P2Pool will accept (but not consider valid) shares below the minimum difficulty in order to better estimate your hashrate and payout.

It should give you an estimated time to share after your hash rate has been established.

Until you submit a share that meets the minimum difficulty, and the pool subsequently finds a block, you will not receive a payout.
legendary
Activity: 3234
Merit: 1220
Hey Good afternoon!, I need some help as there is not a central support line. I believe my miner may not be running Getblock, I think it's running getwork. The pool shows that I'm connected and hashing, The Issue I'm having is that my miner is registering that Shares are being accepted but nothing registers under my payout address. Is there some time you have to wait, is there an error on my end, can anyone help me out, thanks!

What hardware are you mining with?
hero member
Activity: 496
Merit: 500
P2Pool.org fan here


https://www.youtube.com/watch?v=-OTryGzS-G8

                        People one more time

                       https://imgur.com/a/0Jj5x
donator
Activity: 4760
Merit: 4323
Leading Crypto Sports Betting & Casino Platform
I miss a p2pool summary website for p2pool/master sharechain so I setup my own. It bases on p2pool.in website with minor changes I find more interesting.

https://nastyfans.org/p2pool

The URL is the only reference to nastyfans. The page content is dedicated to P2Pool.

Thank you for this.  I like.  Smiley
newbie
Activity: 41
Merit: 0
Running on any node is better then supporting centralization like antpool. Some people don’t have the technical expertise to get these setup

It would also help if the instructions to set-up a node were more detailed, less fragmented, and actually included the steps and actual dependencies needed for each distro. Each time I set-up a node in the past, it's was a pain because I didn't write down everything that was needed, and I just had to keep installing new dependencies after each error. I did post the dependencies for new Ubuntu install a while back, but I think it was just ignored.

I'm giving up on P2Pool. It was a great idea, and my node did donate, but I think most did not, and that is probably why the developer doesn't seem to give a shit. Props to Jtoomim for trying to fix its shortcomings, but I was never included as part of a valid block - a couple of orphans I guess and an invalid block, but no payout. It could be successful with a little effort on the front-end, but it looks like that isn't desired. It would be nice to keep Bitcoin decentralized, but it seems like that is no longer a priority either.

Sory for the rant, it's just how I feel.
legendary
Activity: 1308
Merit: 1011
https://github.com/p2pool/p2pool/issues/364

The 'getinfo' method is excluded from the latest versions of the bitcoin core wallet.
https://github.com/p2pool/p2pool does not work with the latest versions of the wallet https://github.com/bitcoin/bitcoin

This causes an error when running p2pool:
Code:
Error while checking Bitcoin connection:
Traceback (most recent call last):
  File "/usr/local/lib/pypy2.7/dist-packages/twisted/internet/defer.py", line 587, in _runCallbacks
    current.result = callback(current.result, *args, **kw)
  File "/usr/local/lib/pypy2.7/dist-packages/twisted/internet/defer.py", line 1241, in gotResult
    _inlineCallbacks(r, g, deferred)
  File "/usr/local/lib/pypy2.7/dist-packages/twisted/internet/defer.py", line 1183, in _inlineCallbacks
    result = result.throwExceptionIntoGenerator(g)
  File "/usr/local/lib/pypy2.7/dist-packages/twisted/python/failure.py", line 389, in throwExceptionIntoGenerator
    return g.throw(self.type, self.value, self.tb)
--- ---
  File "/opt/sha256d/p2pool-btc/p2pool/util/deferral.py", line 41, in f
    result = yield func(*args, **kwargs)
  File "/usr/local/lib/pypy2.7/dist-packages/twisted/internet/defer.py", line 1183, in _inlineCallbacks
    result = result.throwExceptionIntoGenerator(g)
  File "/usr/local/lib/pypy2.7/dist-packages/twisted/python/failure.py", line 389, in throwExceptionIntoGenerator
    return g.throw(self.type, self.value, self.tb)
  File "/opt/sha256d/p2pool-btc/p2pool/bitcoin/helper.py", line 17, in check
    version_check_result = net.VERSION_CHECK((yield bitcoind.rpc_getinfo())['version'])
  File "/usr/local/lib/pypy2.7/dist-packages/twisted/internet/defer.py", line 1183, in _inlineCallbacks
    result = result.throwExceptionIntoGenerator(g)
  File "/usr/local/lib/pypy2.7/dist-packages/twisted/python/failure.py", line 389, in throwExceptionIntoGenerator
    return g.throw(self.type, self.value, self.tb)
  File "/opt/sha256d/p2pool-btc/p2pool/util/jsonrpc.py", line 133, in _http_do
    raise Error_for_code(resp['error']['code'])(resp['error']['message'], resp['error'].get('data', None))
p2pool.util.jsonrpc.NarrowError: -32601 Method not found
newbie
Activity: 74
Merit: 0
Quick question, as I am new to P2Pool.

Ok so my company is running 4 full nodes. One is VertCoin and I have P2Pool handling that. Next, I mine with Nicehash and decided to try to increase revenue by using my BTC earning to buy hash power and mine to my P2Pool (Lyra2REV2) pool. But i screwed up. I used my Nicehash BTC address instead of my VertCoin wallet address. I see my shares sitting there in the pool stats page.

Is there anyway for me to recover these to my VertCoin wallet or do I just live and learn?
Pages:
Jump to: