Bitcoin Forum
August 18, 2019, 08:40:40 AM *
News: Latest Bitcoin Core release: 0.18.0 [Torrent] (New!)
 
   Home   Help Search Login Register More  
Pages: « 1 ... 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 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 [281] 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 ... 814 »
  Print  
Author Topic: [1500 TH] p2pool: Decentralized, DoS-resistant, Hop-Proof pool  (Read 2582181 times)
Bitmong
Newbie
*
Offline Offline

Activity: 29
Merit: 0


View Profile
May 30, 2013, 07:48:50 AM
 #5601

I don't know the exact reason why getblocktemplate affected efficiency and even if it's still the case today as forrestv might have changed something that removes this problem. It was still the case very recently (like less than 2 months ago) when getblocktemplate took more than 0.2s. I don't check often how it affects p2pool but I'm doing it right now (in fact I'm studying how the block size and fee limits affect getblocktemplate in the current situation, checking the efficiency is just a bonus). If the behavior of p2pool changed I'll know it in the following days and will be able to update my guide. For now I still recommend to keep it under 0.2s to be safe.

Some recent findings on P2Pool efficiency on my node.

My node is directly connected to the Internet with Ethernet, 100 Mbit/s downstream and 10 Mbit/s upstream. The node is a Phenom four-core processor, with SSD disk. I have 7 mining rigs connected to the node via LAN.

All numbers below are with current (April 2013) P2Pool from Github.

When my configuration was incorrect and Bitcoind could only make outgoing connections, my efficiency was between 95% and 99%.

After fixing the configuration problem, efficiency rose to 110-115% level. I have now 30-40 connections to the Bitcoin network.

When the getblocktemplate latency started to appear, my efficiency was still between 110-115%. My getblocktemplate latency was about 30 seconds at that time.

I have now upgraded to the 0.8.2rc3 version, and the getblocktemplate latency decreased to about 0.1 seconds, but it has increased to 0.9 seconds since the upgrade (in four hours).

Current efficiency after two hours from the upgrade is 102.4%. Well, I think one cannot deduce anything from that yet, maybe the stopping and restarting of bitcoind caused some orphans.

I'll report the efficiency back to this thread after 24 hours have passed with this new bitcoind version.

So, now the pool has run for over 24 hours with the new bitcoind version and:

Code:
# default is 500000, 1000000 is the maximum allowed and will fit more transactions (more fees)
blockmaxsize=1000000
#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.00001
# Same but for relaying the tx to our peers
minrelaytxfee=0.00001

settings.

I have found 70 shares now, 7 orphan and 5 dead, for stale rate of 17.1% (10-28% interval). Pool stale rate is 20.4% now, so efficiency is 104% (90-113% interval).

One thing I remembered was that I have downclocked my CPU to 1.2 GHz from the default clock rate of 2.5 GHz or so to save a little CPU. That might affect things a bit. I might check that at some point.

bitcoind getblocklatency is 0.93 seconds now, so it is much better than the 30 seconds earlier. I think the CPU frequency affects this latency the most, and was likely the reason my latency was 30s with the old bitcoind version.
1566117640
Hero Member
*
Offline Offline

Posts: 1566117640

View Profile Personal Message (Offline)

Ignore
1566117640
Reply with quote  #2

1566117640
Report to moderator
1566117640
Hero Member
*
Offline Offline

Posts: 1566117640

View Profile Personal Message (Offline)

Ignore
1566117640
Reply with quote  #2

1566117640
Report to moderator
1566117640
Hero Member
*
Offline Offline

Posts: 1566117640

View Profile Personal Message (Offline)

Ignore
1566117640
Reply with quote  #2

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

Posts: 1566117640

View Profile Personal Message (Offline)

Ignore
1566117640
Reply with quote  #2

1566117640
Report to moderator
K1773R
Legendary
*
Offline Offline

Activity: 1792
Merit: 1008


/dev/null


View Profile
May 30, 2013, 10:37:06 AM
 #5602

I don't know the exact reason why getblocktemplate affected efficiency and even if it's still the case today as forrestv might have changed something that removes this problem. It was still the case very recently (like less than 2 months ago) when getblocktemplate took more than 0.2s. I don't check often how it affects p2pool but I'm doing it right now (in fact I'm studying how the block size and fee limits affect getblocktemplate in the current situation, checking the efficiency is just a bonus). If the behavior of p2pool changed I'll know it in the following days and will be able to update my guide. For now I still recommend to keep it under 0.2s to be safe.

Some recent findings on P2Pool efficiency on my node.

My node is directly connected to the Internet with Ethernet, 100 Mbit/s downstream and 10 Mbit/s upstream. The node is a Phenom four-core processor, with SSD disk. I have 7 mining rigs connected to the node via LAN.

All numbers below are with current (April 2013) P2Pool from Github.

When my configuration was incorrect and Bitcoind could only make outgoing connections, my efficiency was between 95% and 99%.

After fixing the configuration problem, efficiency rose to 110-115% level. I have now 30-40 connections to the Bitcoin network.

When the getblocktemplate latency started to appear, my efficiency was still between 110-115%. My getblocktemplate latency was about 30 seconds at that time.

I have now upgraded to the 0.8.2rc3 version, and the getblocktemplate latency decreased to about 0.1 seconds, but it has increased to 0.9 seconds since the upgrade (in four hours).

Current efficiency after two hours from the upgrade is 102.4%. Well, I think one cannot deduce anything from that yet, maybe the stopping and restarting of bitcoind caused some orphans.

I'll report the efficiency back to this thread after 24 hours have passed with this new bitcoind version.

So, now the pool has run for over 24 hours with the new bitcoind version and:

Code:
# default is 500000, 1000000 is the maximum allowed and will fit more transactions (more fees)
blockmaxsize=1000000
#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.00001
# Same but for relaying the tx to our peers
minrelaytxfee=0.00001

settings.

I have found 70 shares now, 7 orphan and 5 dead, for stale rate of 17.1% (10-28% interval). Pool stale rate is 20.4% now, so efficiency is 104% (90-113% interval).

One thing I remembered was that I have downclocked my CPU to 1.2 GHz from the default clock rate of 2.5 GHz or so to save a little CPU. That might affect things a bit. I might check that at some point.

bitcoind getblocklatency is 0.93 seconds now, so it is much better than the 30 seconds earlier. I think the CPU frequency affects this latency the most, and was likely the reason my latency was 30s with the old bitcoind version.
no need to downclock, thats sutpid!

[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
furball
Full Member
***
Offline Offline

Activity: 172
Merit: 100



View Profile
May 30, 2013, 11:15:43 AM
 #5603

I have found 70 shares now, 7 orphan and 5 dead, for stale rate of 17.1% (10-28% interval). Pool stale rate is 20.4% now, so efficiency is 104% (90-113% interval).

One thing I remembered was that I have downclocked my CPU to 1.2 GHz from the default clock rate of 2.5 GHz or so to save a little CPU. That might affect things a bit. I might check that at some point.

bitcoind getblocklatency is 0.93 seconds now, so it is much better than the 30 seconds earlier. I think the CPU frequency affects this latency the most, and was likely the reason my latency was 30s with the old bitcoind version.

I've found that the biggest influencer on latency has been the txfee settings. Some people might consider 0.9s latency as still quite high so it might worth trying to tune your txfee settings and see if it comes down even further.

Try setting them to 0.0002 and see if that helps you and then decide if you want to lower it to include more transactions for more fees.
spiccioli
Legendary
*
Offline Offline

Activity: 1377
Merit: 1000

nec sine labore


View Profile
May 30, 2013, 11:20:09 AM
 #5604


Unfortunately, no success...
Blade just do not connect to stratum proxy on p2pool. There is not error message at all.
I would like really to have some developer in it, I can donate my Blade worktime to debug this.

I've made some tests yesterday using cgminer 2.5.10 with a BFL FPGA pointed to the mining proxy (connected to p2pool with forrestv patch) and it does not work if I try using getwork (I get back an error which says that user credentials are wrong).

If I let cgminer switch to stratum, that is if I don't use --fix-protocol then it starts mining without problems.

You can add -P -D to the cgminer command line to see what goes wrong.

I'm running the mining proxy on a fedora 16 pc and cgminer on an ubuntu 12.x server.

spiccioli
lenny_
Legendary
*
Offline Offline

Activity: 1050
Merit: 1000


DARKNETMARKETS.COM


View Profile WWW
May 30, 2013, 12:23:19 PM
 #5605


Unfortunately, no success...
Blade just do not connect to stratum proxy on p2pool. There is not error message at all.
I would like really to have some developer in it, I can donate my Blade worktime to debug this.

I've made some tests yesterday using cgminer 2.5.10 with a BFL FPGA pointed to the mining proxy (connected to p2pool with forrestv patch) and it does not work if I try using getwork (I get back an error which says that user credentials are wrong).

If I let cgminer switch to stratum, that is if I don't use --fix-protocol then it starts mining without problems.

You can add -P -D to the cgminer command line to see what goes wrong.

I'm running the mining proxy on a fedora 16 pc and cgminer on an ubuntu 12.x server.

spiccioli


That's only your local problem. I am using patched stratum proxy with forrestv patch. Stratum proxy to p2pool works 100% fine with my cgminer, both on getwork and stratum ports.
Blade pointed to that proxy (getwork port) just sits and do nothing, while I am successfully mining with cgminer on it, at same time.

DARKNET MARKETS >> https://DARKNETMARKETS.COM
rav3n_pl
Legendary
*
Offline Offline

Activity: 1359
Merit: 1000


Don`t panic! Organize!


View Profile WWW
May 30, 2013, 12:36:49 PM
 #5606

I've made some tests yesterday using cgminer 2.5.10 with a BFL FPGA pointed to the mining proxy (connected to p2pool with forrestv patch) and it does not work if I try using getwork (I get back an error which says that user credentials are wrong).
Maybe update cgminer?

1Rav3nkMayCijuhzcYemMiPYsvcaiwHni  Bitcoin stuff on my OneDrive
My RPC CoinControl for any coin https://bitcointalk.org/index.php?topic=929954
Some stuff on https://github.com/Rav3nPL/
spiccioli
Legendary
*
Offline Offline

Activity: 1377
Merit: 1000

nec sine labore


View Profile
May 30, 2013, 02:20:57 PM
 #5607

I've made some tests yesterday using cgminer 2.5.10 with a BFL FPGA pointed to the mining proxy (connected to p2pool with forrestv patch) and it does not work if I try using getwork (I get back an error which says that user credentials are wrong).
Maybe update cgminer?

Why should I? Getwork is so old and cgminer 2.5.10 has been released around february this year, maybe I could try an older version of cgminer...

spiccioli
spiccioli
Legendary
*
Offline Offline

Activity: 1377
Merit: 1000

nec sine labore


View Profile
May 30, 2013, 02:22:40 PM
 #5608


Unfortunately, no success...
Blade just do not connect to stratum proxy on p2pool. There is not error message at all.
I would like really to have some developer in it, I can donate my Blade worktime to debug this.

I've made some tests yesterday using cgminer 2.5.10 with a BFL FPGA pointed to the mining proxy (connected to p2pool with forrestv patch) and it does not work if I try using getwork (I get back an error which says that user credentials are wrong).

If I let cgminer switch to stratum, that is if I don't use --fix-protocol then it starts mining without problems.

You can add -P -D to the cgminer command line to see what goes wrong.

I'm running the mining proxy on a fedora 16 pc and cgminer on an ubuntu 12.x server.

spiccioli


That's only your local problem. I am using patched stratum proxy with forrestv patch. Stratum proxy to p2pool works 100% fine with my cgminer, both on getwork and stratum ports.
Blade pointed to that proxy (getwork port) just sits and do nothing, while I am successfully mining with cgminer on it, at same time.

good to know, lenny_, can you tell me the command line you're using to start stratum_mining_proxy.py ?

thanks!

spiccioli
xgtele
Sr. Member
****
Offline Offline

Activity: 288
Merit: 250



View Profile
May 30, 2013, 02:56:17 PM
 #5609

Newbie question: How to update bitcoind from 0.8.1 to 0.8.2 in Ubuntu 13.04 64-bit server running 11.4 p2pool? Step by step pls..


http://sourceforge.net/projects/bitcoin/files/Bitcoin/bitcoin-0.8.2/

0.8.2 is out of RC and Released into the wild.
bitpop
Legendary
*
Offline Offline

Activity: 2520
Merit: 1045


https://keybase.io/bitpop


View Profile WWW
May 30, 2013, 02:58:56 PM
 #5610

Just replace the files and run as before

Reputation  |  PGP  |  Ethereum Classic
Bitcoin: 3DSh6AnmvBpDJFUz2mnLirMLmTMcFs9nDm
xgtele
Sr. Member
****
Offline Offline

Activity: 288
Merit: 250



View Profile
May 30, 2013, 03:03:46 PM
Last edit: May 30, 2013, 03:21:14 PM by xgtele
 #5611

Can you point me to the correct directory where these files are located? The server does not have any GUI, linux commands from terminal only..

I tried:

sudo add-apt-repository ppa:bitcoin/bitcoin
sudo apt-get update
sudo apt-get install bitcoind

But the system said that I have the latest version (0.8.1, not 0.8.2)

Just replace the files and run as before
Subo1977
Sr. Member
****
Offline Offline

Activity: 344
Merit: 250


Flixxo - Watch, Share, Earn!


View Profile
May 30, 2013, 03:52:21 PM
 #5612

Can you point me to the correct directory where these files are located? The server does not have any GUI, linux commands from terminal only..

I tried:

sudo add-apt-repository ppa:bitcoin/bitcoin
sudo apt-get update
sudo apt-get install bitcoind

But the system said that I have the latest version (0.8.1, not 0.8.2)

Just replace the files and run as before

The ppa is behind :-)

X       ▄▄█████████▄▄
    ▄██▀▀         ▀▀██▄
  ▄██▀              ▀██▄
 ▄██     ██▄▄          ██▄
▄██      █████▄▄        ██▄
██       ████████▄▄      ██
██       ███████████▄    ██
██       ██████████▀     ██
▀██      ███████▀       ██▀
 ▀██     ████▀         ██▀
  ▀██▄   █▀          ▄██▀
    ▀██▄▄         ▄▄██▀
       ▀▀█████████▀▀
.flixxo    X▄████████████████████▄
██████████████████████
██████████████████████
████████████▀▀███████
█████▀████░░░░░░▄████
█████░░░░░░░░░░▄█████
█████▄░░░░░░░░░░██████
██████░░░░░░░░░███████
███████░░░░░░▄████████
████▄▄░░░░▄▄██████████
██████████████████████
██████████████████████
▀████████████████████▀
▄████████████████████▄
██████████████████████
█████████▀█▀██████████
██████▀▀▀▀▀████████
██████▄▄░░▄▄▄░░███████
████████░░███░░███████
████████░░░░░░▀███████
████████░░███▄░░██████
██████▀▀░░▀▀▀░░░██████
██████▄▄▄▄▄▄███████
█████████▄█▄██████████
██████████████████████
▀████████████████████▀
X[[]]X
twmz
Hero Member
*****
Offline Offline

Activity: 737
Merit: 500



View Profile
May 30, 2013, 04:26:40 PM
 #5613

Can you point me to the correct directory where these files are located? The server does not have any GUI, linux commands from terminal only..

I tried:

sudo add-apt-repository ppa:bitcoin/bitcoin
sudo apt-get update
sudo apt-get install bitcoind

But the system said that I have the latest version (0.8.1, not 0.8.2)

Just replace the files and run as before

Download it from bitcoin.org and install it by hand:

http://bitcoin.org/en/download


Was I helpful?  1TwmzX1wBxNF2qtAJRhdKmi2WyLZ5VHRs
WoT, GPG

Bitrated user: ewal.
xgtele
Sr. Member
****
Offline Offline

Activity: 288
Merit: 250



View Profile
May 30, 2013, 04:33:35 PM
Last edit: June 01, 2013, 10:27:37 AM by xgtele
 #5614

twmz, I don't know yet how to do it correctly - if you can advice me with your step-by-step instructions, it will be great.


Download it from bitcoin.org and install it by hand:
http://bitcoin.org/en/download

UPDATE

Compiling bitcoind/litecoind on Ubuntu Server 13.04

http://bitcointalk.co.za/t/compiling-bitcoind-litecoind-on-ubuntu-server-13-04/44

twmz
Hero Member
*****
Offline Offline

Activity: 737
Merit: 500



View Profile
May 30, 2013, 05:06:54 PM
 #5615

twmz, I don't know yet how to do it correctly - if you can advice me with your step-by-step instructions, it will be great.

No, I am not willing to provide step by step instructions, sorry.  The best way to learn is to just try it and figure it out as you go along.  If you don't want to do that, I understand, but then you are probably better off just waiting for the PPA to be updated.

Was I helpful?  1TwmzX1wBxNF2qtAJRhdKmi2WyLZ5VHRs
WoT, GPG

Bitrated user: ewal.
bitpop
Legendary
*
Offline Offline

Activity: 2520
Merit: 1045


https://keybase.io/bitpop


View Profile WWW
May 30, 2013, 05:07:56 PM
 #5616

Make a virtual machine you can screw up and learn on

Reputation  |  PGP  |  Ethereum Classic
Bitcoin: 3DSh6AnmvBpDJFUz2mnLirMLmTMcFs9nDm
mdude77
Legendary
*
Offline Offline

Activity: 1540
Merit: 1001



View Profile
May 30, 2013, 07:07:37 PM
 #5617

twmz, I don't know yet how to do it correctly - if you can advice me with your step-by-step instructions, it will be great.

No, I am not willing to provide step by step instructions, sorry.  The best way to learn is to just try it and figure it out as you go along.  If you don't want to do that, I understand, but then you are probably better off just waiting for the PPA to be updated.

Or use Windows.

M

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

Activity: 188
Merit: 100



View Profile
May 30, 2013, 07:13:00 PM
 #5618

I welcome everyone to use my public node, very fast and reliable, see signature

i would consider using it if in europe.
bitpop
Legendary
*
Offline Offline

Activity: 2520
Merit: 1045


https://keybase.io/bitpop


View Profile WWW
May 30, 2013, 07:26:28 PM
 #5619

It's ok it's in Oregon

I welcome everyone to use my public node, very fast and reliable, see signature

i would consider using it if in europe.

Reputation  |  PGP  |  Ethereum Classic
Bitcoin: 3DSh6AnmvBpDJFUz2mnLirMLmTMcFs9nDm
maqifrnswa
Sr. Member
****
Offline Offline

Activity: 454
Merit: 250


View Profile
May 30, 2013, 07:43:05 PM
 #5620

twmz, I don't know yet how to do it correctly - if you can advice me with your step-by-step instructions, it will be great.

No, I am not willing to provide step by step instructions, sorry.  The best way to learn is to just try it and figure it out as you go along.  If you don't want to do that, I understand, but then you are probably better off just waiting for the PPA to be updated.

Or use Windows.

M

Or wait 40 minutes...
the ubuntu ppa binaries have been uploaded
Pages: « 1 ... 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 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 [281] 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 ... 814 »
  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!