Bitcoin Forum
October 15, 2018, 11:52:51 AM *
News: Make sure you are not using versions of Bitcoin Core other than 0.17.0 [Torrent], 0.16.3, 0.15.2, or 0.14.3. More info.
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Big periods of inactivity while syncing the blockchain  (Read 51 times)
cellard
Legendary
*
Offline Offline

Activity: 1162
Merit: 1150


View Profile
January 21, 2018, 03:44:36 PM
 #1



As you can see there, it takes a long time between download activity to start, then it stops again, has a big period of inactivity, and then downloads a bit more, has another period of inactivity... it's really annoying. Sometimes it just wouldn't start downloading again, and I have to end up closing and opening again the client. This has been happening to me since the early Bitcoin-qt days. My connectivity is good as far as I know, I got a decent amount of peers connected.

1539604371
Hero Member
*
Offline Offline

Posts: 1539604371

View Profile Personal Message (Offline)

Ignore
1539604371
Reply with quote  #2

1539604371
Report to moderator
1539604371
Hero Member
*
Offline Offline

Posts: 1539604371

View Profile Personal Message (Offline)

Ignore
1539604371
Reply with quote  #2

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

Posts: 1539604371

View Profile Personal Message (Offline)

Ignore
1539604371
Reply with quote  #2

1539604371
Report to moderator
ranochigo
Legendary
*
Offline Offline

Activity: 1568
Merit: 1094

Somewhat inactive.


View Profile WWW
January 21, 2018, 03:53:24 PM
 #2

It takes a lot more than your internet to synchronize your wallet. The common issue is with the CPU. Try opening your task manager and see if the usage is rising as the download stops.

Else, if you increase your dbcache, it would certainly help you with the synchonizing significantly.

cellard
Legendary
*
Offline Offline

Activity: 1162
Merit: 1150


View Profile
January 21, 2018, 05:01:38 PM
 #3

It takes a lot more than your internet to synchronize your wallet. The common issue is with the CPU. Try opening your task manager and see if the usage is rising as the download stops.

Else, if you increase your dbcache, it would certainly help you with the synchonizing significantly.

What dbcache value should I be using and what does this dbcache value is choosen in respect to? like depending on how much RAM you got, or CPU power?

I've got 8 gigs of RAM, I got a pretty old CPU tho, it's a 2008 quadcore, but still serves me well in most tasks. Modern CPU's have the Intel Management spywarefest so I never bothered updating.

I will try to monitor later the CPU cycles and see if they go during these gaps, probably could be that it's processing the blocks and can't download and process at the same time??

fabioganga
Full Member
***
Offline Offline

Activity: 448
Merit: 113


Bitcore (BTX) - The future is already here!


View Profile
January 21, 2018, 05:52:06 PM
 #4



As you can see there, it takes a long time between download activity to start, then it stops again, has a big period of inactivity, and then downloads a bit more, has another period of inactivity... it's really annoying. Sometimes it just wouldn't start downloading again, and I have to end up closing and opening again the client. This has been happening to me since the early Bitcoin-qt days. My connectivity is good as far as I know, I got a decent amount of peers connected.

Try launching your wallet adding this paramatere: -dbcache=500

You can also put this same instruction in the bitcoin.conf file if you prefer.

LoyceV
Legendary
*
Online Online

Activity: 1274
Merit: 2095


Self-made Legendary!


View Profile WWW
January 21, 2018, 05:54:56 PM
 #5

I will try to monitor later the CPU cycles and see if they go during these gaps, probably could be that it's processing the blocks and can't download and process at the same time??
I've noticed the same: it downloads in batches, then processes them.

HCP
Hero Member
*****
Offline Offline

Activity: 756
Merit: 932

<insert witty quote here>


View Profile
January 22, 2018, 04:44:19 AM
 #6

syncing is NOT just simply about downloading all the blocks... Your node must then validate each and every block... which involves validating each and every transaction inside each and every block and making sure that signatures and hashes all match up as they should.

This is relatively CPU intensive work... Older CPUs (even quadcores) will struggle.

The wallet will download large chunks of data and then validate it before downloading more data... and with a decent network connection, it is able to fill the data "buffer" a lot faster than the CPU can process it all. So, it quite often looks like it is "doing nothing" if you just look at the network activity. Take a look at your CPU usage while syncing, I'm sure you'll see a VERY different usage pattern Wink

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