Bitcoin Forum
May 22, 2024, 04:47:22 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: bitcoin-qt very slow to sync  (Read 98 times)
hassenpfeffer (OP)
Newbie
*
Offline Offline

Activity: 13
Merit: 2


View Profile
March 25, 2024, 11:38:32 AM
 #1

I'm running bitcoin-qt and trying to pull down the entire blockchain,
which these days is about 600GB. It seems like just yesterday when
I was able to download the entire thing and it was closer to 250GB,
but actually 4-5 years ago.

The current operation is going much slower than before, and I'm
curious what might explain it. Often I have only 1 peer or 0 peers.
I've gotten overnight maybe 2GB. The peers chart shows very little
downloading activity, just a few vertical spikes, nothing sustained.

The utility iotop is telling me that bitcoin-qt is reading and writing
several megabytes per second however.

I'm currently at 97% downloaded so I assume I am downloading
blocks that many people have on hand. What could explain
the sporadic and slow downloading?
NotATether
Legendary
*
Online Online

Activity: 1610
Merit: 6753


bitcoincleanup.com / bitmixlist.org


View Profile WWW
March 25, 2024, 12:31:32 PM
Merited by Jet Cash (5)
 #2

How much memory do you have?

Do you have an HDD or SSD?

Obviously, syncing will happen faster on a SSD than an HDD. With that being said, blocks from around the 97th percentile (or anything mined one year ago) are plagued with Ordinals transactions which are really heavy and take a long time to process, so that is probably the reason why verification has slowed down.

You can use the addnode RPC call to add some other peers if it's not connecting to any for some reason.

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
Hamza2424
Legendary
*
Offline Offline

Activity: 980
Merit: 1045


#SWGT CERTIK Audited


View Profile WWW
March 25, 2024, 12:44:43 PM
 #3

_SNIP_

it's more likely possible that due to the limited number of peers paring the transmission is slow, there is also a possibility of a bandwidth issue with the peers, many other factors can affect speed as NotATether  mentioned your disk I/O also holds a significant role.

hassenpfeffer (OP)
Newbie
*
Offline Offline

Activity: 13
Merit: 2


View Profile
March 26, 2024, 12:37:48 AM
 #4

How much memory do you have?

Do you have an HDD or SSD?

Obviously, syncing will happen faster on a SSD than an HDD. With that being said, blocks from around the 97th percentile (or anything mined one year ago) are plagued with Ordinals transactions which are really heavy and take a long time to process, so that is probably the reason why verification has slowed down.

You can use the addnode RPC call to add some other peers if it's not connecting to any for some reason.

I have a 2TB HDD (circa ~2017) and a Core i5 4th gen (current generation being 14). I've used various Internet connections, some fast, some slow. I typically run it overnight.

I did a partial sync of just the first 250GB, maybe a year ago, I was using a Raspberry Pi 4 and my old circa-2010 250 GB SSD, and a 200mbs Spectrum connection. That went pretty quick.

The original time when I synced the full blockchain was at the beginning of the pandemic and it went very fast over LTE. During the pandemic my phone carrier gave my $30/month connection unlimited hotspot data. I was using the HDD then and a Core i5 5th gen.

If I use addnode RPC, whose server would I be adding?

Is there a risk that Ordinals might burden the blockchain and make it unusable?
SquirrelJulietGarden
Hero Member
*****
Online Online

Activity: 1330
Merit: 729



View Profile
March 26, 2024, 09:26:27 AM
 #5

The easiest way to do is upgrade your RAM.
If you can afford to have a SSD, let's upgrade.

Check this tutorial to download Bitcoin Core too.

Sharing for Bitcoin Core download: the cheapest pay-per-hour VPS I found.

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

Activity: 2884
Merit: 7512


Crypto Swap Exchange


View Profile
March 26, 2024, 09:35:46 AM
Merited by SquirrelJulietGarden (1)
 #6

I did a partial sync of just the first 250GB, maybe a year ago, I was using a Raspberry Pi 4 and my old circa-2010 250 GB SSD, and a 200mbs Spectrum connection. That went pretty quick.

It's known Rasperrby Pi 4 (even you own 8GB ones) struggle to sync not only due to somewhat slow CPU, but also due to total UTXO above RAM size. Although if you haven't allocate Bitcoin Core to use most RAM, you can by do that by editing bitcoin.conf and add line dbcache=X where X is RAM which used by Bitcoin in MB.

The easiest way to do is upgrade your RAM.
If you can afford to have a SSD, let's upgrade.

Check this tutorial to download Bitcoin Core too.

Sharing for Bitcoin Core download: the cheapest pay-per-hour VPS I found.

You can't really upgrade RAM capacity of Raspberry PPi 4, unless you're willing doing it the hard way[1].

[1] https://hackaday.com/2023/03/05/upgrade-ram-on-your-pi-4-the-fun-way/

█▀▀▀











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











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

Activity: 3318
Merit: 16677


Thick-Skinned Gang Leader and Golden Feather 2021


View Profile WWW
March 26, 2024, 09:40:25 AM
 #7

Often I have only 1 peer or 0 peers.
Any chance you have a firewall, modem or ISP that's blocking connections?

Quote
The utility iotop is telling me that bitcoin-qt is reading and writing several megabytes per second however.
That's normal, especially when you're low on RAM. I counted several TB read/writes in total just to sync Bitcoin Core with 8 GB RAM.

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!