Bitcoin Forum
April 16, 2024, 06:16:13 PM *
News: Latest Bitcoin Core release: 26.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 ... 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 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 ... 814 »
  Print  
Author Topic: [1500 TH] p2pool: Decentralized, DoS-resistant, Hop-Proof pool  (Read 2591608 times)
smoothrunnings
Hero Member
*****
Offline Offline

Activity: 616
Merit: 500


View Profile
January 20, 2014, 01:56:10 AM
 #7481


It's working for me so far Rick, knock on wood.

You could always block or turn off port 9333 as a temporary measure and enable it later.

I should look at the code but I thought it would block the peer that sends bad shares before it went into it's loop that kills everything.  I have a monit script setup to restart it when it starts to act up. Unfortunately Apple AirPorts cut the connection for a minute or so when changing that level of settings.  I could just add an iptables rule..



Sounds like something I should find for openSUSE; the script that restarts it when something acts up.
Remember that Bitcoin is still beta software. Don't put all of your money into BTC!
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1713291373
Hero Member
*
Offline Offline

Posts: 1713291373

View Profile Personal Message (Offline)

Ignore
1713291373
Reply with quote  #2

1713291373
Report to moderator
1713291373
Hero Member
*
Offline Offline

Posts: 1713291373

View Profile Personal Message (Offline)

Ignore
1713291373
Reply with quote  #2

1713291373
Report to moderator
1713291373
Hero Member
*
Offline Offline

Posts: 1713291373

View Profile Personal Message (Offline)

Ignore
1713291373
Reply with quote  #2

1713291373
Report to moderator
smoothrunnings
Hero Member
*****
Offline Offline

Activity: 616
Merit: 500


View Profile
January 20, 2014, 02:56:21 AM
 #7482

There is currently a problem and a fix is being worked on. For now, refusing incoming connections (--max-conns 0) is a temporary solution. Expect more news in the next half hour.

Just had it happen to me after applying the fix a couple of hours ago. I have added --max-conns 0 to my startup until a more perminate fix is found.

Thanks,
oldbushie
Member
**
Offline Offline

Activity: 94
Merit: 10


View Profile
January 20, 2014, 03:16:51 AM
 #7483

Yeah I had another drop 2 hours after I pulled from git.

ikolubr
Newbie
*
Offline Offline

Activity: 18
Merit: 0


View Profile
January 20, 2014, 04:09:15 AM
 #7484

Here is working fine so far!  Cheesy
zvs
Legendary
*
Offline Offline

Activity: 1680
Merit: 1000


https://web.archive.org/web/*/nogleg.com


View Profile WWW
January 20, 2014, 12:33:37 PM
 #7485



You're comparing with others in p2pool.  I'm comparing with non p2pool.

M

You could think in p2pool way.
If your good share rate is higher/lower than others in p2pool,
your average income is higher/lower than others in non-p2pool.
Then take low miner fee, tx fee, p2p, and coinbase tx as pros, and higher variance as cons.


Also, unless things have changed, p2pool can not be reliably run on a home DSL connection.  That means folks like myself have to use a public node or suffer higher than normal rejects (and normal is high enough thank you!).  That means you have two choices: trust the op of that public node, or get higher rejects.  Both negate two supposed benefits of p2pool.

M

The pool I ran for bitcoins averaged ~110-115% efficiency, but that was on a dedicated server (not a VPS) in Germany with 1gbit/1gbit switch (200mbps guaranteed but in practice could 99% of the time get 80MB/s + ).  Averaged around 3-5% DOA for me and about 2-4% orphans.

When I initially tried to set up my home connection, I was getting around 0-1% DOA and 15-20% orphans.  A few percentage of the orphan rate was from being in the US instead of France/Germany/Netherlands where most of these dedicated servers & VPS are running.  Most was from my 768kbps upstream cap.

Later on I was able to set it up w/ 0-1% DOA and an orphan rate under 10% (though it still wasn't as good as just using German remote server, after share time got changed to 30s)... anyway, the deal is, just have bitcoind connect to 1 or 2 servers & also your p2pool node need only connect to a handful of servers...  you just have to pick the right ones.  I have no clue what those are anymore.  (ie, change outgoing connections to 0 and handpick the servers to connect to)

ed: i think you can find a VPS for a couple of bucks to run a bitcoind relay on
bitpop
Legendary
*
Offline Offline

Activity: 2912
Merit: 1060



View Profile WWW
January 20, 2014, 01:18:45 PM
 #7486

Try the most recent commit (012a8830), if you can. It bans peers that send invalid shares (for an hour), so it should help.

Do I need to restart the p2pool or just a git pull should work?

Thank you.

go into p2pool directory and do a git pull then restart



Finally someone with a brain who spelled it out, what to do! LOL

Thanks for your help! Smiley

Wait so you know how to do that but my mention of running last commit didn't trigger this?

Obviously you haven't been paying attention in the other thread on setting up P2Pool? I have only had my pool setup for uhm, close to 24 hours now. With the questions I was asking its obvious I didn't know much about linux otherwise I would have been done ages ago. Thanks to the guys over at the openSUSE forum who did a great job at translating the ubuntu mumbo jumbo stuff into openSUSE. Smiley

It would have been more simpler if you had said.. run git pull on p2pool instead of saying it the other way. LOL

There is no need to complicate your life and the life of others. Smiley

Thanks,

Sorry that's cuz I don't know how to do it that far

mdude77
Legendary
*
Offline Offline

Activity: 1540
Merit: 1001



View Profile
January 20, 2014, 01:54:27 PM
 #7487

The pool I ran for bitcoins averaged ~110-115% efficiency, but that was on a dedicated server (not a VPS) in Germany with 1gbit/1gbit switch (200mbps guaranteed but in practice could 99% of the time get 80MB/s + ).  Averaged around 3-5% DOA for me and about 2-4% orphans.

When I initially tried to set up my home connection, I was getting around 0-1% DOA and 15-20% orphans.  A few percentage of the orphan rate was from being in the US instead of France/Germany/Netherlands where most of these dedicated servers & VPS are running.  Most was from my 768kbps upstream cap.

Later on I was able to set it up w/ 0-1% DOA and an orphan rate under 10% (though it still wasn't as good as just using German remote server, after share time got changed to 30s)... anyway, the deal is, just have bitcoind connect to 1 or 2 servers & also your p2pool node need only connect to a handful of servers...  you just have to pick the right ones.  I have no clue what those are anymore.  (ie, change outgoing connections to 0 and handpick the servers to connect to)

ed: i think you can find a VPS for a couple of bucks to run a bitcoind relay on

That's a decent idea about running a VPS for a bitcoind relay.  I could stick p2pool on there too while I'm at it.

It still doesn't solve the high share difficulty problem though.

M

I mine at Kano's Pool because it pays the best and is completely transparent!  Come join me!
nreal
Full Member
***
Offline Offline

Activity: 932
Merit: 100


arcs-chain.com


View Profile
January 20, 2014, 02:08:05 PM
 #7488

The pool I ran for bitcoins averaged ~110-115% efficiency, but that was on a dedicated server (not a VPS) in Germany with 1gbit/1gbit switch (200mbps guaranteed but in practice could 99% of the time get 80MB/s + ).  Averaged around 3-5% DOA for me and about 2-4% orphans.

When I initially tried to set up my home connection, I was getting around 0-1% DOA and 15-20% orphans.  A few percentage of the orphan rate was from being in the US instead of France/Germany/Netherlands where most of these dedicated servers & VPS are running.  Most was from my 768kbps upstream cap.

Later on I was able to set it up w/ 0-1% DOA and an orphan rate under 10% (though it still wasn't as good as just using German remote server, after share time got changed to 30s)... anyway, the deal is, just have bitcoind connect to 1 or 2 servers & also your p2pool node need only connect to a handful of servers...  you just have to pick the right ones.  I have no clue what those are anymore.  (ie, change outgoing connections to 0 and handpick the servers to connect to)

ed: i think you can find a VPS for a couple of bucks to run a bitcoind relay on

That's a decent idea about running a VPS for a bitcoind relay.  I could stick p2pool on there too while I'm at it.

It still doesn't solve the high share difficulty problem though.

M

Youre right on this, and because sharedif is so high - there will be less and less new users. Its impossible to try to get the best out of p2pool with lets say 120gh when you get from 0 to 3 shares a day.

Sad but this is it. Or is this shit.

► ARCS ◄ ♦ ARCS - The New World Token (*Listed on KuCoin) ♦ ► ARCS ◄
───●●───●●───●●───●●───●●─[   Bounty Detective   ]─●●───●●───●●───●●───●●───
Website|Twitter|Medium|Telegram|Whitepaper
alanwgeorge
Newbie
*
Offline Offline

Activity: 16
Merit: 0


View Profile
January 20, 2014, 03:35:11 PM
 #7489

Try the most recent commit (012a8830), if you can. It bans peers that send invalid shares (for an hour), so it should help.

Downloaded latest: git clone https://github.com/forrestv/p2pool.git

Been up for about 16 hours now.  Had one incident about an hour in, but it's been clean since then.

Thanks!
-alan
oldbushie
Member
**
Offline Offline

Activity: 94
Merit: 10


View Profile
January 20, 2014, 03:46:14 PM
 #7490

When is it safe to try removing --max-conns=0?

bkminer
Full Member
***
Offline Offline

Activity: 216
Merit: 100

Don't let the nam-shub in your operating system.


View Profile
January 20, 2014, 04:40:48 PM
Last edit: January 20, 2014, 05:38:23 PM by bkminer
 #7491

Is anyone else seeing errors in the p2pool log when they hit the graphs.html page?

Code:
2014-01-20 11:31:31.292469 > Error in DeferredResource handler:
2014-01-20 11:31:31.292658 > Traceback (most recent call last):
2014-01-20 11:31:31.292756 >   File "/home/rick/p2pool/p2pool/util/deferred_resource.py", line 24, in render
2014-01-20 11:31:31.292832 >     defer.maybeDeferred(resource.Resource.render, self, request).addCallbacks(finish, finish_error)
2014-01-20 11:31:31.292915 >   File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 134, in maybeDeferred
2014-01-20 11:31:31.292987 >     result = f(*args, **kw)
2014-01-20 11:31:31.293057 >   File "/usr/lib/python2.7/dist-packages/twisted/web/resource.py", line 216, in render
2014-01-20 11:31:31.293172 >     return m(request)
2014-01-20 11:31:31.293245 >   File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1181, in unwindGenerator
2014-01-20 11:31:31.293319 >     return _inlineCallbacks(None, gen, Deferred())
2014-01-20 11:31:31.293407 > --- <exception caught here> ---
2014-01-20 11:31:31.293482 >   File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1039, in _inlineCallbacks
2014-01-20 11:31:31.293569 >     result = g.send(result)
2014-01-20 11:31:31.293658 >   File "/home/rick/p2pool/p2pool/web.py", line 189, in render_GET
2014-01-20 11:31:31.293748 >     res = yield self.func(*self.args)
2014-01-20 11:31:31.293826 >   File "/home/rick/p2pool/p2pool/web.py", line 444, in <lambda>
2014-01-20 11:31:31.293913 >     new_root.putChild('graph_data', WebInterface(lambda source, view: hd.datastreams[source].datavie ws[view].get_data(time.time())))
2014-01-20 11:31:31.293993 > exceptions.KeyError: 'last_Hour'

Edit: my lack of python experience, which I will have to fix
ksenter
Member
**
Offline Offline

Activity: 90
Merit: 10


View Profile
January 20, 2014, 06:58:48 PM
 #7492

Just for comparison... since the common belief is that the high variance and high share difficulty doesn't affect your payout, let's compare.

I have 38GH/s.  It's a cube, I brought it online almost 13 days ago, pointing to BTC Guild.  Since then my total payout has been 0.12764.  According to BTCGuild stats, we're at 99.7% luck for the last 14 days, so I'm pretty close to "average" payout.  I'm not counting the ~0.21 NMC I've earned.

Can someone who has significantly larger hashrate post their comparison?  Ie, what you made in the last 13 days scaled down to 38GH/s?

EDIT: I'd also like to see someone who has an equivalent hashrate or less.

M



January 6-18 with my 30GH I got 0.1261.  But I don't think that's the best representation.  Lets check again when you have a longer period.  There was a few days where I got 0 and then a short period where I got an abnormally large payout.  I know variance is normal but this was the most extreme I'd seen up to this point.
smooth
Legendary
*
Offline Offline

Activity: 2968
Merit: 1198



View Profile
January 21, 2014, 02:11:33 AM
 #7493

Its impossible to try to get the best out of p2pool with lets say 120gh when you get from 0 to 3 shares a day.

0-3 shares per day is just fine. The shares are active for a day and a half, so almost every single day you will have one or more shares working. Your daily earnings will fluctuate but only rarely to zero and over relatively few days it will average out.

With a much lower hash rate like 10 GH you could make the argument it will take much longer to average out, although I still maintain at that point the numbers are so small the variance doesn't matter. If you get $0 instead of $1 on one day and get $2 instead of $1 on another day you're not going to go bankrupt over it.
smooth
Legendary
*
Offline Offline

Activity: 2968
Merit: 1198



View Profile
January 21, 2014, 02:16:11 AM
 #7494

That's a decent idea about running a VPS for a bitcoind relay.  I could stick p2pool on there too while I'm at it.

I like this idea of a VPS with the p2pool and bitcoind nodes on it. Will probably be trying that in the new few days. Anyone else have any tips on doing it?

mdude77
Legendary
*
Offline Offline

Activity: 1540
Merit: 1001



View Profile
January 21, 2014, 02:45:54 AM
 #7495

Its impossible to try to get the best out of p2pool with lets say 120gh when you get from 0 to 3 shares a day.

0-3 shares per day is just fine. The shares are active for a day and a half, so almost every single day you will have one or more shares working. Your daily earnings will fluctuate but only rarely to zero and over relatively few days it will average out.

With a much lower hash rate like 10 GH you could make the argument it will take much longer to average out, although I still maintain at that point the numbers are so small the variance doesn't matter. If you get $0 instead of $1 on one day and get $2 instead of $1 on another day you're not going to go bankrupt over it.

Share difficulty is currently at 1.008 million.  With 10 GH/s it'd take you 5 days to get a share.

M

I mine at Kano's Pool because it pays the best and is completely transparent!  Come join me!
bitpop
Legendary
*
Offline Offline

Activity: 2912
Merit: 1060



View Profile WWW
January 21, 2014, 02:47:42 AM
 #7496

That's a decent idea about running a VPS for a bitcoind relay.  I could stick p2pool on there too while I'm at it.

I like this idea of a VPS with the p2pool and bitcoind nodes on it. Will probably be trying that in the new few days. Anyone else have any tips on doing it?



There's a Bitcoin tutorial for digital ocean

ikolubr
Newbie
*
Offline Offline

Activity: 18
Merit: 0


View Profile
January 21, 2014, 03:26:51 AM
 #7497

Does anyone knows why or if p2pool is not calculating the pool fee we set?

Like I get no payouts to the pool's address.

Igor
bitpop
Legendary
*
Offline Offline

Activity: 2912
Merit: 1060



View Profile WWW
January 21, 2014, 03:47:58 AM
 #7498

Does anyone knows why or if p2pool is not calculating the pool fee we set?

Like I get no payouts to the pool's address.

Igor

You get shares and they're random but they add up long term

ikolubr
Newbie
*
Offline Offline

Activity: 18
Merit: 0


View Profile
January 21, 2014, 04:29:44 AM
 #7499

Does anyone knows why or if p2pool is not calculating the pool fee we set?

Like I get no payouts to the pool's address.

Igor

You get shares and they're random but they add up long term

The payout for the miners is working! The one that doesn't work is the payout for the pool fee! Like I set up the pool to have 2% fee. I'm not getting this payment!

Igor
smooth
Legendary
*
Offline Offline

Activity: 2968
Merit: 1198



View Profile
January 21, 2014, 04:33:12 AM
 #7500

That's a decent idea about running a VPS for a bitcoind relay.  I could stick p2pool on there too while I'm at it.

I like this idea of a VPS with the p2pool and bitcoind nodes on it. Will probably be trying that in the new few days. Anyone else have any tips on doing it?



There's a Bitcoin tutorial for digital ocean

I know how to set up bitcoind on a VPS generally. Just wondering about the p2pool aspect of it. For example, is it better to have bitcoin and/or p2pool local nodes that connect to their counterparts on the VPS or just have the miners connect directly to p2pool+bitcoind on the VPS?
Pages: « 1 ... 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 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 ... 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!