Author

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

legendary
Activity: 1500
Merit: 1002
Mine Mine Mine
may i humbly ask for a updated step by step noob proof guide on pypy ?
full member
Activity: 238
Merit: 100
Well when recoding p2pool, It would be Nice to solve the "payload too long" issue as well.

Does somebody know how to deal with this?  Huh  

Please check this post: https://bitcointalksearch.org/topic/m.10164796

 Roll Eyes

What is Your Bitcoind GetBlockTemplate Latency? Has You p2pool node external IP to see stats?
legendary
Activity: 4592
Merit: 1851
Linux since 1997 RedHat 4
...
I'm now mining straight to Trezor. I check with Trezor before I switched and they say generated tx is fine as long as you setup another account for generated tx. I think they're coming up with a fix to fix it but so far so good. Already got a few generated tx in Smiley

Spoke with Slush today, this has been fixed in the new firmware upgrade (the one that includes multi-sig). You can now mine to your main TREZOR account if you desire. When spending P2Pool payouts with less then 120 confirmations will not be included.
0.9 bitcoin is set to 100 (101 counting the block as '1')
legendary
Activity: 1258
Merit: 1027
...
I'm now mining straight to Trezor. I check with Trezor before I switched and they say generated tx is fine as long as you setup another account for generated tx. I think they're coming up with a fix to fix it but so far so good. Already got a few generated tx in Smiley

Spoke with Slush today, this has been fixed in the new firmware upgrade (the one that includes multi-sig). You can now mine to your main TREZOR account if you desire. When spending P2Pool payouts with less then 120 confirmations will not be included.
member
Activity: 97
Merit: 10
Well when recoding p2pool, It would be Nice to solve the "payload too long" issue as well.

Does somebody know how to deal with this?  Huh  

Please check this post: https://bitcointalksearch.org/topic/m.10164796

 Roll Eyes
sr. member
Activity: 248
Merit: 250
Are we there yet?
In all fairness, the huge memory use is not an issue for me and is a price worth paying for increased performance - which so far is the case. My DOA rate is lower so far, my latency is also lowering gradually & my recorded hash rate is slightly higher. So far so good.

It also shows how truly terrible & slow the standard python is for p2pool........

Nice!

Ok.. we need to post more in this thread.. hashrate is up to 3PH now Smiley
hero member
Activity: 686
Merit: 500
WANTED: Active dev to fix & re-write p2pool in C
In all fairness, the huge memory use is not an issue for me and is a price worth paying for increased performance - which so far is the case. My DOA rate is lower so far, my latency is also lowering gradually & my recorded hash rate is slightly higher. So far so good.

It also shows how truly terrible & slow the standard python is for p2pool........
sr. member
Activity: 248
Merit: 250
Are we there yet?

Perfect, that's what I needed - thanks  Smiley

See if you can spot where I changed over to pypy:.........



I'm running 16GB Ram, so it's OK. I'll see how it fares like this for a while  Wink

Told you... the p2pool WOW! signal....
hero member
Activity: 924
Merit: 1000
Watch out for the "Neg-Rep-Dogie-Police".....

Lol, that's insane... I'd like to see P2Pool re-writen in C, would be much more efficient and multithreaded Smiley

If anyone knows a C/Python/bitcoin master LMK Smiley
I'd like to see p2pool's flaws addressed as part of that rewrite Smiley.

Wouldn't we all.......about 2 years ago  Tongue
member
Activity: 166
Merit: 10
What's the command for running p2pool with pypy?  Tongue

screen -d -m -S p2pool pypy ~/p2pool/run_p2pool.py blah blah blah blah

check this https://bitcointalksearch.org/topic/m.10135870
then only replace python with pypy in your script
my is: screen -d -m -S p2pool-bitcoin pypy -O -E run_p2pool.py ...

Perfect, that's what I needed - thanks  Smiley

See if you can spot where I changed over to pypy:.........



I'm running 16GB Ram, so it's OK. I'll see how it fares like this for a while  Wink
I dont see where???
LMAO
legendary
Activity: 1344
Merit: 1024
Mine at Jonny's Pool

Lol, that's insane... I'd like to see P2Pool re-writen in C, would be much more efficient and multithreaded Smiley

If anyone knows a C/Python/bitcoin master LMK Smiley
I'd like to see p2pool's flaws addressed as part of that rewrite Smiley.
legendary
Activity: 1258
Merit: 1027
What's the command for running p2pool with pypy?  Tongue

screen -d -m -S p2pool pypy ~/p2pool/run_p2pool.py blah blah blah blah

check this https://bitcointalksearch.org/topic/m.10135870
then only replace python with pypy in your script
my is: screen -d -m -S p2pool-bitcoin pypy -O -E run_p2pool.py ...

Perfect, that's what I needed - thanks  Smiley

See if you can spot where I changed over to pypy:.........



I'm running 16GB Ram, so it's OK. I'll see how it fares like this for a while  Wink
LOL... I'm going to guess 9:37am server time! Tongue

So... massive increase in memory usage and increased GBT latency... yeah, sounds like pypy is the answer... /sarcasm

Lol, that's insane... I'd like to see P2Pool re-writen in C, would be much more efficient and multithreaded Smiley

If anyone knows a C/Python/bitcoin master LMK Smiley
legendary
Activity: 1344
Merit: 1024
Mine at Jonny's Pool
What's the command for running p2pool with pypy?  Tongue

screen -d -m -S p2pool pypy ~/p2pool/run_p2pool.py blah blah blah blah

check this https://bitcointalksearch.org/topic/m.10135870
then only replace python with pypy in your script
my is: screen -d -m -S p2pool-bitcoin pypy -O -E run_p2pool.py ...

Perfect, that's what I needed - thanks  Smiley

See if you can spot where I changed over to pypy:.........



I'm running 16GB Ram, so it's OK. I'll see how it fares like this for a while  Wink
LOL... I'm going to guess 9:37am server time! Tongue

So... massive increase in memory usage and increased GBT latency... yeah, sounds like pypy is the answer... /sarcasm
full member
Activity: 238
Merit: 100
What's the command for running p2pool with pypy?  Tongue

screen -d -m -S p2pool pypy ~/p2pool/run_p2pool.py blah blah blah blah

check this https://bitcointalksearch.org/topic/m.10135870
then only replace python with pypy in your script
my is: screen -d -m -S p2pool-bitcoin pypy -O -E run_p2pool.py ...

Perfect, that's what I needed - thanks  Smiley

See if you can spot where I changed over to pypy:.........



I'm running 16GB Ram, so it's OK. I'll see how it fares like this for a while  Wink

I have the same picture. Smiley
hero member
Activity: 686
Merit: 500
WANTED: Active dev to fix & re-write p2pool in C
What's the command for running p2pool with pypy?  Tongue

screen -d -m -S p2pool pypy ~/p2pool/run_p2pool.py blah blah blah blah

check this https://bitcointalksearch.org/topic/m.10135870
then only replace python with pypy in your script
my is: screen -d -m -S p2pool-bitcoin pypy -O -E run_p2pool.py ...

Perfect, that's what I needed - thanks  Smiley

See if you can spot where I changed over to pypy:.........



I'm running 16GB Ram, so it's OK. I'll see how it fares like this for a while  Wink
full member
Activity: 238
Merit: 100
What's the command for running p2pool with pypy?  Tongue

screen -d -m -S p2pool pypy ~/p2pool/run_p2pool.py blah blah blah blah

check this https://bitcointalksearch.org/topic/m.10135870
then only replace python with pypy in your script
my is: screen -d -m -S p2pool-bitcoin pypy -O -E run_p2pool.py ...
sr. member
Activity: 248
Merit: 250
Are we there yet?
What's the command for running p2pool with pypy?  Tongue

screen -d -m -S p2pool pypy ~/p2pool/run_p2pool.py blah blah blah blah
sr. member
Activity: 248
Merit: 250
Are we there yet?

u can move them temporarily to my pool while you are doing upgrades ?

i'll have a look at pypy but so far running on exe win version seems ok to me.

How do you do that? It's ok. I don't have the time to reset the node now anyway. Runny pypy seems faster but it's the getblock latency really goes well up. RAM is not an issue. I've been tinkering with it but just can't seem to get the latency down. Without pypy, latency is ~0.1-0.2s. With pypy goes up to 0.5s and above!
hero member
Activity: 686
Merit: 500
WANTED: Active dev to fix & re-write p2pool in C
....(memory usage went up too from 500MB+ to 1500MB+)...

Seriously!? 3 x more memory?

When I played with pypy, I got similar results. I concluded the initial efficiency was simply the number of peers going down.

The system python libraries appeared to be c-optimized though. If the libraries are not compiled, you may see more improvement.

Just tried pypy.. and wow.. the RAM usage is ... just wow. But it really does load faster. Start up p2pool on python and on pypy and you can really see the increase in speed in loading p2pool. Less DOA too and registered hashrate is faster, but even with matt's relay, the getblock latency increased (tested for around 16+ hours). Can we just rm all the .pyc files and will pypy be able run p2pool? Or is there something else we have to do?

What's the command for running p2pool with pypy?  Tongue
legendary
Activity: 1500
Merit: 1002
Mine Mine Mine
Running p2pool few days with pypy. Today I tried $ find -iwholename "*.pyc" -delete and rerun with pypy -O -E. Local rate: 8.49TH/s (1.3% DOA) (3*SP20,4*S3,1*S4). GBLatency 0.275s (running 0.9.4.0, qt version, ubuntu distro). RAM usage 2.19GB (there is 16GB total, I do not care). Subjectively it is better. Objectively we would need more miners using p2pool and to find some block! Smiley


hmm... Think I'll try that later. Can't do that now as there are others mining in my node. And yes.. what we really need it to get more ppl using p2pool to find blocks! Just wondering what it will take to make ppl understand they have to be patience and leave the miner running on the node for at least a week or 2 to see the results. I keep having ppl come in.. mine an hour and leave.. You're just wasting electricity doing that. Maybe have to add a link to the p2pool site maintained by coincadence. Or all of us running public node should add some info.

Lucky guy too. Within few seconds with 400gh, he got a share Smiley Well done.

u can move them temporarily to my pool while you are doing upgrades ?

i'll have a look at pypy but so far running on exe win version seems ok to me.
Jump to: