Author

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

newbie
Activity: 9
Merit: 0
Hi community, I have a instance of p2pool running on windows.  I used the latest git available via forestv.  The pool has been running all night, over 12 hours but when I submit a share to it, it doesn't contain any additional transaction fees in the share.  How does p2pool include the transaction fees in shares, and what am I missing to have them included in mine.  I have also followed the p2pool tuning post and have the min-max tx fees included in the bitcoin.conf file as well as server=1.  Any other tips before I move the node to a Linux install to see if that corrects the issue.  It should be also noted that im running the bitcoin-qt gui and mining the pool against that, perhaps I need to run the daemon? but no information on the web to say the gui client is limited vs the bitcoind.exe.  
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
So, the E8400 (2x3GHz) I took out of the machine would have been better than the Q6700 (4x2.66GHz) I put in.  Humph.  I forgot about the whole single threadedness of p2pool.
For p2pool yes, for bitcoind no. Yes I know, the pain...  Undecided

Pentium G2358 and overclock the snot out of it.   Two Haswell cores running at 3.7GHz or more should be able to do it, surely?
Yes that will run p2pool very nicely (don't forget SSD for bitcoin latency).
hero member
Activity: 1246
Merit: 501
So, the E8400 (2x3GHz) I took out of the machine would have been better than the Q6700 (4x2.66GHz) I put in.  Humph.  I forgot about the whole single threadedness of p2pool.
For p2pool yes, for bitcoind no. Yes I know, the pain...  Undecided

Pentium G2358 and overclock the snot out of it.   Two Haswell cores running at 3.7GHz or more should be able to do it, surely?
legendary
Activity: 1361
Merit: 1003
Don`t panic! Organize!
I was thinking, how to "pull  back" small miners (all miners?) to P2Pool and this is some assumptions for new version of share chain:
- we have 3-5 separate share chains
- each chain has own min and max share power/diff (let say sc1 is from 1k to 10k, sc2 11k-100k, 101k-1M etc)
- each share have flag, that tells it is already used/paid or not
- when user find a share in one of lower chains, earlier share is marked as used and power of new share and old share is summarized (we can`t pay from lowest chain directly because of dust threshold) 
- once power or his share reach chain threshold he need to find one stronger share to bump it to higher chain till it reach one that can be paid
- each miner (payout address) starts in highest chain for 1-10 mins that node can recognize its hash rate and select proper chain/diff for him
- goal is, that every miner found share every 1/10 -1/2 block ETA time

Pros:
- share chain length can be reduced because of "summing" thing, every miner can/need have 2 active shares in each chain, no more need
- no more "wasted work" when block time exceeds share chain length - new share sum power of last share and current, oldest share can be removed from payout computations
- virtually any miner can mine
- big miners are in high power chains that small miners can easily participate in mining

Cons:
- more P2P data overhead (more chains to transmit)
- more CPU overhead: more data to analyze to create payout tx, more job to be done when share found


Sadly, I`m too small in Python tot try implement that.

@forrestv: can this work? B-)
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
So, the E8400 (2x3GHz) I took out of the machine would have been better than the Q6700 (4x2.66GHz) I put in.  Humph.  I forgot about the whole single threadedness of p2pool.
For p2pool yes, for bitcoind no. Yes I know, the pain...  Undecided
hero member
Activity: 1246
Merit: 501
So, the E8400 (2x3GHz) I took out of the machine would have been better than the Q6700 (4x2.66GHz) I put in.  Humph.  I forgot about the whole single threadedness of p2pool.
legendary
Activity: 3430
Merit: 3083
I say that because I'm pretty sure I've seen a single threaded VM with high CPU usage, yet the underlying OS has low CPU usage spread across multiple threads.
That's pretending to be one guest core by serialising from one host core to another (i.e. jumping around). There is no way to parallelise serial work.

Ah.  I see your point.

M

Remember what single core machines do when you throw too many simultaneous requests at the OS; they slow down in response to the point where you can notice the CPU interrupts as a flicker in your hourglass-locked mouse pointer. Now recall that machines with multicore CPUs never behave that way when given multiple different tasks, and also that you haven't seen an hourglass mouse pointer since the day you ditched your last single core machine
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
All going well I'm going to be helping drop the biggest mine onto p2pool yet over the next day. Watch for it  Wink

Where do you keep finding them?........ Cheesy
People approach me for driver/mining/pool/software solutions based on what I've been providing online, I just don't really advertise it as such. Said p2pool deployment was delayed a couple of days, but it's still planned.
legendary
Activity: 1540
Merit: 1001
I say that because I'm pretty sure I've seen a single threaded VM with high CPU usage, yet the underlying OS has low CPU usage spread across multiple threads.
That's pretending to be one guest core by serialising from one host core to another (i.e. jumping around). There is no way to parallelise serial work.

Ah.  I see your point.

M
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
I say that because I'm pretty sure I've seen a single threaded VM with high CPU usage, yet the underlying OS has low CPU usage spread across multiple threads.
That's pretending to be one guest core by serialising from one host core to another (i.e. jumping around). There is no way to parallelise serial work.
legendary
Activity: 1540
Merit: 1001
Looking forward to someone rewriting p2pool, I was running it earlier on a Q6700, and was getting terrible latency - one core was flat out. Sad  Single threaded .exe sucks.  A Core2Quad 2.66GHz with 6GB RAM should be able to totally maul p2pool.

Would running it in a VM with 1 thread help?  I've often theorized that a VM with 1 thread on a multicore machine performs better than on the multicore machine, as those multiple threads are used to run the "one" thread in the VM.

But I never actually tried it.
Only outright core speed matters since p2pool is in python which is single threaded. The faster the cores are the better. Having many cores does nothing as there is no way to "add them up". In fact, on an otherwise lightly loaded system, if you have a hyperthread CPU, disabling hyperthread in the BIOS will speed up python.

I say that because I'm pretty sure I've seen a single threaded VM with high CPU usage, yet the underlying OS has low CPU usage spread across multiple threads.

M
hero member
Activity: 924
Merit: 1000
Watch out for the "Neg-Rep-Dogie-Police".....
I find using niceness helps on Ubuntu too, -10 for both python & Bitcoind......
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
Looking forward to someone rewriting p2pool, I was running it earlier on a Q6700, and was getting terrible latency - one core was flat out. Sad  Single threaded .exe sucks.  A Core2Quad 2.66GHz with 6GB RAM should be able to totally maul p2pool.

Would running it in a VM with 1 thread help?  I've often theorized that a VM with 1 thread on a multicore machine performs better than on the multicore machine, as those multiple threads are used to run the "one" thread in the VM.

But I never actually tried it.
Only outright core speed matters since p2pool is in python which is single threaded. The faster the cores are the better. Having many cores does nothing as there is no way to "add them up". In fact, on an otherwise lightly loaded system, if you have a hyperthread CPU, disabling hyperthread in the BIOS will speed up python.
legendary
Activity: 1540
Merit: 1001
Looking forward to someone rewriting p2pool, I was running it earlier on a Q6700, and was getting terrible latency - one core was flat out. Sad  Single threaded .exe sucks.  A Core2Quad 2.66GHz with 6GB RAM should be able to totally maul p2pool.

Would running it in a VM with 1 thread help?  I've often theorized that a VM with 1 thread on a multicore machine performs better than on the multicore machine, as those multiple threads are used to run the "one" thread in the VM.

But I never actually tried it.

M
sr. member
Activity: 252
Merit: 250
Coin Developer - CrunchPool.com operator
Looking forward to someone rewriting p2pool, I was running it earlier on a Q6700, and was getting terrible latency - one core was flat out. Sad  Single threaded .exe sucks.  A Core2Quad 2.66GHz with 6GB RAM should be able to totally maul p2pool.
If you have tons of clients hashing at high hashrates, run several p2pool instances and load-balance with iptables or something.
hero member
Activity: 924
Merit: 1000
Watch out for the "Neg-Rep-Dogie-Police".....
Can't see it happening tbh. I can't see Bitmain keeping their promise about doing something with it either......
hero member
Activity: 1246
Merit: 501
Looking forward to someone rewriting p2pool, I was running it earlier on a Q6700, and was getting terrible latency - one core was flat out. Sad  Single threaded .exe sucks.  A Core2Quad 2.66GHz with 6GB RAM should be able to totally maul p2pool.
hero member
Activity: 924
Merit: 1000
Watch out for the "Neg-Rep-Dogie-Police".....
All going well I'm going to be helping drop the biggest mine onto p2pool yet over the next day. Watch for it  Wink

Where do you keep finding them?........ Cheesy
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
All going well I'm going to be helping drop the biggest mine onto p2pool yet over the next day. Watch for it  Wink
legendary
Activity: 1540
Merit: 1001
For the last block found (325976), I received a payment much higher than normal or expected.  I'm definitely not complaining.  This is great! Smiley   But I want to understand why?  The payout tab showed the normal expected amount, by my payment was 4x that amount.  Anyone know why this could happen?

Edit:  To add a bit more info.  My P2Pool server and default payout address is a different address.  I'm talking about my mining address only.

Usually that means you found the block.

M

Wow!  You are right.  First time ever.  I didn't even notice!  lol

2014-10-18 22:43:49.668550 GOT BLOCK FROM MINER! Passing to bitcoind! https://blockchain.info/block/00000000000000001928
73ad7facbe0898a86dc8426702c5bf19e37e7f93380b

Grats! Smiley

M
Jump to: