Bitcoin Forum
May 21, 2024, 09:42:59 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: New Node, Very Slow Progress  (Read 88 times)
SaskBitcoin (OP)
Newbie
*
Offline Offline

Activity: 4
Merit: 6


View Profile
February 07, 2021, 12:43:59 PM
Merited by LoyceV (4), ABCbits (1)
 #1

Hi,
I am trying to start a new node to help the stability of the network and learn more about bitcoin. I installed core yesterday but things are going very slowly.

I switched to bitcoind (from bitcoin-qt) to see if that made any difference. I don't think it did. Any help appreciated. The debug.log is posted.


Bitcoin Client Software and Version Number: Bitcoin Core 0.21.0
Operating System: fedora 33 64-bit
System Hardware Specs: I7-2670QM CPU (8 CPUs) with 6 GB RAM and 500 GB free hard drive space.
Description of Problem: Bitcoin Core is synching very very slowly
Any Related Addresses: None
Any Related Transaction IDs: None
Log Files from the Bitcoin Client: https://pastebin.com/p7LqkPEu
LoyceV
Legendary
*
Offline Offline

Activity: 3318
Merit: 16676


Thick-Skinned Gang Leader and Golden Feather 2021


View Profile WWW
February 07, 2021, 12:49:42 PM
 #2

Unfortunately, this is "normal". You can probably improve performance a bit by increasing dbcache (database cache) in settings. Depending on your system's memory usage you can probably make it 2048 (MB). More RAM (and more dbcache) would make a large improvement.
The other bottleneck is your hard drive: an SSD is much faster for this task.

Note that by default nodes aren't uploading, so if you want to "help the network", you have to manually enable it.

ABCbits
Legendary
*
Offline Offline

Activity: 2884
Merit: 7511


Crypto Swap Exchange


View Profile
February 07, 2021, 12:51:19 PM
Merited by SaskBitcoin (1)
 #3

You could allocate more RAM used by Bitcoin Core. There are 2 ways to do it,
1. Add -dbcache=N (N is total of RAM used in MB) if you run Bitcoin Core from Terminal.

Code:
./bitcoin-qt -dbcache=4000

2. Open bitcoin.conf (located on folder where you store blockchain) and add dbcache=N on new line. If bitcoin.conf isn't exist, all you need to do is create new .txt file and rename it as bitcoin.conf.

Code:
dbcache=4000

You can change 4000 (in MB) higher or lower depending on your desktop environment and RAM usage when it's idle.

Additionally,
1. How fast is your internet connection?
2. Using tools such as htop and iotop, do you see your CPU/IO usage is near 100% all the time? If yes, that's the reason of slow sync progress.

█▀▀▀











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











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

Activity: 3318
Merit: 16676


Thick-Skinned Gang Leader and Golden Feather 2021


View Profile WWW
February 07, 2021, 12:55:27 PM
Last edit: February 07, 2021, 03:42:20 PM by LoyceV
 #4

Code:
./bitcoin-qt -dbcache=20000
That's going to be a problem with only 6 GB RAM.

Log Files from the Bitcoin Client: https://pastebin.com/p7LqkPEu
It's not even that bad:
Code:
2021-02-07T09:53:52Z Synchronizing blockheaders, height: 40000 (~6.48%)
~
2021-02-07T12:13:19Z Synchronizing blockheaders, height: 304000 (~46.38%)
Some people complain it's going to take many weeks. This looks like it may be finished by tomorrow.
Don't forget you have to download and validate about 350 GB.

SaskBitcoin (OP)
Newbie
*
Offline Offline

Activity: 4
Merit: 6


View Profile
February 07, 2021, 01:44:59 PM
 #5

You could allocate more RAM used by Bitcoin Core. There are 2 ways to do it,
1. Add -dbcache=N (N is total of RAM used in MB) if you run Bitcoin Core from Terminal.

Code:
./bitcoin-qt -dbcache=4000

2. Open bitcoin.conf (located on folder where you store blockchain) and add dbcache=N on new line. If bitcoin.conf isn't exist, all you need to do is create new .txt file and rename it as bitcoin.conf.

Code:
dbcache=4000

You can change 4000 (in MB) higher or lower depending on your desktop environment and RAM usage when it's idle.

Additionally,
1. How fast is your internet connection?
2. Using tools such as htop and iotop, do you see your CPU/IO usage is near 100% all the time? If yes, that's the reason of slow sync progress.

I set dbcache=4000 in my bitcoin.conf file.
My internet connection is 50/10 Mbps down/up respectively.
Top command shows bitcoind is only using 1% of my CPU and about 3% of mem.
SaskBitcoin (OP)
Newbie
*
Offline Offline

Activity: 4
Merit: 6


View Profile
February 07, 2021, 02:00:22 PM
Merited by ABCbits (1)
 #6


It's not even that bad:
Code:
2021-02-07T09:53:52Z Synchronizing blockheaders, height: 40000 (~6.48%)
~
2021-02-07T12:13:19Z Synchronizing blockheaders, height: 304000 (~46.38%)
Some people complain it's going to take many weeks. This looks like it may be finished by tomorrow.
Don't forget you have to download and validate about 350 GB.

Perhaps I don't understand how this works. Bitcoin-qt is showing that it is synching headers (46%) but it also shows that 0% progress and I don't have any blocks except block zero.
ranochigo
Legendary
*
Offline Offline

Activity: 2982
Merit: 4193



View Profile
February 07, 2021, 02:57:51 PM
 #7

Log Files from the Bitcoin Client: https://pastebin.com/p7LqkPEu
It's not even that bad:
Code:
2021-02-07T09:53:52Z Synchronizing blockheaders, height: 40000 (~6.48%)
~
2021-02-07T12:13:19Z Synchronizing blockheaders, height: 304000 (~46.38%)
Some people complain it's going to take many weeks. This looks like it may be finished by tomorrow.
Don't forget you have to download and validate about 350 GB.
Block headers should be downloaded before the IBD starts isn't it? Or that's from my experience, the client always download all of the headers before commencing.

OP, do you have any peers connected? Go to Window>Information and Console. Check the number of connections.

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


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

Activity: 3318
Merit: 16676


Thick-Skinned Gang Leader and Golden Feather 2021


View Profile WWW
February 07, 2021, 03:43:33 PM
 #8

It's not even that bad:
Code:
2021-02-07T12:13:19Z Synchronizing blockheaders, height: 304000 (~46.38%)
Block headers should be downloaded before the IBD starts isn't it?
You're right, I totally overlooked the "headers" part. In that case it is terribly slow indeed.

NotATether
Legendary
*
Offline Offline

Activity: 1610
Merit: 6753


bitcoincleanup.com / bitmixlist.org


View Profile WWW
February 07, 2021, 04:15:03 PM
 #9

System Hardware Specs: I7-2670QM CPU (8 CPUs) with 6 GB RAM and 500 GB free hard drive space.

Those specs sound awfully similar to an HP pavilion dv6 laptop. Is that what you are running bitcoind on by any chance?

I have one of those machines. The hard disk was a cheap Toshiba and as such was slowing down all the programs that wanted to load into memory at first login. So I am inclined to point fingers at your disk being the culprit.

If it is one, well done reformatting the OS with Fedora - Red Hat-based operating systems run better on that spinning rust than Windows (7, the version that's preinstalled on them).

.
.BLACKJACK ♠ FUN.
█████████
██████████████
████████████
█████████████████
████████████████▄▄
░█████████████▀░▀▀
██████████████████
░██████████████
████████████████
░██████████████
████████████
███████████████░██
██████████
CRYPTO CASINO &
SPORTS BETTING
▄▄███████▄▄
▄███████████████▄
███████████████████
█████████████████████
███████████████████████
█████████████████████████
█████████████████████████
█████████████████████████
███████████████████████
█████████████████████
███████████████████
▀███████████████▀
█████████
.
SaskBitcoin (OP)
Newbie
*
Offline Offline

Activity: 4
Merit: 6


View Profile
February 07, 2021, 05:18:57 PM
 #10


OP, do you have any peers connected? Go to Window>Information and Console. Check the number of connections.

I have 10 peers/connections (all in, no out).



ranochigo
Legendary
*
Offline Offline

Activity: 2982
Merit: 4193



View Profile
February 07, 2021, 05:24:13 PM
 #11

I have 10 peers/connections (all in, no out).
Weird. Is there any firewall rules that you may have on your router or imposed by your ISP. It's strange that you only have incoming connections and not outgoing, it's usually the opposite. At the Peers tab, can you see if anything is out of the ordinary? Could be the ping being unusually high, synced blocks or block headers being low, etc.

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
HCP
Legendary
*
Offline Offline

Activity: 2086
Merit: 4316

<insert witty quote here>


View Profile
February 07, 2021, 09:33:31 PM
 #12

Honestly, that seems to be some sort of networking issue... not sure why it's syncing the headers so slowly and not downloading any blocks. I'd concur with ranochigo that it looks like some sort of firewall issue.

█████████████████████████
████▐██▄█████████████████
████▐██████▄▄▄███████████
████▐████▄█████▄▄████████
████▐█████▀▀▀▀▀███▄██████
████▐███▀████████████████
████▐█████████▄█████▌████
████▐██▌█████▀██████▌████
████▐██████████▀████▌████
█████▀███▄█████▄███▀█████
███████▀█████████▀███████
██████████▀███▀██████████
█████████████████████████
.
BC.GAME
▄▄░░░▄▀▀▄████████
▄▄▄
██████████████
█████░░▄▄▄▄████████
▄▄▄▄▄▄▄▄▄██▄██████▄▄▄▄████
▄███▄█▄▄██████████▄████▄████
███████████████████████████▀███
▀████▄██▄██▄░░░░▄████████████
▀▀▀█████▄▄▄███████████▀██
███████████████████▀██
███████████████████▄██
▄███████████████████▄██
█████████████████████▀██
██████████████████████▄
.
..CASINO....SPORTS....RACING..
█░░░░░░█░░░░░░█
▀███▀░░▀███▀░░▀███▀
▀░▀░░░░▀░▀░░░░▀░▀
░░░░░░░░░░░░
▀██████████
░░░░░███░░░░
░░█░░░███▄█░░░
░░██▌░░███░▀░░██▌
░█░██░░███░░░█░██
░█▀▀▀█▌░███░░█▀▀▀█▌
▄█▄░░░██▄███▄█▄░░▄██▄
▄███▄
░░░░▀██▄▀


▄▄████▄▄
▄███▀▀███▄
██████████
▀███▄░▄██▀
▄▄████▄▄░▀█▀▄██▀▄▄████▄▄
▄███▀▀▀████▄▄██▀▄███▀▀███▄
███████▄▄▀▀████▄▄▀▀███████
▀███▄▄███▀░░░▀▀████▄▄▄███▀
▀▀████▀▀████████▀▀████▀▀
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!