So, now I'll set maxblocksize to 1000000 (!!), and restart the server. Not a huge deal anymore since even with my 6.7c or so electricity, bitcoins are just marginal profit nowadays. Don't mind a lot more DOA/orphans for the next day or two for the sake of showing that this setting kills.
I'm extremely curious about the results. If it indeed kills your efficiency, we'll have to understand why it happens on your setup and not mine (I even lowered mintxfee and minrelaytxfee to make it easier for bitcoind to fill the blocks). I'm still at 110+ efficiency with getmininginfo confirming that the block templates generated by bitcoind are indeed ~1MB.
I only know of 2 reasons why it could kill your efficiency:
- it generates too much traffic, filling your pipe (reduce your bitcoind and p2pool number of connections). It can happen even with large pipes if your hoster have some peering limitation.
- your CPU is maxed out (you should have one core free for P2Pool to be safe)
Maybe we will find another one to document in the guide.
Well, it's doing better ATM, with 19 shares and just 1 dead.
But, it's also adding a lot of load to the system and I can tell that if you took a large enough sample it'd be worse... simply because (if nothing else):
2013-06-17 06:45:57.826722 New work for worker! Difficulty: 1.586613 Share difficulty: 1237.801257 Total block value: 25.956635 BTC including 1204 transactions
2013-06-17 06:45:57.914912 New work for worker! Difficulty: 1.586613 Share difficulty: 1237.801257 Total block value: 25.956635 BTC including 1204 transactions
2013-06-17 06:45:58.003061 New work for worker! Difficulty: 1.586613 Share difficulty: 1237.801257 Total block value: 25.956635 BTC including 1204 transactions
2013-06-17 06:45:58.091624 New work for worker! Difficulty: 1.586613 Share difficulty: 1237.801257 Total block value: 25.956635 BTC including 1204 transactions
2013-06-17 06:45:58.182583 New work for worker! Difficulty: 5.000000 Share difficulty: 1237.801257 Total block value: 25.956635 BTC including 1204 transactions
vs
2013-06-17 08:06:45.156392 New work for worker! Difficulty: 1.170742 Share difficulty: 1063.111336 Total block value: 25.207522 BTC including 280 transactions
2013-06-17 08:06:45.180769 New work for worker! Difficulty: 1.170742 Share difficulty: 1063.111336 Total block value: 25.207522 BTC including 280 transactions
2013-06-17 08:06:45.204890 New work for worker! Difficulty: 1.170742 Share difficulty: 1063.111336 Total block value: 25.207522 BTC including 280 transactions
2013-06-17 08:06:45.229186 New work for worker! Difficulty: 1.170742 Share difficulty: 1063.111336 Total block value: 25.207522 BTC including 280 transactions
2013-06-17 08:06:45.256788 New work for worker! Difficulty: 5.000000 Share difficulty: 1063.111336 Total block value: 25.207522 BTC including 280 transactions
vs
2013-06-17 09:22:29.858692 New work for worker! Difficulty: 1.203949 Share difficulty: 1063.354280 Total block value: 25.000000 BTC including 0 transactions
2013-06-17 09:22:29.862099 New work for worker! Difficulty: 1.203949 Share difficulty: 1063.354280 Total block value: 25.000000 BTC including 0 transactions
2013-06-17 09:22:29.865353 New work for worker! Difficulty: 1.203949 Share difficulty: 1063.354280 Total block value: 25.000000 BTC including 0 transactions
2013-06-17 09:22:29.868686 New work for worker! Difficulty: 1.203949 Share difficulty: 1063.354280 Total block value: 25.000000 BTC including 0 transactions
2013-06-17 09:22:29.874997 New work for worker! Difficulty: 5.000000 Share difficulty: 1063.354280 Total block value: 25.000000 BTC including 0 transactions
... I dunno if it goes by the order it says, but if so, it generates my new work last, and the other four people on my pool before me. With 1204 transactions, it takes 0.355861 seconds between #1 and #5, with 280 transactions it takes 0.100396 seconds, with 0 transactions it takes 0.016305 seconds. More people mining at your pool = more pronounced effect. If my pool was private w/ just myself on it, it'd still generate work, what, about ~.05s slower with all those transactions vs having 0 (though the lowest I'd drop my maxblocksize to would probably have a dozen or so).
In the 1204 case, that's adding 355ms to a 10s cycle, which should result in 3.5% more DOA
ed: didn't check to see whether it was based on # of transactions or size of total transactions. also, it's adding like *340ms, not 355ms. machine load could have affected times a bit, but there's still the trend that's plain to see. not doing anything else on it atm besides running bitcoind and p2pool
ed2: there's also the bizarre thing where now i'm suddenly receiving more data than sending. logically (to me at least) that seems like it'd result in more orphans? what's up w/ that, anyway? anyway, based simply on the ^^ up there that indicates i'm receiving work probably about 150ms slower on average, i'm going to cut this short and reduce my maxblocksize again. even if you go with an extreme best case scenario and say I find a block w/ 1BTC in transaction fees... when I receive less than 1/100th of the total pie, that isn't worth 1.5% more DOA..
though I suppose one could make a case for going with 10000, 20000, or 30000 maxblocksize... (or setting the minimum relay fee much higher, and then setting maxblocksize to 1000000)
ed3: oh, and while I was typing ed2, I did just pick up an orphan. heh.
ed4: 6 transactions
2013-06-17 10:17:59.878132 New work for worker! Difficulty: 1.589736 Share difficulty: 1259.470588 Total block value: 25.004000 BTC including 6 transactions
2013-06-17 10:17:59.881803 New work for worker! Difficulty: 1.589736 Share difficulty: 1259.470588 Total block value: 25.004000 BTC including 6 transactions
2013-06-17 10:17:59.885549 New work for worker! Difficulty: 1.589736 Share difficulty: 1259.470588 Total block value: 25.004000 BTC including 6 transactions
2013-06-17 10:17:59.891466 New work for worker! Difficulty: 1.589736 Share difficulty: 1259.470588 Total block value: 25.004000 BTC including 6 transactions
2013-06-17 10:17:59.898578 New work for worker! Difficulty: 5.000000 Share difficulty: 1259.470588 Total block value: 25.004000 BTC including 6 transactions
0.020446 seconds
2013-06-17 10:23:14.937386 New work for worker! Difficulty: 1.336302 Share difficulty: 1245.582868 Total block value: 25.045000 BTC including 6 transactions
2013-06-17 10:23:14.940579 New work for worker! Difficulty: 1.336302 Share difficulty: 1245.582868 Total block value: 25.045000 BTC including 6 transactions
2013-06-17 10:23:14.943615 New work for worker! Difficulty: 1.336302 Share difficulty: 1245.582868 Total block value: 25.045000 BTC including 6 transactions
2013-06-17 10:23:14.946616 New work for worker! Difficulty: 1.336302 Share difficulty: 1245.582868 Total block value: 25.045000 BTC including 6 transactions
2013-06-17 10:23:14.952521 New work for worker! Difficulty: 5.000000 Share difficulty: 1245.582868 Total block value: 25.045000 BTC including 6 transactions
0.015135 seconds.. 0 transactions probably comes with some base amount, i doubt the 6 adds much time at all