Bitcoin Forum
December 03, 2016, 01:50:53 PM *
News: Latest stable version of Bitcoin Core: 0.13.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: « 1 ... 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 [213] 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 ... 744 »
  Print  
Author Topic: [1500 TH] p2pool: Decentralized, DoS-resistant, Hop-Proof pool  (Read 2029008 times)
K1773R
Legendary
*
Offline Offline

Activity: 1526


/dev/null


View Profile
December 25, 2012, 06:48:00 PM
 #4241

Is p2pool ready for ASIC's or is there still work that needs to be done? Can it already do variable difficulty?
yes, vardiff works already. stratum is "ComingSoonTM"
Will stratum make the communication between cgminer and the local p2pool process more efficient or is that how variable difficult will be done?
local communication has no real latencys therefore its always efficient. variable difficulty is already implemented (altough it increases the diff for all miners, not only the fast one). for the unreleased(/undeveloped) stratum stuff ul have to ask forrestv.

[GPG Public Key]  [Devcoin Builds]  [BBQCoin Builds]  [Multichain Blockexplorer]  [Multichain Blockexplorer - PoS Coins]  [Ufasoft Miner Linux Builds]
BTC/DVC/TRC/FRC: 1K1773RbXRZVRQSSXe9N6N2MUFERvrdu6y ANC/XPM AK1773RTmRKtvbKBCrUu95UQg5iegrqyeA NMC: NK1773Rzv8b4ugmCgX789PbjewA9fL9Dy1 LTC: LKi773RBuPepQH8E6Zb1ponoCvgbU7hHmd EMC: EK1773RxUes1HX1YAGMZ1xVYBBRUCqfDoF BQC: bK1773R1APJz4yTgRkmdKQhjhiMyQpJgfN
1480773053
Hero Member
*
Offline Offline

Posts: 1480773053

View Profile Personal Message (Offline)

Ignore
1480773053
Reply with quote  #2

1480773053
Report to moderator
1480773053
Hero Member
*
Offline Offline

Posts: 1480773053

View Profile Personal Message (Offline)

Ignore
1480773053
Reply with quote  #2

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

Activity: 481


View Profile
December 25, 2012, 07:03:25 PM
 #4242

Is p2pool ready for ASIC's or is there still work that needs to be done? Can it already do variable difficulty?
yes, vardiff works already. stratum is "ComingSoonTM"
Will stratum make the communication between cgminer and the local p2pool process more efficient or is that how variable difficult will be done?
local communication has no real latencys therefore its always efficient. variable difficulty is already implemented (altough it increases the diff for all miners, not only the fast one). for the unreleased(/undeveloped) stratum stuff ul have to ask forrestv.

So p2pool is not really ready for ASIC? Because the first one that comes along is going to screw it up for everyone else? Not really local variable difficulty?
K1773R
Legendary
*
Offline Offline

Activity: 1526


/dev/null


View Profile
December 25, 2012, 07:13:22 PM
 #4243

Is p2pool ready for ASIC's or is there still work that needs to be done? Can it already do variable difficulty?
yes, vardiff works already. stratum is "ComingSoonTM"
Will stratum make the communication between cgminer and the local p2pool process more efficient or is that how variable difficult will be done?
local communication has no real latencys therefore its always efficient. variable difficulty is already implemented (altough it increases the diff for all miners, not only the fast one). for the unreleased(/undeveloped) stratum stuff ul have to ask forrestv.

So p2pool is not really ready for ASIC? Because the first one that comes along is going to screw it up for everyone else? Not really local variable difficulty?
It is already with Vardiff. Later there will be stratum too.

[GPG Public Key]  [Devcoin Builds]  [BBQCoin Builds]  [Multichain Blockexplorer]  [Multichain Blockexplorer - PoS Coins]  [Ufasoft Miner Linux Builds]
BTC/DVC/TRC/FRC: 1K1773RbXRZVRQSSXe9N6N2MUFERvrdu6y ANC/XPM AK1773RTmRKtvbKBCrUu95UQg5iegrqyeA NMC: NK1773Rzv8b4ugmCgX789PbjewA9fL9Dy1 LTC: LKi773RBuPepQH8E6Zb1ponoCvgbU7hHmd EMC: EK1773RxUes1HX1YAGMZ1xVYBBRUCqfDoF BQC: bK1773R1APJz4yTgRkmdKQhjhiMyQpJgfN
mdude77
Legendary
*
Offline Offline

Activity: 1358


View Profile
December 25, 2012, 10:45:59 PM
 #4244

Is p2pool ready for ASIC's or is there still work that needs to be done? Can it already do variable difficulty?
yes, vardiff works already. stratum is "ComingSoonTM"
Will stratum make the communication between cgminer and the local p2pool process more efficient or is that how variable difficult will be done?
local communication has no real latencys therefore its always efficient. variable difficulty is already implemented (altough it increases the diff for all miners, not only the fast one). for the unreleased(/undeveloped) stratum stuff ul have to ask forrestv.

So p2pool is not really ready for ASIC? Because the first one that comes along is going to screw it up for everyone else? Not really local variable difficulty?

ASIC is going to mess everyone up who doesn't have an ASIC.  That isn't unique to p2pool.

M

MMinerMonitor author, monitor/auto/schedule reboots/alerts/remote/MobileMiner for Ants and Spondoolies! Latest (5.2). MPoolMonitor author, monitor stats/workers for most pools, global BTC stats (current/nxt diff/USD val/hashrate/calc)! Latest (v4.2) 
Buyer beware of Bitmain hardware and services.
Exdeath
Hero Member
*****
Offline Offline

Activity: 546


Upiter


View Profile WWW
December 26, 2012, 06:16:51 AM
 #4245

Hello, everyone. Today I try joining to p2pool and I have some problems.
My OS: Ubuntu 12.04.1 64 bit
Bitcoind version:
Code:
$./bitcoind getinfo
....
 "version" : 70100,
  "protocolversion" : 60002,
  "walletversion" : 40000,
....
Python version: 2.7.3

Today I download the tgz-archive with p2pool v 9.4 for 64-bit Linux.
Then I installed required packages:
sudo apt-get install python-zope.interface python-twisted python-twisted-web

After the bitcoind successfully running, and all of the blocks are downloaded, I run file "run_p2pool.py", and:
Code:
$./run_p2pool.py
2012-12-26 07:36:45.305205 > Error while checking Bitcoin connection:
2012-12-26 07:36:45.305419 > Traceback (most recent call last):
2012-12-26 07:36:45.305524 >   File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 545, in _runCallbacks
2012-12-26 07:36:45.305624 >     current.result = callback(current.result, *args, **kw)
2012-12-26 07:36:45.305726 >   File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1095, in gotResult
2012-12-26 07:36:45.305871 >     _inlineCallbacks(r, g, deferred)
2012-12-26 07:36:45.305966 >   File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1037, in _inlineCallbacks
2012-12-26 07:36:45.306088 >     result = result.throwExceptionIntoGenerator(g)
2012-12-26 07:36:45.306208 >   File "/usr/lib/python2.7/dist-packages/twisted/python/failure.py", line 382, in throwExceptionIntoGenerator
2012-12-26 07:36:45.306317 >     return g.throw(self.type, self.value, self.tb)
2012-12-26 07:36:45.306418 > --- <exception caught here> ---
2012-12-26 07:36:45.306519 >   File "~/forrestv-p2pool-6880123/p2pool/util/deferral.py", line 41, in f
2012-12-26 07:36:45.306623 >     result = yield func(*args, **kwargs)
2012-12-26 07:36:45.306721 >   File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1037, in _inlineCallbacks
2012-12-26 07:36:45.306828 >     result = result.throwExceptionIntoGenerator(g)
2012-12-26 07:36:45.306930 >   File "/usr/lib/python2.7/dist-packages/twisted/python/failure.py", line 382, in throwExceptionIntoGenerator
2012-12-26 07:36:45.307052 >     return g.throw(self.type, self.value, self.tb)
2012-12-26 07:36:45.307158 >   File "/mnt/1/exdeath/forrestv-p2pool-6880123/p2pool/bitcoin/helper.py", line 13, in check
2012-12-26 07:36:45.307267 >     if not (yield net.PARENT.RPC_CHECK(bitcoind)):
2012-12-26 07:36:45.307366 >   File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1037, in _inlineCallbacks
2012-12-26 07:36:45.307465 >     result = result.throwExceptionIntoGenerator(g)
2012-12-26 07:36:45.307557 >   File "/usr/lib/python2.7/dist-packages/twisted/python/failure.py", line 382, in throwExceptionIntoGenerator
2012-12-26 07:36:45.307661 >     return g.throw(self.type, self.value, self.tb)
2012-12-26 07:36:45.307761 >   File "~/forrestv-p2pool-6880123/p2pool/bitcoin/networks.py", line 16, in <lambda>
2012-12-26 07:36:45.307865 >     'bitcoinaddress' in (yield bitcoind.rpc_help()) and
2012-12-26 07:36:45.307963 >   File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1037, in _inlineCallbacks
2012-12-26 07:36:45.308069 >     result = result.throwExceptionIntoGenerator(g)
2012-12-26 07:36:45.308166 >   File "/usr/lib/python2.7/dist-packages/twisted/python/failure.py", line 382, in throwExceptionIntoGenerator
2012-12-26 07:36:45.308313 >     return g.throw(self.type, self.value, self.tb)
2012-12-26 07:36:45.308415 >   File "~/forrestv-p2pool-6880123/p2pool/util/jsonrpc.py", line 64, in callRemote
2012-12-26 07:36:45.308519 >     raise e
2012-12-26 07:36:45.308617 > twisted.web.error.Error: 401 Authorization Required


I will be very grateful to anyone who help me fix this.

K1773R
Legendary
*
Offline Offline

Activity: 1526


/dev/null


View Profile
December 26, 2012, 06:40:04 AM
 #4246

Hello, everyone. Today I try joining to p2pool and I have some problems.
My OS: Ubuntu 12.04.1 64 bit
Bitcoind version:
Code:
$./bitcoind getinfo
....
 "version" : 70100,
  "protocolversion" : 60002,
  "walletversion" : 40000,
....
Python version: 2.7.3

Today I download the tgz-archive with p2pool v 9.4 for 64-bit Linux.
Then I installed required packages:
sudo apt-get install python-zope.interface python-twisted python-twisted-web

After the bitcoind successfully running, and all of the blocks are downloaded, I run file "run_p2pool.py", and:
Code:
$./run_p2pool.py
2012-12-26 07:36:45.305205 > Error while checking Bitcoin connection:
2012-12-26 07:36:45.305419 > Traceback (most recent call last):
2012-12-26 07:36:45.305524 >   File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 545, in _runCallbacks
2012-12-26 07:36:45.305624 >     current.result = callback(current.result, *args, **kw)
2012-12-26 07:36:45.305726 >   File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1095, in gotResult
2012-12-26 07:36:45.305871 >     _inlineCallbacks(r, g, deferred)
2012-12-26 07:36:45.305966 >   File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1037, in _inlineCallbacks
2012-12-26 07:36:45.306088 >     result = result.throwExceptionIntoGenerator(g)
2012-12-26 07:36:45.306208 >   File "/usr/lib/python2.7/dist-packages/twisted/python/failure.py", line 382, in throwExceptionIntoGenerator
2012-12-26 07:36:45.306317 >     return g.throw(self.type, self.value, self.tb)
2012-12-26 07:36:45.306418 > --- <exception caught here> ---
2012-12-26 07:36:45.306519 >   File "~/forrestv-p2pool-6880123/p2pool/util/deferral.py", line 41, in f
2012-12-26 07:36:45.306623 >     result = yield func(*args, **kwargs)
2012-12-26 07:36:45.306721 >   File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1037, in _inlineCallbacks
2012-12-26 07:36:45.306828 >     result = result.throwExceptionIntoGenerator(g)
2012-12-26 07:36:45.306930 >   File "/usr/lib/python2.7/dist-packages/twisted/python/failure.py", line 382, in throwExceptionIntoGenerator
2012-12-26 07:36:45.307052 >     return g.throw(self.type, self.value, self.tb)
2012-12-26 07:36:45.307158 >   File "/mnt/1/exdeath/forrestv-p2pool-6880123/p2pool/bitcoin/helper.py", line 13, in check
2012-12-26 07:36:45.307267 >     if not (yield net.PARENT.RPC_CHECK(bitcoind)):
2012-12-26 07:36:45.307366 >   File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1037, in _inlineCallbacks
2012-12-26 07:36:45.307465 >     result = result.throwExceptionIntoGenerator(g)
2012-12-26 07:36:45.307557 >   File "/usr/lib/python2.7/dist-packages/twisted/python/failure.py", line 382, in throwExceptionIntoGenerator
2012-12-26 07:36:45.307661 >     return g.throw(self.type, self.value, self.tb)
2012-12-26 07:36:45.307761 >   File "~/forrestv-p2pool-6880123/p2pool/bitcoin/networks.py", line 16, in <lambda>
2012-12-26 07:36:45.307865 >     'bitcoinaddress' in (yield bitcoind.rpc_help()) and
2012-12-26 07:36:45.307963 >   File "/usr/lib/python2.7/dist-packages/twisted/internet/defer.py", line 1037, in _inlineCallbacks
2012-12-26 07:36:45.308069 >     result = result.throwExceptionIntoGenerator(g)
2012-12-26 07:36:45.308166 >   File "/usr/lib/python2.7/dist-packages/twisted/python/failure.py", line 382, in throwExceptionIntoGenerator
2012-12-26 07:36:45.308313 >     return g.throw(self.type, self.value, self.tb)
2012-12-26 07:36:45.308415 >   File "~/forrestv-p2pool-6880123/p2pool/util/jsonrpc.py", line 64, in callRemote
2012-12-26 07:36:45.308519 >     raise e
2012-12-26 07:36:45.308617 > twisted.web.error.Error: 401 Authorization Required


I will be very grateful to anyone who help me fix this.
suply username and password, run p2pool with --help for a list of all parameters.

[GPG Public Key]  [Devcoin Builds]  [BBQCoin Builds]  [Multichain Blockexplorer]  [Multichain Blockexplorer - PoS Coins]  [Ufasoft Miner Linux Builds]
BTC/DVC/TRC/FRC: 1K1773RbXRZVRQSSXe9N6N2MUFERvrdu6y ANC/XPM AK1773RTmRKtvbKBCrUu95UQg5iegrqyeA NMC: NK1773Rzv8b4ugmCgX789PbjewA9fL9Dy1 LTC: LKi773RBuPepQH8E6Zb1ponoCvgbU7hHmd EMC: EK1773RxUes1HX1YAGMZ1xVYBBRUCqfDoF BQC: bK1773R1APJz4yTgRkmdKQhjhiMyQpJgfN
zvs
Legendary
*
Offline Offline

Activity: 1386



View Profile WWW
December 26, 2012, 06:40:09 AM
 #4247

i'm at 188 shares and 1 orphan now, after modifying source to allow more outgoing connections

Dacentec, best deals for US dedicated servers. They regularly restock $20-$25 Opterons with 8-16GB RAM & 2x1-2TB HDD's (ofc, usually lots of other good stuff to choose from).  I did a Serverbear benchmark of one of my $20/mo Opteron (June last year), it's here.  Have had about a half dozen different servers with Dacentec, & none have failed to sustain at least 40MB/s (burst higher). My favorite is a 12-month rent-to-own ZT Systems 2XL5520 16GB 2x2TB SATA for $40/month (got lucky with the 'off-brand', haven't seen a RTO 2xL5520 for under $50/mo since -- at least for monthly contracts).  wholesaleinternet.com has some ancient 2-core intel CPUs @ $10/mo sometimes (I got an Intel Core 2 6300 @ 1.86GHz, with a 250GB HDD with 46000 hours on it, LOL. $20 @ Dacentec is much better, if you can grab one). joesdatacenter.com (same location as Wholesale Internet) also occasionally has specials (or if you don't want to wait, it has an AMD Opteron 170 @ $16/mo).
K1773R
Legendary
*
Offline Offline

Activity: 1526


/dev/null


View Profile
December 26, 2012, 06:44:37 AM
 #4248

i'm at 188 shares and 1 orphan now, after modifying source to allow more outgoing connections
u see Wink i just improved ur mining alot Cheesy

[GPG Public Key]  [Devcoin Builds]  [BBQCoin Builds]  [Multichain Blockexplorer]  [Multichain Blockexplorer - PoS Coins]  [Ufasoft Miner Linux Builds]
BTC/DVC/TRC/FRC: 1K1773RbXRZVRQSSXe9N6N2MUFERvrdu6y ANC/XPM AK1773RTmRKtvbKBCrUu95UQg5iegrqyeA NMC: NK1773Rzv8b4ugmCgX789PbjewA9fL9Dy1 LTC: LKi773RBuPepQH8E6Zb1ponoCvgbU7hHmd EMC: EK1773RxUes1HX1YAGMZ1xVYBBRUCqfDoF BQC: bK1773R1APJz4yTgRkmdKQhjhiMyQpJgfN
Exdeath
Hero Member
*****
Offline Offline

Activity: 546


Upiter


View Profile WWW
December 26, 2012, 08:11:15 AM
 #4249

K1773R, thx 

zvs
Legendary
*
Offline Offline

Activity: 1386



View Profile WWW
December 26, 2012, 12:37:46 PM
 #4250

i'm at 188 shares and 1 orphan now, after modifying source to allow more outgoing connections
u see Wink i just improved ur mining alot Cheesy
Well, now I'm at 20 shares and 3 orphans.  Not a huge sample, but..

my conclusion would be that the initial outgoing # is too low.  10 as max is also too low.  you should be able to set it up to 20-30.

but, most orphans come from the size of the blocks.  i did ~250 shares with 2 orphans with a maxblocksize of 10000, essentially making blocks of 5 or 6 transactions... later on I changed that to nothing, so all blocks had just 1 transaction.   that also lowered the "GetBlockTemplate Latency" to a couple milliseconds, as can be seen at:  http://nogleg.com:9332/static/graphs.html?Day

Now I've set it back to a 500kB max block size and am at that 20 blocks w/ 3 orphans.  My GetBlockTemplate latency has also increased, though tbh, I don't find that very relevant.  It's a good diagnostic for spotting out possible issues, like if you have maxblocksize set to 0 and it's taking half a second, then that's a problem, I guess.

That 1/4th or 1/3rd of a second later may matter in 1 out of 500 orphans.  The bigger issue would be network slowness & latency.  A bigger problem for p2pool than the network as a whole, since most pools will be run on dedicated servers on good networks.  p2pool is different, because it has all these people mining w/ many of them on crap connections.  For me to make the most bitcoins, then I should make all blocks with 0 transactions, to limit orphans.  

my block solved w/ maxblocksize of 10000:  http://blockchain.info/tx/971d3109bdc197d1bb8d1334896db2235941b1da884081dee9e94df666a37e84

i doubt getting 25.5 instead of 25.01 would make up for all the extra orphans that are caused by having transactions included (in p2pool)

It seems to me like if you're keen on p2pool, you'd be better off running a private network with a select group of people, rather than losing 5, 10, or 15% of your hashing power due to people with poor connections... or else just set your maxblocksize to 0.  

ps:  i'm changing my maxblocksize back to 0

Dacentec, best deals for US dedicated servers. They regularly restock $20-$25 Opterons with 8-16GB RAM & 2x1-2TB HDD's (ofc, usually lots of other good stuff to choose from).  I did a Serverbear benchmark of one of my $20/mo Opteron (June last year), it's here.  Have had about a half dozen different servers with Dacentec, & none have failed to sustain at least 40MB/s (burst higher). My favorite is a 12-month rent-to-own ZT Systems 2XL5520 16GB 2x2TB SATA for $40/month (got lucky with the 'off-brand', haven't seen a RTO 2xL5520 for under $50/mo since -- at least for monthly contracts).  wholesaleinternet.com has some ancient 2-core intel CPUs @ $10/mo sometimes (I got an Intel Core 2 6300 @ 1.86GHz, with a 250GB HDD with 46000 hours on it, LOL. $20 @ Dacentec is much better, if you can grab one). joesdatacenter.com (same location as Wholesale Internet) also occasionally has specials (or if you don't want to wait, it has an AMD Opteron 170 @ $16/mo).
Krak
Hero Member
*****
Offline Offline

Activity: 591



View Profile WWW
December 26, 2012, 05:35:27 PM
 #4251

my conclusion would be that the initial outgoing # is too low.  10 as max is also too low.  you should be able to set it up to 20-30.
You can already set this with a command line flag (--outgoing-conns). The default shouldn't be raised because with a slow DSL connection, 6 is already pushing it.

ps:  i'm changing my maxblocksize back to 0
This is extremely bad for the network in general and overall unnecessary with transaction pre-forwarding. Seriously, p2pool has had only one orphan in the last 3 months. That's pretty good.

BTC: 1KrakenLFEFg33A4f6xpwgv3UUoxrLPuGn
K1773R
Legendary
*
Offline Offline

Activity: 1526


/dev/null


View Profile
December 26, 2012, 05:54:44 PM
 #4252

i'm at 188 shares and 1 orphan now, after modifying source to allow more outgoing connections
u see Wink i just improved ur mining alot Cheesy
Well, now I'm at 20 shares and 3 orphans.  Not a huge sample, but..

my conclusion would be that the initial outgoing # is too low.  10 as max is also too low.  you should be able to set it up to 20-30.

but, most orphans come from the size of the blocks.  i did ~250 shares with 2 orphans with a maxblocksize of 10000, essentially making blocks of 5 or 6 transactions... later on I changed that to nothing, so all blocks had just 1 transaction.   that also lowered the "GetBlockTemplate Latency" to a couple milliseconds, as can be seen at:  http://nogleg.com:9332/static/graphs.html?Day

Now I've set it back to a 500kB max block size and am at that 20 blocks w/ 3 orphans.  My GetBlockTemplate latency has also increased, though tbh, I don't find that very relevant.  It's a good diagnostic for spotting out possible issues, like if you have maxblocksize set to 0 and it's taking half a second, then that's a problem, I guess.

That 1/4th or 1/3rd of a second later may matter in 1 out of 500 orphans.  The bigger issue would be network slowness & latency.  A bigger problem for p2pool than the network as a whole, since most pools will be run on dedicated servers on good networks.  p2pool is different, because it has all these people mining w/ many of them on crap connections.  For me to make the most bitcoins, then I should make all blocks with 0 transactions, to limit orphans.  

my block solved w/ maxblocksize of 10000:  http://blockchain.info/tx/971d3109bdc197d1bb8d1334896db2235941b1da884081dee9e94df666a37e84

i doubt getting 25.5 instead of 25.01 would make up for all the extra orphans that are caused by having transactions included (in p2pool)

It seems to me like if you're keen on p2pool, you'd be better off running a private network with a select group of people, rather than losing 5, 10, or 15% of your hashing power due to people with poor connections... or else just set your maxblocksize to 0.  

ps:  i'm changing my maxblocksize back to 0
it depends how "good" the network is, for example:
BTC -> 25 connections are good (0% stale so far for me)
LTC -> 50 connections to get 70 submited, 6 stale (needs more connections).

The Coin got 2 sides, the more connection the more broadcast so send/validate/calc. This may lead to more DOA. so dont use astronomical numbers.

[GPG Public Key]  [Devcoin Builds]  [BBQCoin Builds]  [Multichain Blockexplorer]  [Multichain Blockexplorer - PoS Coins]  [Ufasoft Miner Linux Builds]
BTC/DVC/TRC/FRC: 1K1773RbXRZVRQSSXe9N6N2MUFERvrdu6y ANC/XPM AK1773RTmRKtvbKBCrUu95UQg5iegrqyeA NMC: NK1773Rzv8b4ugmCgX789PbjewA9fL9Dy1 LTC: LKi773RBuPepQH8E6Zb1ponoCvgbU7hHmd EMC: EK1773RxUes1HX1YAGMZ1xVYBBRUCqfDoF BQC: bK1773R1APJz4yTgRkmdKQhjhiMyQpJgfN
Schleicher
Hero Member
*****
Offline Offline

Activity: 630



View Profile
December 26, 2012, 06:14:11 PM
 #4253

If the p2pool client is running on your computer at home then the upload speed is probably the bottleneck for most people.
I have 30 KB/s upload speed for example. A 500KB block would need almost 17 seconds to upload. With 10 p2pool connections this would be 170 seconds.

Bitcoin donations: 1H2BHSyuwLP9vqt2p3bK9G3mDJsAi7qChw
gyverlb
Hero Member
*****
Offline Offline

Activity: 896



View Profile
December 26, 2012, 07:35:15 PM
 #4254

If the p2pool client is running on your computer at home then the upload speed is probably the bottleneck for most people.
I have 30 KB/s upload speed for example. A 500KB block would need almost 17 seconds to upload. With 10 p2pool connections this would be 170 seconds.
I believe p2pool doesn't transfer all the block's content: IIRC transactions are preemptively exchanged between nodes before a block is found and only a shorter representation of the block with references to these transactions should be transfered.

P2pool tuning guide
Trade BTC for €/$ at bitcoin.de (referral), it's cheaper and faster (acts as escrow and lets the buyers do bank transfers).
Tip: 17bdPfKXXvr7zETKRkPG14dEjfgBt5k2dd
zvs
Legendary
*
Offline Offline

Activity: 1386



View Profile WWW
December 27, 2012, 12:47:15 AM
 #4255

If the p2pool client is running on your computer at home then the upload speed is probably the bottleneck for most people.
I have 30 KB/s upload speed for example. A 500KB block would need almost 17 seconds to upload. With 10 p2pool connections this would be 170 seconds.
I believe p2pool doesn't transfer all the block's content: IIRC transactions are preemptively exchanged between nodes before a block is found and only a shorter representation of the block with references to these transactions should be transfered.
It may not transfer the whole thing, but from my experience w/ the larger block sizes, you get tons more orphans.  

I wish it showed local orphans/DOA on the graphs so that it could be analyzed more quickly..  

I'll dig through my logs later and check the orphan amts compared to block size sometime in the next few days...

I do see the reasoning behind the lower amt of outgoing connections though, it does make sense... since not everyone will be on a dedicated server like a 'pool'.   I still think it'd be nice if it were configurable up to 30 instead of maxing out at 10, though....  I believe the # of incoming connections is default capped at 30?  That should probably be lower, actually..

and I've solved two blocks out of equiv of 200,000 difficulty 1 shares so far....  -48 btc....  sadface

Dacentec, best deals for US dedicated servers. They regularly restock $20-$25 Opterons with 8-16GB RAM & 2x1-2TB HDD's (ofc, usually lots of other good stuff to choose from).  I did a Serverbear benchmark of one of my $20/mo Opteron (June last year), it's here.  Have had about a half dozen different servers with Dacentec, & none have failed to sustain at least 40MB/s (burst higher). My favorite is a 12-month rent-to-own ZT Systems 2XL5520 16GB 2x2TB SATA for $40/month (got lucky with the 'off-brand', haven't seen a RTO 2xL5520 for under $50/mo since -- at least for monthly contracts).  wholesaleinternet.com has some ancient 2-core intel CPUs @ $10/mo sometimes (I got an Intel Core 2 6300 @ 1.86GHz, with a 250GB HDD with 46000 hours on it, LOL. $20 @ Dacentec is much better, if you can grab one). joesdatacenter.com (same location as Wholesale Internet) also occasionally has specials (or if you don't want to wait, it has an AMD Opteron 170 @ $16/mo).
spiccioli
Legendary
*
Offline Offline

Activity: 1376

nec sine labore


View Profile
December 27, 2012, 09:05:29 AM
 #4256

ps:  i'm changing my maxblocksize back to 0

please don't, this way you're not processing transactions which is the whole meaning of mining.

give blockmaxsize a low value, like 8kB, so that it does not create too many orphans but still processes transactions.

Btw, orphans that solve a block are as good as any other share you submit.

my 2c

spiccioli
zvs
Legendary
*
Offline Offline

Activity: 1386



View Profile WWW
December 27, 2012, 01:24:59 PM
 #4257

ps:  i'm changing my maxblocksize back to 0

please don't, this way you're not processing transactions which is the whole meaning of mining.

give blockmaxsize a low value, like 8kB, so that it does not create too many orphans but still processes transactions.

Btw, orphans that solve a block are as good as any other share you submit.

my 2c

spiccioli

Version: 9.4-22-g9f125de-dirty

Pool rate: 309GH/s (11% DOA+orphan) Share difficulty: 594

Node uptime: 0.108 days Peers: 30 out, 4 in

Local rate: 7.74GH/s (7.2% DOA) Expected time to share: 0.0917 hours

Shares: 31 total (28 orphaned, 3 dead) Efficiency: 0.000%

Payout if a block were found NOW: 0.49253475 BTC to 1Zevusze7BjTpp4srJhx4zkRBxpbgwU4A. Expected after mining for 24 hours: 0.664 BTC

Current block value: 26.55448192 BTC Expected time to block: 11.5 hours


that's fancy

i'm guessing it's because the size of my blocks are too large?  it looks like it's running 900KB atm.



ok, back to 0, heh...


2012-12-27 07:41:57.626431  Shares: 32 (29 orphan, 3 dead) Stale rate: ~100.0% (89-100%) Efficiency: ~0.0% (0-13%) Current payout: 0.4531 BTC
2012-12-27 07:41:57.626457  Pool: 318GH/s Stale rate: 14.9% Expected time to block: 11.2 hours
2012-12-27 07:41:58.047236 New work for worker! Difficulty: 1.792246 Share difficulty: 651.157952 Total block value: 25.000000 BTC including 0 transactions
2012-12-27 07:41:59.128533 GOT SHARE!  6671a2fe prev 0c4a8330 age 1.52s
2012-12-27 07:41:59.167586 New work for worker! Difficulty: 1.776695 Share difficulty: 645.238513 Total block value: 25.000000 BTC including 0 transactions
2012-12-27 07:41:59.176192 New work for worker! Difficulty: 1.776695 Share difficulty: 645.238513 Total block value: 25.000000 BTC including 0 transactions
2012-12-27 07:41:59.591497 New work for worker! Difficulty: 1.826294 Share difficulty: 645.238513 Total block value: 25.000000 BTC including 0 transactions
2012-12-27 07:42:00.638139 P2Pool: 17312 shares in chain (17317 verified/17317 total) Peers: 34 (4 incoming)
2012-12-27 07:42:00.638220  Local: 7367MH/s in last 10.0 minutes Local dead on arrival: ~5.9% (4-9%) Expected time to share: 6.3 minutes
2012-12-27 07:42:00.638246  Shares: 33 (29 orphan, 3 dead) Stale rate: ~97.0% (84-100%) Efficiency: ~3.6% (0-19%) Current payout: 0.4559 BTC

Dacentec, best deals for US dedicated servers. They regularly restock $20-$25 Opterons with 8-16GB RAM & 2x1-2TB HDD's (ofc, usually lots of other good stuff to choose from).  I did a Serverbear benchmark of one of my $20/mo Opteron (June last year), it's here.  Have had about a half dozen different servers with Dacentec, & none have failed to sustain at least 40MB/s (burst higher). My favorite is a 12-month rent-to-own ZT Systems 2XL5520 16GB 2x2TB SATA for $40/month (got lucky with the 'off-brand', haven't seen a RTO 2xL5520 for under $50/mo since -- at least for monthly contracts).  wholesaleinternet.com has some ancient 2-core intel CPUs @ $10/mo sometimes (I got an Intel Core 2 6300 @ 1.86GHz, with a 250GB HDD with 46000 hours on it, LOL. $20 @ Dacentec is much better, if you can grab one). joesdatacenter.com (same location as Wholesale Internet) also occasionally has specials (or if you don't want to wait, it has an AMD Opteron 170 @ $16/mo).
spiccioli
Legendary
*
Offline Offline

Activity: 1376

nec sine labore


View Profile
December 27, 2012, 01:32:51 PM
 #4258


ok, back to 0, heh

zvs,

would you mind trying this in you bitcoin.conf?

Code:
#Maximum size, in bytes, of blocks you create:
blockmaxsize=32768

#How many bytes of the block should be dedicated to high-priority transactions,
#included regardless of the fees they pay
blockprioritysize=4096

#Minimum block size you want to create; block will be filled with free transactions
#until there are no more or the block reaches this size:
blockminsize=8192

#Fee-per-kilobyte amount (in BTC) considered the same as "free"
#Be careful setting this: if you set it to zero then
#a transaction spammer can cheaply fill blocks using
#1-satoshi-fee transactions. It should be set above the real
#cost to you of processing a transaction.
mintxfee=0.005

This way you're mining blocks of 32kB max, you can also lower it till you find a good spot, but this way you're still helping the BTC network. Smiley

spiccioli

spiccioli
Legendary
*
Offline Offline

Activity: 1376

nec sine labore


View Profile
December 27, 2012, 01:45:54 PM
 #4259

BTW,

how much does merged mining influences orphans/DOAs?

If typical p2pool user has a low bandwidth connection (upstream), sharing it with serveral chains does slow them all, doesn't it?

spiccioli

zvs
Legendary
*
Offline Offline

Activity: 1386



View Profile WWW
December 27, 2012, 01:51:06 PM
 #4260


ok, back to 0, heh

zvs,

would you mind trying this in you bitcoin.conf?

Code:
#Maximum size, in bytes, of blocks you create:
blockmaxsize=32768

#How many bytes of the block should be dedicated to high-priority transactions,
#included regardless of the fees they pay
blockprioritysize=4096

#Minimum block size you want to create; block will be filled with free transactions
#until there are no more or the block reaches this size:
blockminsize=8192

#Fee-per-kilobyte amount (in BTC) considered the same as "free"
#Be careful setting this: if you set it to zero then
#a transaction spammer can cheaply fill blocks using
#1-satoshi-fee transactions. It should be set above the real
#cost to you of processing a transaction.
mintxfee=0.005

This way you're mining blocks of 32kB max, you can also lower it till you find a good spot, but this way you're still helping the BTC network. Smiley

spiccioli



would this do it?

        past_shares = list(tracker.get_chain(share_data['previous_share_hash'], min(height, 100)))
        tx_hash_to_this = {}
        for i, share in enumerate(past_shares):
            for j, tx_hash in enumerate(share.new_transaction_hashes):
                if tx_hash not in tx_hash_to_this:
                    tx_hash_to_this[tx_hash] = [1+i, j] # share_count, tx_count
        for tx_hash, fee in desired_other_transaction_hashes_and_fees:
            if tx_hash in tx_hash_to_this:
                this = tx_hash_to_this[tx_hash]
            else:
                if known_txs is not None:
                    this_size = bitcoin_data.tx_type.packed_size(known_txs[tx_hash])
                    if new_transaction_size + this_size > 50000: # only allow 50 kB of new txns/share
                        break
                    new_transaction_size += this_size
                new_transaction_hashes.append(tx_hash)
                this = [0, len(new_transaction_hashes)-1]
            transaction_hash_refs.extend(this)
            other_transaction_hashes.append(tx_hash)


anyway, ok, i'll set it to 50000

i haven't been running merged mining, unfortunately.. i would have liked to have the 100 namecoins

merged mining would cause more DOAs, I'd think....  because you'd have to be running namecoind, ixcoind, whatever else on the same machine as bitcoind...

Dacentec, best deals for US dedicated servers. They regularly restock $20-$25 Opterons with 8-16GB RAM & 2x1-2TB HDD's (ofc, usually lots of other good stuff to choose from).  I did a Serverbear benchmark of one of my $20/mo Opteron (June last year), it's here.  Have had about a half dozen different servers with Dacentec, & none have failed to sustain at least 40MB/s (burst higher). My favorite is a 12-month rent-to-own ZT Systems 2XL5520 16GB 2x2TB SATA for $40/month (got lucky with the 'off-brand', haven't seen a RTO 2xL5520 for under $50/mo since -- at least for monthly contracts).  wholesaleinternet.com has some ancient 2-core intel CPUs @ $10/mo sometimes (I got an Intel Core 2 6300 @ 1.86GHz, with a 250GB HDD with 46000 hours on it, LOL. $20 @ Dacentec is much better, if you can grab one). joesdatacenter.com (same location as Wholesale Internet) also occasionally has specials (or if you don't want to wait, it has an AMD Opteron 170 @ $16/mo).
Pages: « 1 ... 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 [213] 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 ... 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!