Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: pereira4 on March 18, 2016, 07:31:06 PM



Title: Download of the blockchain interrupted all the time
Post by: pereira4 on March 18, 2016, 07:31:06 PM
As you see on this pic:

https://ip.bitcointalk.org/?u=http%3A%2F%2Foi66.tinypic.com%2F291p05h.jpg&t=562&c=OTqIkmROfyBRcw

my download of the blockchain gets interrupted all the time. It downloads in small chuncks. It takes me hours to download 3 or 4 last days (I usually open my node every 3 or 4 days because my computer is crap to leave it open all the time) and it takes just so much to download the thing.

As you can see for some reason, it downloads for a while, then it stops for a while, then it downloads a little bit, stops again... it takes ages.



Title: Re: Download of the blockchain interrupted all the time
Post by: unamis76 on March 18, 2016, 07:41:37 PM
This is normal behaviour, the graph looks like that. Don't forget that blocks are, tops, 1MB and that you have to verify them in between downloading.


Title: Re: Download of the blockchain interrupted all the time
Post by: ranochigo on March 19, 2016, 02:40:17 AM
The spikes would usually indicate the client downloading new blocks that are mined recently from an updated peer. IIRC, Bitcoin Core does download and verify the blocks simultaneously or at least download several blocks and verify them(?). Dont quote me on that though.


Title: Re: Download of the blockchain interrupted all the time
Post by: pereira4 on March 19, 2016, 04:04:42 PM
But is it normal that it takes hours to go from "4 days ago" to the current one? I mean its just only 4 days, how many mb can be that? As far as I know they have made Bitcoin verify the blocks faster with this update, but it's still as slow as ever for me.
What I noticed is it's a lot faster when you open it, but now then synchronizing.


Title: Re: Download of the blockchain interrupted all the time
Post by: ayesha201009 on March 19, 2016, 04:06:58 PM
But is it normal that it takes hours to go from "4 days ago" to the current one? I mean its just only 4 days, how many mb can be that? As far as I know they have made Bitcoin verify the blocks faster with this update, but it's still as slow as ever for me.
What I noticed is it's a lot faster when you open it, but now then synchronizing.

entire blockchain is big so far  a couple of gb...
it's normal that you have to wait a bunch of time... just be patients...


Title: Re: Download of the blockchain interrupted all the time
Post by: ranochigo on March 19, 2016, 05:39:24 PM
But is it normal that it takes hours to go from "4 days ago" to the current one? I mean its just only 4 days, how many mb can be that? As far as I know they have made Bitcoin verify the blocks faster with this update, but it's still as slow as ever for me.
What I noticed is it's a lot faster when you open it, but now then synchronizing.
Bitcoin network on average, generates roughly 144 blocks per day. Multiply that by 4 and it would be 576 blocks. On the worst case scenario when the blocks are filled to the brim, it would result in 576mb.

Even though the verification is improved, quality of your connected peers, internet speed and HDD speed remained unchanged. These could cause a bottleneck.


Title: Re: Download of the blockchain interrupted all the time
Post by: pereira4 on March 22, 2016, 01:57:35 PM
But is it normal that it takes hours to go from "4 days ago" to the current one? I mean its just only 4 days, how many mb can be that? As far as I know they have made Bitcoin verify the blocks faster with this update, but it's still as slow as ever for me.
What I noticed is it's a lot faster when you open it, but now then synchronizing.
Bitcoin network on average, generates roughly 144 blocks per day. Multiply that by 4 and it would be 576 blocks. On the worst case scenario when the blocks are filled to the brim, it would result in 576mb.

Even though the verification is improved, quality of your connected peers, internet speed and HDD speed remained unchanged. These could cause a bottleneck.
Yeah I should update my hardware, but I can't now, no money.
If I had to choose, what would be better, more ram, an SSD, a better CPU? what's the priority here?
I've got an old quadcore, a regular 7200 RPM hard drive, and 4 gigs of ram.


Title: Re: Download of the blockchain interrupted all the time
Post by: shorena on March 22, 2016, 02:09:21 PM
But is it normal that it takes hours to go from "4 days ago" to the current one? I mean its just only 4 days, how many mb can be that? As far as I know they have made Bitcoin verify the blocks faster with this update, but it's still as slow as ever for me.
What I noticed is it's a lot faster when you open it, but now then synchronizing.
Bitcoin network on average, generates roughly 144 blocks per day. Multiply that by 4 and it would be 576 blocks. On the worst case scenario when the blocks are filled to the brim, it would result in 576mb.

Even though the verification is improved, quality of your connected peers, internet speed and HDD speed remained unchanged. These could cause a bottleneck.
Yeah I should update my hardware, but I can't now, no money.
If I had to choose, what would be better, more ram, an SSD, a better CPU? what's the priority here?
I've got an old quadcore, a regular 7200 RPM hard drive, and 4 gigs of ram.

Unless you are several CPU generations behind I dont see a reason for you to update yet. As long as the machine runs 24/7, is well connected[1] it should do fine. Even if you shut it down over night you should be fine. You obviously cant expect from the machine to have core up and running within a few minutes as with a modern CPU and an SSD, but I dont think its unreasonable to run a node on an older machine. Keep in mind people are still using RasPis to run a full node. Your machine should be way faster than a RasPi.


Edit:
[1] try adding
Code:
addnode=188.68.53.44:8333 
checkblocks=144 #0=all; default 288
checklevel=2 #0-4; default 3

to your bitcoin.conf.

This will make you connect to my node (and others) so you have at least one connection that can provide blocks quickly and reduce the time needed to check blocks on startup.


Title: Re: Download of the blockchain interrupted all the time
Post by: unamis76 on March 22, 2016, 03:02:04 PM
But is it normal that it takes hours to go from "4 days ago" to the current one? I mean its just only 4 days, how many mb can be that? As far as I know they have made Bitcoin verify the blocks faster with this update, but it's still as slow as ever for me.
What I noticed is it's a lot faster when you open it, but now then synchronizing.
Bitcoin network on average, generates roughly 144 blocks per day. Multiply that by 4 and it would be 576 blocks. On the worst case scenario when the blocks are filled to the brim, it would result in 576mb.

Even though the verification is improved, quality of your connected peers, internet speed and HDD speed remained unchanged. These could cause a bottleneck.
Yeah I should update my hardware, but I can't now, no money.
If I had to choose, what would be better, more ram, an SSD, a better CPU? what's the priority here?
I've got an old quadcore, a regular 7200 RPM hard drive, and 4 gigs of ram.

When you upgrade, SSD should be your priority in order to run Core faster, as far as I can see from syncing speed feedbacks.