Bitcoin Forum
May 02, 2024, 03:23:52 PM *
News: Latest Bitcoin Core release: 27.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 102 times)
markcolls (OP)
Member
**
Offline Offline

Activity: 60
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?
1714663432
Hero Member
*
Offline Offline

Posts: 1714663432

View Profile Personal Message (Offline)

Ignore
1714663432
Reply with quote  #2

1714663432
Report to moderator
1714663432
Hero Member
*
Offline Offline

Posts: 1714663432

View Profile Personal Message (Offline)

Ignore
1714663432
Reply with quote  #2

1714663432
Report to moderator
There are several different types of Bitcoin clients. The most secure are full nodes like Bitcoin Core, but full nodes are more resource-heavy, and they must do a lengthy initial syncing process. As a result, lightweight clients with somewhat less security are commonly used.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714663432
Hero Member
*
Offline Offline

Posts: 1714663432

View Profile Personal Message (Offline)

Ignore
1714663432
Reply with quote  #2

1714663432
Report to moderator
1714663432
Hero Member
*
Offline Offline

Posts: 1714663432

View Profile Personal Message (Offline)

Ignore
1714663432
Reply with quote  #2

1714663432
Report to moderator
1714663432
Hero Member
*
Offline Offline

Posts: 1714663432

View Profile Personal Message (Offline)

Ignore
1714663432
Reply with quote  #2

1714663432
Report to moderator
nc50lc
Legendary
*
Offline Offline

Activity: 2408
Merit: 5581


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 ranochigo (2), ABCbits (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+).

.
.HUGE.
▄██████████▄▄
▄█████████████████▄
▄█████████████████████▄
▄███████████████████████▄
▄█████████████████████████▄
███████▌██▌▐██▐██▐████▄███
████▐██▐████▌██▌██▌██▌██
█████▀███▀███▀▐██▐██▐█████

▀█████████████████████████▀

▀███████████████████████▀

▀█████████████████████▀

▀█████████████████▀

▀██████████▀▀
█▀▀▀▀











█▄▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
CASINSPORTSBOOK
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀▀█











▄▄▄▄█
markcolls (OP)
Member
**
Offline Offline

Activity: 60
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: 2954
Merit: 4165


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.

.
.HUGE.
▄██████████▄▄
▄█████████████████▄
▄█████████████████████▄
▄███████████████████████▄
▄█████████████████████████▄
███████▌██▌▐██▐██▐████▄███
████▐██▐████▌██▌██▌██▌██
█████▀███▀███▀▐██▐██▐█████

▀█████████████████████████▀

▀███████████████████████▀

▀█████████████████████▀

▀█████████████████▀

▀██████████▀▀
█▀▀▀▀











█▄▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
CASINSPORTSBOOK
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀▀█











▄▄▄▄█
nc50lc
Legendary
*
Offline Offline

Activity: 2408
Merit: 5581


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.

.
.HUGE.
▄██████████▄▄
▄█████████████████▄
▄█████████████████████▄
▄███████████████████████▄
▄█████████████████████████▄
███████▌██▌▐██▐██▐████▄███
████▐██▐████▌██▌██▌██▌██
█████▀███▀███▀▐██▐██▐█████

▀█████████████████████████▀

▀███████████████████████▀

▀█████████████████████▀

▀█████████████████▀

▀██████████▀▀
█▀▀▀▀











█▄▄▄▄
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
.
CASINSPORTSBOOK
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀▀█











▄▄▄▄█
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: 3304
Merit: 16583


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

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!