Bitcoin Forum
December 11, 2016, 04:08:50 AM *
News: Latest stable version of Bitcoin Core: 0.13.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 [52] 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 ... 744 »
  Print  
Author Topic: [1500 TH] p2pool: Decentralized, DoS-resistant, Hop-Proof pool  (Read 2035484 times)
Jointops420
Full Member
***
Offline Offline

Activity: 132


View Profile
February 29, 2012, 04:49:37 AM
 #1021

Great idea and loving it. Added my 700mh theres really no need for big pools anymore, getting small shares but not running all of the time just through the day. When I got up this morn and connected some shares from yesterday came through to my wallet.
1481429330
Hero Member
*
Offline Offline

Posts: 1481429330

View Profile Personal Message (Offline)

Ignore
1481429330
Reply with quote  #2

1481429330
Report to moderator
1481429330
Hero Member
*
Offline Offline

Posts: 1481429330

View Profile Personal Message (Offline)

Ignore
1481429330
Reply with quote  #2

1481429330
Report to moderator
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
1481429330
Hero Member
*
Offline Offline

Posts: 1481429330

View Profile Personal Message (Offline)

Ignore
1481429330
Reply with quote  #2

1481429330
Report to moderator
bitcool
Legendary
*
Offline Offline

Activity: 1441

Live and enjoy experiments


View Profile
February 29, 2012, 06:05:47 AM
 #1022

Just found this gem, added 9GH, it will be fun  Cheesy
spiccioli
Legendary
*
Offline Offline

Activity: 1376

nec sine labore


View Profile
February 29, 2012, 01:29:54 PM
 #1023

Hi,

does p2pool support RollNTime extension to miners?

spiccioli.
DeathAndTaxes
Donator
Legendary
*
Offline Offline

Activity: 1218


Gerald Davis


View Profile
February 29, 2012, 01:44:41 PM
 #1024

Hi,

does p2pool support RollNTime extension to miners?

spiccioli.


No I don't believe it does.  However there is really no reason.
I was 100% wrong.  p2pool DOES support RollNTime but as indicated below it likely doesn't have that much of an impact.

RollNTime is useful to reduce # of getworks per share.

A 400 MH/s miner mining diff 1 shares:
2^32 / (400 * 1000^2) = ~10s.

So every 10 seconds this miner will need one getwork.  Having a rolling of say 60 seconds would require 1/6th the getworks.

p2pool has an average time between LP of 10 seconds.  Most GPU will never finish a single nonce range before an LP so they will never get a chance to roll the ntime.  (D&T tip of the day: this is why in cgminer it is optimal to reduce intensity by 1, and set # of threads per GPU and queue depth both to 1)

Even with 400 MH/s GPU RollNTime would only reduce getworks on the rounds that are > 10 seconds.  If you are using 2 threads and say a 250 MH/s GPU it would only reduce getworks on the rounds that are > 32 seconds.  Also the workload is relatively small since you are hosting your own "pool server".  A pool server like Deepbit (~3TH/s) has to issue roughly 700 getworks per second.  Using RollNTime can reduce that significantly.  Looks like you have ~9GH/s.  Without RollNTime that requires only ~2 getworks per second.  An underclocked single core Atom CPU could handle that with minimal CPU load %.
twmz
Hero Member
*****
Offline Offline

Activity: 737



View Profile
February 29, 2012, 01:52:43 PM
 #1025

does p2pool support RollNTime extension to miners?
No I don't believe it does.  However there is really no reason.

All of your reasons for why it doesn't matter are correct but you are wrong that it isn't supported.  But, p2pool does use RollNTime (with a 10 second expiration).

Was I helpful?  1TwmzX1wBxNF2qtAJRhdKmi2WyLZ5VHRs
WoT, GPG

Bitrated user: ewal.
spiccioli
Legendary
*
Offline Offline

Activity: 1376

nec sine labore


View Profile
February 29, 2012, 01:53:39 PM
 #1026

Hi,

does p2pool support RollNTime extension to miners?

spiccioli.


No I don't believe it does.  However there is really no reason.



Thanks for the explanation Death&Taxes.

spiccioli
spiccioli
Legendary
*
Offline Offline

Activity: 1376

nec sine labore


View Profile
February 29, 2012, 01:56:11 PM
 #1027

does p2pool support RollNTime extension to miners?
No I don't believe it does.  However there is really no reason.

All of your reasons for why it doesn't matter are correct but you are wrong that it isn't supported.  But, p2pool does use RollNTime (with a 10 second expiration).

twmz,

wait, it should have longer timeouts for longer rounds, if a round lasts less than 10 seconds the miner will throw away current getwork anyway, so while does it limit RollNTime to 10 seconds?

spiccioli
twmz
Hero Member
*****
Offline Offline

Activity: 737



View Profile
February 29, 2012, 01:58:55 PM
 #1028

wait, it should have longer timeouts for longer rounds, if a round lasts less than 10 seconds the miner will throw away current getwork anyway, so while does it limit RollNTime to 10 seconds?

I don't know (ask forrest), but it does.  I just looked at the HTTP header it returns and it says 10 seconds.

Was I helpful?  1TwmzX1wBxNF2qtAJRhdKmi2WyLZ5VHRs
WoT, GPG

Bitrated user: ewal.
forrestv
Hero Member
*****
Offline Offline

Activity: 510


View Profile
February 29, 2012, 02:46:29 PM
 #1029

wait, it should have longer timeouts for longer rounds, if a round lasts less than 10 seconds the miner will throw away current getwork anyway, so while does it limit RollNTime to 10 seconds?

I don't know (ask forrest), but it does.  I just looked at the HTTP header it returns and it says 10 seconds.

It's so a miner can roll the work locally so that they only have to do one getwork to get enough work for all their cards. I think CGminer does this when it receives a long poll.

1J1zegkNSbwX4smvTdoHSanUfwvXFeuV23
DeathAndTaxes
Donator
Legendary
*
Offline Offline

Activity: 1218


Gerald Davis


View Profile
February 29, 2012, 02:56:39 PM
 #1030

wait, it should have longer timeouts for longer rounds, if a round lasts less than 10 seconds the miner will throw away current getwork anyway, so while does it limit RollNTime to 10 seconds?

I don't know (ask forrest), but it does.  I just looked at the HTTP header it returns and it says 10 seconds.

It's so a miner can roll the work locally so that they only have to do one getwork to get enough work for all their cards. I think CGminer does this when it receives a long poll.

Hmm I wasn't aware of that.

I may be wrong (have already been wrong once in last 2 minutes) but I don't think cgminer splits a single getwork across threads.  IIRC it does 1 getwork per thread (so if you are running 8 GPU w/ 2 threads each it pulls 16 getworks).  That would be a useful optimization in cgminer.  

Technically though to optimize that wouldn't it need to either split the nonce range into sub nonce ranges or "cheat" (use slightly wrong time for each thread)?
rjk
Sr. Member
****
Offline Offline

Activity: 420


1ngldh


View Profile
February 29, 2012, 02:57:36 PM
 #1031

wait, it should have longer timeouts for longer rounds, if a round lasts less than 10 seconds the miner will throw away current getwork anyway, so while does it limit RollNTime to 10 seconds?

I don't know (ask forrest), but it does.  I just looked at the HTTP header it returns and it says 10 seconds.

It's so a miner can roll the work locally so that they only have to do one getwork to get enough work for all their cards. I think CGminer does this when it receives a long poll.

I don't think cgminer splits 1 single getwork across cards.  I am pretty sure it does 1 getwork per thread (so if you are running 8 GPU w/ 2 threads each it pulls 16 getworks).  That would be one useful optimization in cgminer. 
Correct. cgminer really needs a work splitting engine, badly.

Mining Rig Extraordinaire - the Trenton BPX6806 18-slot PCIe backplane [PICS] Dead project is dead, all hail the coming of the mighty ASIC!
DeathAndTaxes
Donator
Legendary
*
Offline Offline

Activity: 1218


Gerald Davis


View Profile
February 29, 2012, 03:04:04 PM
 #1032

wait, it should have longer timeouts for longer rounds, if a round lasts less than 10 seconds the miner will throw away current getwork anyway, so while does it limit RollNTime to 10 seconds?

You can always modify your code (see doesn't open source rock) or maybe it can be added as a parameter but there might be unforeseen implications of an ultra long NTime that should be tested before adjusting the default network wide.

Most pools have an NTime of 60 sec or less and that is on chains with an average LP interval of 300 sec (BTC/NMC merged mining) or 600 sec (BTC only).  There likely should be some testing before changing NTime to larger than expected LP interval.   Lots of different miner software out there and they may make some assumptions/optimizations which may clash with NTime > expected LP interval.  Maybe not but given the small impact and low priority of a change testing seems wise.  Maybe I am just a code coward. Smiley
spiccioli
Legendary
*
Offline Offline

Activity: 1376

nec sine labore


View Profile
February 29, 2012, 04:47:35 PM
 #1033

wait, it should have longer timeouts for longer rounds, if a round lasts less than 10 seconds the miner will throw away current getwork anyway, so while does it limit RollNTime to 10 seconds?

You can always modify your code (see doesn't open source rock) or maybe it can be added as a parameter but there might be unforeseen implications of an ultra long NTime that should be tested before adjusting the default network wide.

Most pools have an NTime of 60 sec or less and that is on chains with an average LP interval of 300 sec (BTC/NMC merged mining) or 600 sec (BTC only).  There likely should be some testing before changing NTime to larger than expected LP interval.   Lots of different miner software out there and they may make some assumptions/optimizations which may clash with NTime > expected LP interval.  Maybe not but given the small impact and low priority of a change testing seems wise.  Maybe I am just a code coward. Smiley

DeathAndTaxes,

I was wrong as well in the way I thought RollNTime works

https://en.bitcoin.it/wiki/Getwork#rollntime

It seems to me now that 10 (seconds) is a good value for p2pool rounds.

spiccioli
Diapolo
Hero Member
*****
Offline Offline

Activity: 769



View Profile WWW
February 29, 2012, 06:23:03 PM
 #1034

What happens, if I let p2pool running, but have no miner running? Will this help the network / will this generate any income?

Dia

Liked my former work for Bitcoin Core? Drop me a donation via:
1PwnvixzVAKnAqp8LCV8iuv7ohzX2pbn5x
bitcoin:1PwnvixzVAKnAqp8LCV8iuv7ohzX2pbn5x?label=Diapolo
twmz
Hero Member
*****
Offline Offline

Activity: 737



View Profile
February 29, 2012, 07:01:15 PM
 #1035

What happens, if I let p2pool running, but have no miner running? Will this help the network / will this generate any income?

Dia

No, it will not generate any income, and I don't think it provides any practical help to the p2pool network.  At the same time, it doesn't really hurt anything, either.

Was I helpful?  1TwmzX1wBxNF2qtAJRhdKmi2WyLZ5VHRs
WoT, GPG

Bitrated user: ewal.
twmz
Hero Member
*****
Offline Offline

Activity: 737



View Profile
February 29, 2012, 07:10:35 PM
 #1036

Another payment sent.

Here is the list of transactions:

2/28/12 - http://blockchain.info/tx/7f5658c8cd2868cfc87e1ed921be74b80c06b0cb8c60b98fa709b0a23d971c31
2/29/12 - http://blockchain.info/tx/02cfe0ee7caa9342127b6c2255e22033c386bc9863da9e837e45c0e3bb7ddbca

Was I helpful?  1TwmzX1wBxNF2qtAJRhdKmi2WyLZ5VHRs
WoT, GPG

Bitrated user: ewal.
shakti
Jr. Member
*
Offline Offline

Activity: 57



View Profile
February 29, 2012, 07:12:26 PM
 #1037

Updated to latest Version but still getting weird errors sometimes :

[qouote]

2012-02-29 20:09:28.633938 RECV shares 0100a80100000066e30ead841d6283dbeb9fb65407effc8c5de7f5e77434b4543405ddd5e000419 10b0477a3e69488325b1e2311e959e3f95a1b39df3aed2df1bebeb3d0768340d8774e4ff192001d 358502809e70b847507b6d5a1a32b2897c35503c19...
2012-02-29 20:09:28.634282 > Traceback (most recent call last):
2012-02-29 20:09:28.634320 >   File "/usr/lib/python2.6/dist-packages/twisted/internet/selectreactor.py", line 146, in _doReadOrWrite
2012-02-29 20:09:28.634347 >     why = getattr(selectable, method)()
2012-02-29 20:09:28.634372 >   File "/usr/lib/python2.6/dist-packages/twisted/internet/tcp.py", line 460, in doRead
2012-02-29 20:09:28.634397 >     return self.protocol.dataReceived(data)
2012-02-29 20:09:28.634421 >   File "/home/grom/ltc/p2pool_clean/p2pool/p2pool/p2p.py", line 55, in new_dataReceived
2012-02-29 20:09:28.634445 >     old_dataReceived(data)
2012-02-29 20:09:28.634469 >   File "/home/grom/ltc/p2pool_clean/p2pool/p2pool/util/datachunker.py", line 40, in _DataChunker
2012-02-29 20:09:28.634494 >     wants = receiver.send(buf.get(wants))
2012-02-29 20:09:28.634518 > --- <exception caught here> ---
2012-02-29 20:09:28.634541 >   File "/home/grom/ltc/p2pool_clean/p2pool/p2pool/bitcoin/p2p.py", line 53, in dataReceiver
2012-02-29 20:09:28.634566 >     self.packetReceived(command, type_.unpack(payload))
2012-02-29 20:09:28.634590 >   File "/home/grom/ltc/p2pool_clean/p2pool/p2pool/p2p.py", line 68, in packetReceived
2012-02-29 20:09:28.634614 >     bitcoin_p2p.BaseProtocol.packetReceived(self, command, payload2)
2012-02-29 20:09:28.634638 >   File "/home/grom/ltc/p2pool_clean/p2pool/p2pool/bitcoin/p2p.py", line 66, in packetReceived
2012-02-29 20:09:28.634663 >     handler(**payload2)
2012-02-29 20:09:28.634686 >   File "/home/grom/ltc/p2pool_clean/p2pool/p2pool/p2p.py", line 199, in handle_shares
2012-02-29 20:09:28.634711 >     self.node.handle_shares([p2pool_data.Share.from_share(share, self.node.net, self) for share in shares], self)
2012-02-29 20:09:28.634736 >   File "/home/grom/ltc/p2pool_clean/p2pool/p2pool/data.py", line 124, in from_share
2012-02-29 20:09:28.634761 >     res = cls(net, peer, **share1a_type.unpack(share['contents']))
2012-02-29 20:09:28.634785 >   File "/home/grom/ltc/p2pool_clean/p2pool/p2pool/data.py", line 166, in __init__
2012-02-29 20:09:28.634809 >     raise ValueError('old share an hour after switch time')
2012-02-29 20:09:28.634833 > exceptions.ValueError: old share an hour after switch time
[/quote]


mining Ltc on p2pool

TravisE
Full Member
***
Offline Offline

Activity: 121


View Profile
February 29, 2012, 07:29:17 PM
 #1038

Hmm, getting the same here with Litecoin, though it seems to not be quite as frequently as it was before upgrading.

BTC: 12kqUSiGPFVYVqYZAT6r2EeTxZstFJE35j
LTC: LU2XpxEqmyUhLmXucaEr3TReaYSjgfTbmRBTC:
TheHarbinger
Sr. Member
****
Offline Offline

Activity: 378


Why is it so damn hot in here?


View Profile
March 01, 2012, 12:40:08 AM
 #1039

Over 300Gh/s now!   Grin

12Um6jfDE7q6crm1s6tSksMvda8s1hZ3Vj
martychubbs
Hero Member
*****
Offline Offline

Activity: 476



View Profile
March 01, 2012, 04:22:56 PM
 #1040

Yet, I am not sold on hopping with P2P cause I have little hashes (2 GH) and I hop out before completed P2P share and thus get no credit?  I might not understand how it all works.

Hoppers like control and cutting edge tech, P2pool is all that but I don't know how to compare P2p shared against 1/difficulty that I use for non-p2pools.  And if I stop mining for 30-90 minutes, do I pickup on the P2p share where I left off or do I have to start a new share?  Anyone clear up my confusion?


There is no such thing as "progress" toward any share or block.  In the long run you will earn shares at the same rate.  You might hop in provide half the work required ON AVERAGE for a share and get a share (or two, or ten), and you may also hop in and get no shares.

In the LONG RUN yuor # of shares thus your compensation will be the same regardless of if you mine intermitently, intentionally hop in/out, or mine continually 24/7/365.

You can't work toward a share (any share in any pool) because there is no progress.  You either find a share or you don't.  Each hash is completely independent and the prior "chances" have no effect on the odds of finding a hash. 
There is no penalty to hopping PPLNS pools and p2p is no exception. 

It is "hop proof" in that you can never get greater than 100% PPS expected value.  You can't steal revenue from other miners (like you do in the Prop pools you hop) as each miner is paid fairly for the work they complete.


Thanks for the help DnT!  That was the answer I was looking for, using P2p compared to PPS while intentionally hop in/out....  Also, did you know I turned P4man to the darkside?  Anywho, thanks again... 
Pages: « 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 [52] 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 ... 744 »
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!