Bitcoin Forum
November 11, 2024, 03:32:33 PM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Why is my Bitcoin Core downloading progressing so slowly at the end?  (Read 104 times)
markcolls (OP)
Member
**
Offline Offline

Activity: 63
Merit: 21


View Profile
November 30, 2020, 04:47:41 AM
Merited by ABCbits (1)
 #1

For reference I'm downloading it over Tor.

The first 80% downloaded at a fairly good rate of 5%-7% per hour, but then it got blisteringly slow - between 0.1% and 1% per hour. Why is it all of a sudden downloading so slowly at the end? I have tried restarting tor and generating new circuits, but its still really slow.

So my two questions are why has it gotten this slow at the end and is there anything I can do to speed it up?
nc50lc
Legendary
*
Offline Offline

Activity: 2590
Merit: 6366


Self-proclaimed Genius


View Profile
November 30, 2020, 05:12:20 AM
Last edit: November 30, 2020, 05:32:15 AM by nc50lc
Merited by ABCbits (2), ranochigo (2), hugeblack (2), hosseinimr93 (1)
 #2

Is "first 80%" an approximate? Anyways, there are some reasons:
  • Older blocks have less transactions in them, making the download size of each blocks low making it sync faster.
  • Some blocks from genesis block to block height 453354 (refer to the edit) are being assumed as valid and won't require verifications that could speed-up the sync process.
  • Etc.
.
Note: I checked the code and the latest indicates that the default is now: Block Height 654683 (link).
I don't know when (version) it was changed.
-Edit-
Found it, that was 28days ago (Pull Request link) and it was 623950 before that.

So my two questions are why has it gotten this slow at the end and is there anything I can do to speed it up?
If you haven't touched the dbcache (database cache), you can increase it based from your available RAM (about half+).

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
markcolls (OP)
Member
**
Offline Offline

Activity: 63
Merit: 21


View Profile
November 30, 2020, 05:24:00 AM
 #3

Is "first 80%" an approximate? Anyways, there are some reasons:
  • Older blocks have less transactions in them, making the download size of each blocks low making it sync faster.
  • Some blocks from genesis block to block height 453354 (2017) are being assumed as valid and won't require verifications that could speed-up the sync process.
  • Etc.
.
Note: I checked the code and the latest indicates that the default is now: Block Height 654683 (link).
I don't know when (version) it was changed.

So my two questions are why has it gotten this slow at the end and is there anything I can do to speed it up?
If you haven't touched the dbcache (database cache), you can increase it based from your available RAM (about half+).

So where it says "Progress XX.XX%" in BitcoinCore it is reporting by percentage of blocks done and not percentage of GB done?
ranochigo
Legendary
*
Offline Offline

Activity: 3038
Merit: 4420


Crypto Swap Exchange


View Profile
November 30, 2020, 05:25:48 AM
 #4

So my two questions are why has it gotten this slow at the end and is there anything I can do to speed it up?
Other than the other two, you can actually improve the speed by making Core assume that blocks are valid up to a certain higher block height. I do not condone this as it means that you're validating your block less and that if whatever data source you're getting the block height from is malicious, you'll have very serious repercussions.

Else, whatever nc50lc said is correct. If you're synchronizing a Bitcoin Core instance for your own usage, you can only increase dbcache to improve the synchronization. In my case, I was synchronizing the testnet client so it wasn't of much risk for me to do so.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
nc50lc
Legendary
*
Offline Offline

Activity: 2590
Merit: 6366


Self-proclaimed Genius


View Profile
November 30, 2020, 05:30:05 AM
 #5

-snip-
So where it says "Progress XX.XX%" in BitcoinCore it is reporting by percentage of blocks done and not percentage of GB done?
Yup, it's based from the number of downloaded/verified blocks and the tip, not the size.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
cbno79
Newbie
*
Offline Offline

Activity: 1
Merit: 0


View Profile
August 12, 2021, 03:26:47 PM
 #6

I am having similar trouble downloading the Bitcoin core.
Its stuck at 89%.
Where and how will I edit the dbcache please
LoyceV
Legendary
*
Offline Offline

Activity: 3486
Merit: 17659


Thick-Skinned Gang Leader and Golden Feather 2021


View Profile WWW
August 12, 2021, 04:14:26 PM
 #7

Where and how will I edit the dbcache please
Settings > Options > Size of database cache > xxxx MB
But it depends on how much RAM your system has (available). If your system has 16 GB, you can try 8192 MB. If your system has only 4 GB, it's time for an upgrade Wink

▄▄███████████████████▄▄
▄█████████▀█████████████▄
███████████▄▐▀▄██████████
███████▀▀███████▀▀███████
██████▀███▄▄████████████
█████████▐█████████▐█████
█████████▐█████████▐█████
██████████▀███▀███▄██████
████████████████▄▄███████
███████████▄▄▄███████████
█████████████████████████
▀█████▄▄████████████████▀
▀▀███████████████████▀▀
Peach
BTC bitcoin
Buy and Sell
Bitcoin P2P
.
.
▄▄███████▄▄
▄████████
██████▄
▄██
█████████████████▄
▄███████
██████████████▄
███████████████████████
█████████████████████████
████████████████████████
█████████████████████████
▀███████████████████████▀
▀█████████████████████▀
▀██████████████████▀
▀███████████████▀
▀▀███████▀▀

▀▀▀▀███▀▀▀▀
EUROPE | AFRICA
LATIN AMERICA
▄▀▀▀











▀▄▄▄


███████▄█
███████▀
██▄▄▄▄▄░▄▄▄▄▄
████████████▀
▐███████████▌
▐███████████▌
████████████▄
██████████████
███▀███▀▀███▀
.
Download on the
App Store
▀▀▀▄











▄▄▄▀
▄▀▀▀











▀▄▄▄


▄██▄
██████▄
█████████▄
████████████▄
███████████████
████████████▀
█████████▀
██████▀
▀██▀
.
GET IT ON
Google Play
▀▀▀▄











▄▄▄▀
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!