Bitcoin Forum
November 03, 2024, 02:10:12 AM *
News: Latest Bitcoin Core release: 28.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 [2]  All
  Print  
Author Topic: bitcoin core full node download blockchain slow  (Read 280 times)
philipma1957
Legendary
*
Offline Offline

Activity: 4298
Merit: 8769


'The right to privacy matters'


View Profile WWW
June 08, 2024, 06:15:49 PM
 #21

an I 5  cpu
32gb ram
a 2tb ssd

and 200 or more internet

▄▄███████▄▄
▄██████████████▄
▄██████████████████▄
▄████▀▀▀▀███▀▀▀▀█████▄
▄█████████████▄█▀████▄
███████████▄███████████
██████████▄█▀███████████
██████████▀████████████
▀█████▄█▀█████████████▀
▀████▄▄▄▄███▄▄▄▄████▀
▀██████████████████▀
▀███████████████▀
▀▀███████▀▀
.
 MΞTAWIN  THE FIRST WEB3 CASINO   
.
.. PLAY NOW ..
LoyceMobile
Hero Member
*****
Offline Offline

Activity: 1696
Merit: 701


LoyceV on the road. Or couch.


View Profile WWW
June 08, 2024, 06:49:50 PM
 #22

an I 5  cpu
32gb ram
a 2tb ssd

and 200 or more internet
That's excessive for a pruned node.

LoyceV on the road Advertise here for LN Don't deal with this account (exception)
Advertise here for LN Tip my kids Exchange LN (20 coins). 1% fee. No KYC <€50/month
My useful topics: Meritt & Trust & Moreee Art Advertise here for LN Foru[url=https://bitcointalk.org/m
22bits (OP)
Member
**
Offline Offline

Activity: 85
Merit: 25


View Profile
June 09, 2024, 01:29:28 AM
 #23

Quote
That's not an SSD, it's a HDD.
Ohh... had to double check that.  It is in a ThinkCentre M92P.  Need an upgrade, thanks Smiley
Quote
just use Electrum
Most stuff yes.  For this I am going to use JoinMarket once I get this stable.  I have it installed but haven't started using it yet.

Progress running after 13 hours this time around is 53.13%.
LoyceV
Legendary
*
Offline Offline

Activity: 3486
Merit: 17616


Thick-Skinned Gang Leader and Golden Feather 2021


View Profile WWW
June 09, 2024, 05:28:16 PM
 #24

It is in a ThinkCentre M92P.  Need an upgrade, thanks Smiley
Google says it can handle 32 GB RAM. If that's correct, Bitcoin Core will even work fine with an HDD (I did it on a server recently).

Quote
For this I am going to use JoinMarket once I get this stable.  I have it installed but haven't started using it yet.
I haver no experience with JoinMarket.

Quote
Progress running after 13 hours this time around is 53.13%.
The thing is.... The first part isn't that hard on your hardware: your chainstate directory is probably still smaller than your available RAM. At the end of the IBD, it'll be 12 GB.

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

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











▀▄▄▄


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











▄▄▄▀
▄▀▀▀











▀▄▄▄


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











▄▄▄▀
22bits (OP)
Member
**
Offline Offline

Activity: 85
Merit: 25


View Profile
June 10, 2024, 01:19:17 AM
 #25

So I am doing a pretty extensive test on existing system as follows:
1.)  Save off previous chainstate, blocks (bitcoin-core db) and restart from 0.
2.)  Now noted that initial progress to 50% or so is good, normal.
3.)  Once it starts slowing down I am stopping the bitcoind.service for 12 hours, giving it a rest.  This is just in case there is some kind of weird throttling going on.
4.)  After rest period restarting bitcoind.service.
5.)  If slow, then I am going to order this -> Beelink SER5 MAX RYZEN 7 5800H Mini pc office + Ram32GB + Storage 1TB

It is looking like about to order it, just waiting to confirm that progress is now slow .....

The surprising aspect for me is normally things either work or they don't.  This is one of those particular things that becomes more and more resource consuming as it goes along, still working but going slower and slower.

OK just now:  hmmm, inconclusive.  First full hour after restart = .98%.  Total now at 70.58%. 
nc50lc
Legendary
*
Offline Offline

Activity: 2590
Merit: 6325


Self-proclaimed Genius


View Profile
June 10, 2024, 04:40:26 AM
Merited by ABCbits (1)
 #26

OK just now:  hmmm, inconclusive.  First full hour after restart = .98%.  Total now at 70.58%.  
The first hour may had been spent discovering peers, syncing "block headers", then the first few blocks.
Normally it should be finished in a few minutes but if you keep on getting slow peers and limited to 11 (when no inbound peers), that could take a while.

That will even be inconsistent in the later blocks.
Take note that Bitcoin Core has a hard-coded "assumed valid" block which dictates to skip the script verifications from the blocks before it.
Means that it would take longer to verify blocks newer than that indicated blocks hash.
Each older versions of Bitcoin Core have lower block height than the newer versions but you can set it with assumevalid=<block_hash> setting or --assumevalid=<block_hash> arg.
Recommended to use the latest version's default (link) if you're using an older Bitcoin Core version.

█▀▀▀











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











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

Activity: 3486
Merit: 17616


Thick-Skinned Gang Leader and Golden Feather 2021


View Profile WWW
June 10, 2024, 05:36:21 AM
Merited by ABCbits (1)
 #27

3.)  Once it starts slowing down I am stopping the bitcoind.service for 12 hours, giving it a rest.  This is just in case there is some kind of weird throttling going on.
This step doesn't help.

Quote
5.)  If slow, then I am going to order this -> Beelink SER5 MAX RYZEN 7 5800H Mini pc office + Ram32GB + Storage 1TB
That's more than sufficient to do a quick download.

Quote
This is one of those particular things that becomes more and more resource consuming as it goes along, still working but going slower and slower.
Correct.

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

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











▀▄▄▄


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











▄▄▄▀
▄▀▀▀











▀▄▄▄


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











▄▄▄▀
22bits (OP)
Member
**
Offline Offline

Activity: 85
Merit: 25


View Profile
June 10, 2024, 06:03:53 AM
 #28

Quote
The first hour may had been spent discovering peers, syncing "block headers", then the first few blocks.
Normally it should be finished in a few minutes but if you keep on getting slow peers and limited to 11 (when no inbound peers), that could take a while.
Actually when I said the first hour it is because I track from a crontab job each hour and before the first 'full' hour there was actually about 1/2 hour.

Still continuing to plug along, now at 74.59 doing just over 1% per hour. 

However another symptom of the system hardware being maxed out is now to do anything on the system I need to temporarily shutdown the bitcoind process.

So will report back after new hardware arrives and is set up. 

Quote
That's more than sufficient to do a quick download.
This was at the upper end of my hardware search, I am a bit annoyed I can't really find anything without windows on it, but so be it.  I would build one but for itx mini pc that looks like it is not fun. 

Thanks for all help + suggestions. 
LoyceV
Legendary
*
Offline Offline

Activity: 3486
Merit: 17616


Thick-Skinned Gang Leader and Golden Feather 2021


View Profile WWW
June 10, 2024, 08:23:01 AM
 #29

This was at the upper end of my hardware search
Why not just add some RAM?

Quote
I am a bit annoyed I can't really find anything without windows on it, but so be it.
The "Microsoft tax", I know your pain Sad

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

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











▀▄▄▄


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











▄▄▄▀
▄▀▀▀











▀▄▄▄


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











▄▄▄▀
22bits (OP)
Member
**
Offline Offline

Activity: 85
Merit: 25


View Profile
June 10, 2024, 12:57:18 PM
 #30

Quote
Why not just add some RAM?
The particular reason I have these older lenovo systems is that I use them as off grid tails systems and they don't have any networking (no wifi, bluetooth) built in.  Not so good for adding RAM or making any modifications.  Pain is done now, money deducted from CC, waiting for the under 20 hour system to arrive Smiley  Will time the event once it gets here.....

Quote
The "Microsoft tax", I know your pain
lol, glad I am not the only one !
DaveF
Legendary
*
Offline Offline

Activity: 3654
Merit: 6660


Crypto Swap Exchange


View Profile WWW
June 10, 2024, 02:11:33 PM
 #31

...
5.)  If slow, then I am going to order this -> Beelink SER5 MAX RYZEN 7 5800H Mini pc office + Ram32GB + Storage 1TB
...

Depending on where you are in the world since prices vary a lot you can get the 16GB Intel N100 version with a 512GB drive and then buy a 1TB and a m.2 to USB adapter for the 512GB that comes with the unit for 1/2 the price of what you are looking at. Yes it's 16GB vs 32GB but you get to reuse the 512GB m.2 for something.

AND the Intel uses a fraction of the power of the AMD so it's cheaper to run and less noise.

YES it's slower, but once the initial sync is done and it's just running the node & JoinMarket and a few other things it's more then enough.

-Dave

█▀▀▀











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











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

Activity: 3486
Merit: 17616


Thick-Skinned Gang Leader and Golden Feather 2021


View Profile WWW
June 10, 2024, 02:15:35 PM
 #32

I use them as off grid tails systems
I get the feeling there's an interesting story behind this. Starting with: why Tails, if it's offline?

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

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











▀▄▄▄


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











▄▄▄▀
▄▀▀▀











▀▄▄▄


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











▄▄▄▀
22bits (OP)
Member
**
Offline Offline

Activity: 85
Merit: 25


View Profile
June 13, 2024, 02:06:20 AM
 #33

Quote
I get the feeling there's an interesting story behind this. Starting with: why Tails, if it's offline?
So my setup with the no wifi linux box is that I do a electrum transaction on one computer, then save it off and sign it on the second computer.  The second computer is an air-gapped not on-line linux that boots tails via a usb.  I use electrum on tails to sign anything.  It is just a way to have air gapped box. 
22bits (OP)
Member
**
Offline Offline

Activity: 85
Merit: 25


View Profile
June 13, 2024, 02:09:29 AM
Merited by LoyceV (2)
 #34

Quote
Depending on where you are in the world since prices vary a lot you can get the 16GB Intel N100 version with a 512GB drive and then buy a 1TB and a m.2 to USB adapter for the 512GB that comes with the unit for 1/2 the price of what you are looking at.
Thanks for that, I had looked at less expensive options also.

Status update:  the new system rips speed wise.  It got to 100% overnight.  So definitely was hw problem.  I really like the beelink SER5 max, looks well made.  I do not have hour by hour, if I re-index for any reason will post one. 
Cricktor
Legendary
*
Offline Offline

Activity: 938
Merit: 1447


Crypto Swap Exchange


View Profile
June 13, 2024, 06:42:26 PM
 #35

Some stats are readily written in the debug.log file of Bitcoin Core (time stamps and percentage progress when blocks are digested). If you're lucky, your whole IBD might be still logged.

By default this file will be pruned from time to time (not sure which threshold triggers shrinkage of it), unless you put shrinkdebugfile=0 in your bitcoin.conf. This tells Core to only ever append log entries to the debug.log and never shrink that file.

Glad you're happy with your new hardware and that it works smoothly.

█▀▀▀











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











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

Activity: 85
Merit: 25


View Profile
June 14, 2024, 01:44:37 AM
Merited by LoyceV (1), nc50lc (1)
 #36

Quote
Some stats are readily written in the debug.log file of Bitcoin Core (time stamps and percentage progress when blocks are digested). If you're lucky, your whole IBD might be still logged.
Thanks, yes I see that, can get exact times with likes that show 'progress='...

Quote
Glad you're happy with your new hardware and that it works smoothly.
Yeah, has really been a learning curve.  I initially would not have expected hardware to have such a prominent effect.

Here are the latest times.  I was hoping to finish in under 48 hours, was pleasantly surprised.
Hour 1: 8%
Hour 2: 15%
Hour 3: 28%
Hour 4: 40%
Hour 5: 52%
Hour 6: 62%
Hour 7: 70%
Hour 8: 78%
Hour 9: 87%
Hour 10: 95%
Hour 11: 100%
LoyceV
Legendary
*
Offline Offline

Activity: 3486
Merit: 17616


Thick-Skinned Gang Leader and Golden Feather 2021


View Profile WWW
June 14, 2024, 06:13:09 AM
 #37

Here are the latest times.  I was hoping to finish in under 48 hours, was pleasantly surprised.
Hour 1: 8%
Hour 2: 15%
Hour 3: 28%
Hour 4: 40%
Hour 5: 52%
Hour 6: 62%
Hour 7: 70%
Hour 8: 78%
Hour 9: 87%
Hour 10: 95%
Hour 11: 100%
So with enough RAM, the progress stays more or less linear. Did you increase dbcache settings? I'm not sure if it would still matter: Linux can handle file cache on it's own.

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

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











▀▄▄▄


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











▄▄▄▀
▄▀▀▀











▀▄▄▄


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











▄▄▄▀
22bits (OP)
Member
**
Offline Offline

Activity: 85
Merit: 25


View Profile
June 15, 2024, 10:00:22 AM
 #38

Quote
So with enough RAM, the progress stays more or less linear. Did you increase dbcache settings?
I was going to set it to 12000 but ended up setting it to 8000 for the above run.  Yes looks basically linear Smiley

Pages: « 1 [2]  All
  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!