Bitcoin Forum
December 16, 2018, 11:42:37 PM *
News: Latest Bitcoin Core release: 0.17.0 [Torrent].
 
   Home   Help Search Login Register More  
Pages: « 1 [2]  All
  Print  
Author Topic: how to maximize block download speed on a single local node  (Read 2241 times)
Nicolas Dorier
Hero Member
*****
Offline Offline

Activity: 700
Merit: 501


View Profile
June 15, 2015, 01:31:46 PM
 #21

lonteviro, the numbers are in bytes / sec.
I witnessed some peaks at 15 MB/sec like you, but this was more or less random and did not seem to depends on the version of the node.

Quote
Another wierd thing that I saw (i was not able to reproduce it) is that while downloading the blocks, a ping/pong exchange in the middle took 4 seconds.
This is normal, the messages sent from the node to the client are queued in bitcoind.

If client ask 10 000 blocks then does 1 ping, then the pong of the server will be queued at the end of the 10 000 blocks.
This is also why the pong timeout is 20min in bitcoind.

Did you tested on a local node ? your results are very coherent with mine.

I notice no bottleneck of disk IO or CPU. The socket buffer being never full means that NBitcoin is processing blocks faster than they are coming from bitcoind.

Did someone managed (on any library) to fetch block from a local node at a highest speed than 10MB/s ?


Bitcoin address 15sYbVpRh6dyWycZMwPdxJWD4xbfxReeHe
1545003757
Hero Member
*
Offline Offline

Posts: 1545003757

View Profile Personal Message (Offline)

Ignore
1545003757
Reply with quote  #2

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

Posts: 1545003757

View Profile Personal Message (Offline)

Ignore
1545003757
Reply with quote  #2

1545003757
Report to moderator
1545003757
Hero Member
*
Offline Offline

Posts: 1545003757

View Profile Personal Message (Offline)

Ignore
1545003757
Reply with quote  #2

1545003757
Report to moderator
lontivero
Full Member
***
Offline Offline

Activity: 157
Merit: 100

Amazing times are coming


View Profile
June 15, 2015, 08:09:11 PM
 #22

Thanks for the explanation about ping/pong messages.

Yes, I was testing with bitcoind and NBitcoin in the same local machine. And yes, CPU and Disk IO are very low usage (CPU is almost idle).

 
Pages: « 1 [2]  All
  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!