Author

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

hero member
Activity: 924
Merit: 1000
Watch out for the "Neg-Rep-Dogie-Police".....
Alas the p2pool end is not exactly playing ball with the avalons though, and I'm not touching the p2pool code itself, just trying to make Avalons work well and be prepared to work with p2ool design, assuming p2pool scales and does all the right things. The current p2pool git master does not meet that criteria, and Aseras himself has been playing with that as you can see above.

Appreciate all your hard work ckolivas, fair play to you.  Can I ask you what, in your experienced opinion, do you think needs to be done to the p2pool code/program in order for it to play nicely with avalons/stratum? In laymans terms if possible please..... Wink
legendary
Activity: 2576
Merit: 2267
1RichyTrEwPYjZSeAYxeiFBNnKC9UjC5k
My miners are using the noob/sauce user & password but I did use the -a option to set the address to my bitcoinspinner wallet.
bitcoinspinner? do you know if that wallet can receive generated coin? you should confirm that before you mine to that wallet.

-- Smoov


I had no idea that one could not. I will try without setting the address later and see if that helps any.
hero member
Activity: 504
Merit: 500
Scattering my bits around the net since 1980
My miners are using the noob/sauce user & password but I did use the -a option to set the address to my bitcoinspinner wallet.
bitcoinspinner? do you know if that wallet can receive generated coin? you should confirm that before you mine to that wallet.

-- Smoov
hero member
Activity: 516
Merit: 643
My miners are using the noob/sauce user & password but I did use the -a option to set the address to my bitcoinspinner wallet.

Hm. Litecoin mining?
legendary
Activity: 2576
Merit: 2267
1RichyTrEwPYjZSeAYxeiFBNnKC9UjC5k
I think I'm mining. My miners look like they are mining. Fans are spinning high and the room is getting warm. Yet the top graph is flat at zero even on the hour view. Is this supposed to be the case?

Local rate on main page also says 0. What is happening to the MH/s that my miners are claiming?

If your miners have a Bitcoin address username, this will happen. Those graphs and numbers are for the main address, which defaults to one requested from bitcoind and can be set with the -a option on P2Pool. Letting P2Pool manage the payout address is the recommended course.

However, your local rate and current payout should show up under the "Miners" header on the graphs page.

My miners are using the noob/sauce user & password but I did use the -a option to set the address to my bitcoinspinner wallet.
hero member
Activity: 516
Merit: 643
I think I'm mining. My miners look like they are mining. Fans are spinning high and the room is getting warm. Yet the top graph is flat at zero even on the hour view. Is this supposed to be the case?

Local rate on main page also says 0. What is happening to the MH/s that my miners are claiming?

If your miners have a Bitcoin address username, this will happen. Those graphs and numbers are for the main address, which defaults to one requested from bitcoind and can be set with the -a option on P2Pool. Letting P2Pool manage the payout address is the recommended course.

However, your local rate and current payout should show up under the "Miners" header on the graphs page.
legendary
Activity: 2576
Merit: 2267
1RichyTrEwPYjZSeAYxeiFBNnKC9UjC5k
I think I'm mining. My miners look like they are mining. Fans are spinning high and the room is getting warm. Yet the top graph is flat at zero even on the hour view. Is this supposed to be the case?

Local rate on main page also says 0. What is happening to the MH/s that my miners are claiming?
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
Alas the p2pool end is not exactly playing ball with the avalons though, and I'm not touching the p2pool code itself, just trying to make Avalons work well and be prepared to work with p2ool design, assuming p2pool scales and does all the right things. The current p2pool git master does not meet that criteria, and Aseras himself has been playing with that as you can see above.
legendary
Activity: 3878
Merit: 1193
I've spent quite a bit of time hacking on the Avalon(s) the last few days thanks to Aseras and then Xiangfu giving me access to them. I've come to the conclusion that any latency issues that prevent it mining on p2pool should be resolved in the next cgminer release incorporating the changes I've committed to the code. The max latency for restart should be on the order of 100ms now which is fine even for 10s longpolls. Hopefully it will talk to p2pool better via stratum as well.

Truly impressive. I can't wait to see a bunch of ASICs join p2pool.
-ck
legendary
Activity: 4088
Merit: 1631
Ruu \o/
I've spent quite a bit of time hacking on the Avalon(s) the last few days thanks to Aseras and then Xiangfu giving me access to them. I've come to the conclusion that any latency issues that prevent it mining on p2pool should be resolved in the next cgminer release incorporating the changes I've committed to the code. The max latency for restart should be on the order of 100ms now which is fine even for 10s longpolls. Hopefully it will talk to p2pool better via stratum as well.
newbie
Activity: 42
Merit: 0


I'm really working on p2pool, quickly coming up to speed in python right now mostly it's just hacks and workarounds to make it work. I may make a public fork, but considering my recent experiment and crashing the terracoin network for a day, I'll hold off Cheesy


It's looking like you broke it worse than that since the difficulty swung back and forth, but in a way you've now exposed the fact that a rolling daily average for difficulty was not the proper way to fix the underlying issue Cheesy  EDIT: Actually, it seems to be stuck for 5+ hours right now, other miners abandoned it because difficulty got too high. Maybe a few minutes on with your avalon it to get some blocks moving again would help things.



Unrelated question for anyone - I've not had a chance to peruse the P2Pool source. How hard is it to add other coin networks? With TRC dying/dead a day after I decided to point a miner at it for the first time, I'm curious to see how things like nvc & ppc perform, but the pools I've tried are fairly unstable.
legendary
Activity: 2576
Merit: 2267
1RichyTrEwPYjZSeAYxeiFBNnKC9UjC5k
Well, in a case of "when you have eliminated the impossible, whatever remains, however improbable, must be the truth", I turned off QOS on my router (Tomato based) and though it's still now downloading shares, the output now gives me a lot more confidence. Odd as though it wasn't in the top tier, it should still have had plenty of bandwidth. Oh well. Hope to be mining in the pool asap. I'll get around to debugging the QOS when I can.

Edit: now mining. Yay!
hero member
Activity: 658
Merit: 500
Do Avalon ASICs work with p2pool out of the box?  If not, does anyone know what settings need to be used?
Thanks!

simple answer, yes. long answer no, you need a special build of p2pool and the firmware we have made to fix delays and absurd long poll wait times because of the avalon driver built in delays.

To those just joining the conversation, no p2pool or cgminer developer had access to an avalon until a user, Aseras, graciously donated his machine time to a cgminer developer this week. All avalon owners owe him a thank you for working out the new firmware and contributions to the cgminer code (that has not been released yet) along with ckolivas.

test firmware is available. PM me if anyone wants it. it has a newer cgminer 2.10.5a build that has some tweaks and bugfixes and seems to be much more stable. it has better longpoll and less delay, making p2pool slightly better but still > 20% DOA. efficiency is up to 95% or so, but so many rejects and DOA on p2pool.

based off of latest gits by xiangfu and ckolivas. It is basically following these directions https://en.bitcoin.it/wiki/Avalon ( which don't work yet BTW debugging with xiangfu to make them idiot proof )

development should continue slowly. trying to work out things.

I'm really working on p2pool, quickly coming up to speed in python right now mostly it's just hacks and workarounds to make it work. I may make a public fork, but considering my recent experiment and crashing the terracoin network for a day, I'll hold off Cheesy

ckolivas is trying to get code better as much as possible and xiangfu is doing them same plus bugfixes and better avalon drivers internally.
member
Activity: 86
Merit: 10
This error CAN jump when you connect new miner, but it is harmless.
Try compile latest git, it is fixed.

I was hoping it was harmless so i let it run for 20 minutes the issue is that it appears to not be harmless as the local hashing power never reports anything other than 0 mhs.

as for compiling the latest git i do not have teh smarts to do such a thing and i am running the latest windows binary on the github.
legendary
Activity: 1361
Merit: 1003
Don`t panic! Organize!
This error CAN jump when you connect new miner, but it is harmless.
Try compile latest git, it is fixed.
member
Activity: 86
Merit: 10
HELP:

I was a previous user of p2pool with no problems for months; i used it on bitcoin as well as litecoin and terracoin;

I did  afresh re-install of windows re-downloaded and set-up my coins and p2pool etc.

P2pool launches with no error and connects to the network.

When i launch my  miner to connect it connects and finds the p2pool network but results in this error and no shares are submitted. please help!!!



Thank you for the help!!
legendary
Activity: 2576
Merit: 2267
1RichyTrEwPYjZSeAYxeiFBNnKC9UjC5k
What coin are you trying to mine, and what --network do you have p2pool set up for?

-- Smoov



Bitcoin. I didn't do any --network, running it with no options.

When I go to the graphs, they are mostly flatline except the traffic rate and latency graphs show activity.
hero member
Activity: 504
Merit: 500
Scattering my bits around the net since 1980
What coin are you trying to mine, and what --network do you have p2pool set up for?

-- Smoov
legendary
Activity: 2576
Merit: 2267
1RichyTrEwPYjZSeAYxeiFBNnKC9UjC5k
But there is definitely some communication going on as well. I ran the wireshark. Unfortunately the connection is not human readable but it seems I did maintain a connection to one host for at least a while. I've gone ahead and just deleted the whole p2pool thing completely and started again with a fresh download. It may also be worth trying on another Windows machine too (though that is not a long term solution)
sr. member
Activity: 454
Merit: 252
I wish this was working for me. I'm a big fan of p2p technologies but despite watching messages scroll up my screen for the past few days, I'm still unable to participate. No apparent way to tell if things are healthy or not. I appear to be connected to a number of peers, I have my port forwarded, I'm running the downloaded windows binary, it should be a straight-shot as far as I can see but nope.

Am I really the only one having troubles or are others trying and just walking away? Is anyone driving this thing?

can't you just see if it's working from the log file in the p2pool/data/bitcoin directory?

what exactly is the issue, getting like 100% stales, can't mine on your own node, or?

Here's his problem (on the previous page of this thread) - it appears that he connects to peers then they timeout.


Well, I appear to be connected to about 7 peers today but it's all time-outs and handshake time-outs. I guess I'll check to make sure my network is OK but I haven't had any issues with anything else. If nothing else, it's probably about time I installed wireshark anyway.

Quote
2013-04-04 19:37:08.886000 Outgoing connection to peer x.x.x.x:9333 establi
shed. p2pool version: 1100 '11.2-8-g896c9ed'
2013-04-04 19:37:09.216000 Outgoing connection to peer y.y.y.y:9333 establis
hed. p2pool version: 1100 'unknown 666f7272657374762d7032706f6f6c2d3935643038386
2'
2013-04-04 19:37:09.794000 P2Pool: 0 shares in chain (0 verified/170 total) Peer
s: 6 (0 incoming)
2013-04-04 19:37:09.794000  Local: 0H/s in last 0.0 seconds Local dead on arriva
l: Huh Expected time to share: Huh
2013-04-04 19:37:10.956000 Share request timed out!
2013-04-04 19:37:10.956000 Requesting parent share 052a965f from z.z.z.z:9
333
2013-04-04 19:37:13.502000 Outgoing connection to peer q.q.q.q:9333 establ
ished. p2pool version: 1100 '11.2'
2013-04-04 19:37:15.232000 > in handle_share_hashes:
2013-04-04 19:37:15.232000 > Traceback (most recent call last):
2013-04-04 19:37:15.233000 > Failure: twisted.internet.defer.TimeoutError: in Ge
nericDeferrer
2013-04-04 19:37:15.261000 Outgoing connection to peer w.w.w.w:9333 establ
ished. p2pool version: 1100 '11.2-8-g896c9ed-dirty'
2013-04-04 19:37:15.794000 P2Pool: 0 shares in chain (0 verified/170 total) Peer
s: 8 (0 incoming)
2013-04-04 19:37:15.795000  Local: 0H/s in last 0.0 seconds Local dead on arriva
l: Huh Expected time to share: Huh
Jump to: