Bitcoin Forum
May 10, 2024, 10:36:19 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: Bitcoin.conf and best configuration params for fast sync  (Read 225 times)
unsoindovo (OP)
Legendary
*
Offline Offline

Activity: 1932
Merit: 1042

https://locktrip.com/?refId=40964


View Profile
November 01, 2019, 10:05:10 AM
 #1

Hi all!

Im using bitcoin core Qt 0.18.0 on windows 10 i7 16GB server.

below, my bitcoin.conf:
blocksonly=1
par=-1
dbcache=16000
peertimeout=10
plus a list of addnodes...

despite everything, sync is very slow. To synchronize the last 20/30 hours, I spend a lot of time.
How can I lower the synchronization time?
any advice is welcome!

██▬▬▬

██▬

██▬

██▬▬▬



████           ▄▄█████████▄▄            ▄▄█████████▄▄        ████         █████      ██████████████████   ████████████       ████    ████████████    
████         ▄███████████████▄        ▄███████████████▄      ████       █████      ████████████████████  █████████████      ████    █████████████   
████        █████▀       ▀█████▄     █████▀       ▀█████     ████     █████         █       ████       █  ████     █████             ████     █████  
████       ████▀           ▀████▄   ████▀           ▀████    ████   █████                   ████          ████      ████     ████    ████      ████  
████      ████▀              ▀████ ▀███▀                     ████ █████                     ████          ████     █████     ████    ████     █████  
████      ████                 ████▄ ▀                       ████████                       ████          █████████████      ████    █████████████   
████      ████                  ▀████                        ████████                       ████          ████████████       ████    ████████████    
████      ████▄             ▄██▄ ▀████▄                      ████ █████                     ████          ████    ████       ████    ████            
████       ████▄           ▄████   ▀████▄           ▄████    ████   █████                   ████          ████    ▀████      ████    ████            
████        █████▄       ▄█████      █████▄       ▄█████     ████     █████                 ████          ████      ████     ████    ████            
████████████ ▀███████████████▀        ▀███████████████▀      ████       █████               ████          ████       ████    ████    ████            
█████████████  ▀▀█████████▀▀            ▀▀█████████▀▀        ████         █████             ████          ████        █████  ████    ████            

 
 
 
▬▬▬██

▬██

▬██

▬▬▬██
1715337379
Hero Member
*
Offline Offline

Posts: 1715337379

View Profile Personal Message (Offline)

Ignore
1715337379
Reply with quote  #2

1715337379
Report to moderator
1715337379
Hero Member
*
Offline Offline

Posts: 1715337379

View Profile Personal Message (Offline)

Ignore
1715337379
Reply with quote  #2

1715337379
Report to moderator
1715337379
Hero Member
*
Offline Offline

Posts: 1715337379

View Profile Personal Message (Offline)

Ignore
1715337379
Reply with quote  #2

1715337379
Report to moderator
"Governments are good at cutting off the heads of a centrally controlled networks like Napster, but pure P2P networks like Gnutella and Tor seem to be holding their own." -- Satoshi
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
DaveF
Legendary
*
Offline Offline

Activity: 3472
Merit: 6269


Crypto Swap Exchange


View Profile WWW
November 01, 2019, 11:46:12 AM
 #2

You should proabably move this to
Bitcoin Forum > Bitcoin > Bitcoin Technical Support    here -> https://bitcointalk.org/index.php?board=4.0
With that being said.

SSD or spinning drive? Old slow drives will drive up initial sync time. Crappy RAID setup will make it worse too. [been there...done that]

What gen i7 the original ones are over 10 years old. IT's n

Internet connection speed? You are going to have to download over 250 GB of data.

-Dave


█▀▀▀











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











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
unsoindovo (OP)
Legendary
*
Offline Offline

Activity: 1932
Merit: 1042

https://locktrip.com/?refId=40964


View Profile
November 01, 2019, 11:53:17 AM
 #3

You should proabably move this to
Bitcoin Forum > Bitcoin > Bitcoin Technical Support    here -> https://bitcointalk.org/index.php?board=4.0
With that being said.

SSD or spinning drive? Old slow drives will drive up initial sync time. Crappy RAID setup will make it worse too. [been there...done that]

What gen i7 the original ones are over 10 years old. IT's n

Internet connection speed? You are going to have to download over 250 GB of data.

-Dave



@ moderator.
If this thread is in wrong child board, feel free to move it.

@ dave
I7 it's a generation 7. 4 cores, 8 threads,
The HD it's an 8tb spinning drive.
Internet connection is a standard 20mb.

Seems my config is not scaling the pc capacity.
Using task manager, I can see network usage is very low. Cpu usage it's really low. Disk usage it's high, but read/write are just 1 or 2 mb/sec. The HD perfo are highest., so, seems is not the bottlenek. .

Any idea?

██▬▬▬

██▬

██▬

██▬▬▬



████           ▄▄█████████▄▄            ▄▄█████████▄▄        ████         █████      ██████████████████   ████████████       ████    ████████████    
████         ▄███████████████▄        ▄███████████████▄      ████       █████      ████████████████████  █████████████      ████    █████████████   
████        █████▀       ▀█████▄     █████▀       ▀█████     ████     █████         █       ████       █  ████     █████             ████     █████  
████       ████▀           ▀████▄   ████▀           ▀████    ████   █████                   ████          ████      ████     ████    ████      ████  
████      ████▀              ▀████ ▀███▀                     ████ █████                     ████          ████     █████     ████    ████     █████  
████      ████                 ████▄ ▀                       ████████                       ████          █████████████      ████    █████████████   
████      ████                  ▀████                        ████████                       ████          ████████████       ████    ████████████    
████      ████▄             ▄██▄ ▀████▄                      ████ █████                     ████          ████    ████       ████    ████            
████       ████▄           ▄████   ▀████▄           ▄████    ████   █████                   ████          ████    ▀████      ████    ████            
████        █████▄       ▄█████      █████▄       ▄█████     ████     █████                 ████          ████      ████     ████    ████            
████████████ ▀███████████████▀        ▀███████████████▀      ████       █████               ████          ████       ████    ████    ████            
█████████████  ▀▀█████████▀▀            ▀▀█████████▀▀        ████         █████             ████          ████        █████  ████    ████            

 
 
 
▬▬▬██

▬██

▬██

▬▬▬██
ABCbits
Legendary
*
Offline Offline

Activity: 2870
Merit: 7491


Crypto Swap Exchange


View Profile
November 01, 2019, 07:38:10 PM
Merited by unsoindovo (10)
 #4

Seems my config is not scaling the pc capacity.
Using task manager, I can see network usage is very low. Cpu usage it's really low. Disk usage it's high, but read/write are just 1 or 2 mb/sec. The HD perfo are highest., so, seems is not the bottlenek. .

Any idea?

Keep in mind that 1-2 MB/s read/write speed is random read/write speed, not sequential read/write speed (usually about 100-200MB/s for HDD). Bitcoin sync and most computing tasks uses random read/write speed.
Your HDD clearly is the bottleneck.

If you have SSD with low capacity, you could move chainstate file to SSD which could improve the performance significantly.
SEe https://en.bitcoin.it/wiki/Splitting_the_data_directory

█▀▀▀











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











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
unsoindovo (OP)
Legendary
*
Offline Offline

Activity: 1932
Merit: 1042

https://locktrip.com/?refId=40964


View Profile
November 01, 2019, 08:48:46 PM
 #5

Seems my config is not scaling the pc capacity.
Using task manager, I can see network usage is very low. Cpu usage it's really low. Disk usage it's high, but read/write are just 1 or 2 mb/sec. The HD perfo are highest., so, seems is not the bottlenek. .

Any idea?

Keep in mind that 1-2 MB/s read/write speed is random read/write speed, not sequential read/write speed (usually about 100-200MB/s for HDD). Bitcoin sync and most computing tasks uses random read/write speed.
Your HDD clearly is the bottleneck.

If you have SSD with low capacity, you could move chainstate file to SSD which could improve the performance significantly.
SEe https://en.bitcoin.it/wiki/Splitting_the_data_directory

Seems this tip make me the day!!!
I have a ssd with no space for the blockchain data but with enough spase for the chains tate data.
I will try for sure to move it to ssd.
I will update this thread to help guys who have my issue!

██▬▬▬

██▬

██▬

██▬▬▬



████           ▄▄█████████▄▄            ▄▄█████████▄▄        ████         █████      ██████████████████   ████████████       ████    ████████████    
████         ▄███████████████▄        ▄███████████████▄      ████       █████      ████████████████████  █████████████      ████    █████████████   
████        █████▀       ▀█████▄     █████▀       ▀█████     ████     █████         █       ████       █  ████     █████             ████     █████  
████       ████▀           ▀████▄   ████▀           ▀████    ████   █████                   ████          ████      ████     ████    ████      ████  
████      ████▀              ▀████ ▀███▀                     ████ █████                     ████          ████     █████     ████    ████     █████  
████      ████                 ████▄ ▀                       ████████                       ████          █████████████      ████    █████████████   
████      ████                  ▀████                        ████████                       ████          ████████████       ████    ████████████    
████      ████▄             ▄██▄ ▀████▄                      ████ █████                     ████          ████    ████       ████    ████            
████       ████▄           ▄████   ▀████▄           ▄████    ████   █████                   ████          ████    ▀████      ████    ████            
████        █████▄       ▄█████      █████▄       ▄█████     ████     █████                 ████          ████      ████     ████    ████            
████████████ ▀███████████████▀        ▀███████████████▀      ████       █████               ████          ████       ████    ████    ████            
█████████████  ▀▀█████████▀▀            ▀▀█████████▀▀        ████         █████             ████          ████        █████  ████    ████            

 
 
 
▬▬▬██

▬██

▬██

▬▬▬██
LoyceV
Legendary
*
Online Online

Activity: 3304
Merit: 16627


Thick-Skinned Gang Leader and Golden Feather 2021


View Profile WWW
November 01, 2019, 09:45:28 PM
 #6

dbcache=16000
That's your entire RAM, you should probably lower it.

I have a ssd with no space for the blockchain data but with enough spase for the chains tate data.
I will try for sure to move it to ssd.
That's what I do, it took me just a (full) day to download on my old i3 laptop running Linux. I set dbcache to 4096 for it, and leave the rest for normal Linux kernal file cache.

DaveF
Legendary
*
Offline Offline

Activity: 3472
Merit: 6269


Crypto Swap Exchange


View Profile WWW
November 02, 2019, 12:38:29 AM
 #7

Mostly what the above people have said.
Also, important to note about drive performance is use the proper / newer chipset drivers.
Windows will by default install a base set of drivers that work. Usually Intel has better drivers on their site.

https://www.techrepublic.com/article/how-to-improve-pc-performance-by-fixing-the-intel-rapid-storage-technology-driver/

-Dave

█▀▀▀











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











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
unsoindovo (OP)
Legendary
*
Offline Offline

Activity: 1932
Merit: 1042

https://locktrip.com/?refId=40964


View Profile
November 02, 2019, 08:25:56 AM
 #8

Mostly what the above people have said.
Also, important to note about drive performance is use the proper / newer chipset drivers.
Windows will by default install a base set of drivers that work. Usually Intel has better drivers on their site.

https://www.techrepublic.com/article/how-to-improve-pc-performance-by-fixing-the-intel-rapid-storage-technology-driver/

-Dave
When I come back at home I will check this too.
Seems some drivers are really old, despite the latest  windows 10 massive update was done just few weeks ago!

██▬▬▬

██▬

██▬

██▬▬▬



████           ▄▄█████████▄▄            ▄▄█████████▄▄        ████         █████      ██████████████████   ████████████       ████    ████████████    
████         ▄███████████████▄        ▄███████████████▄      ████       █████      ████████████████████  █████████████      ████    █████████████   
████        █████▀       ▀█████▄     █████▀       ▀█████     ████     █████         █       ████       █  ████     █████             ████     █████  
████       ████▀           ▀████▄   ████▀           ▀████    ████   █████                   ████          ████      ████     ████    ████      ████  
████      ████▀              ▀████ ▀███▀                     ████ █████                     ████          ████     █████     ████    ████     █████  
████      ████                 ████▄ ▀                       ████████                       ████          █████████████      ████    █████████████   
████      ████                  ▀████                        ████████                       ████          ████████████       ████    ████████████    
████      ████▄             ▄██▄ ▀████▄                      ████ █████                     ████          ████    ████       ████    ████            
████       ████▄           ▄████   ▀████▄           ▄████    ████   █████                   ████          ████    ▀████      ████    ████            
████        █████▄       ▄█████      █████▄       ▄█████     ████     █████                 ████          ████      ████     ████    ████            
████████████ ▀███████████████▀        ▀███████████████▀      ████       █████               ████          ████       ████    ████    ████            
█████████████  ▀▀█████████▀▀            ▀▀█████████▀▀        ████         █████             ████          ████        █████  ████    ████            

 
 
 
▬▬▬██

▬██

▬██

▬▬▬██
unsoindovo (OP)
Legendary
*
Offline Offline

Activity: 1932
Merit: 1042

https://locktrip.com/?refId=40964


View Profile
November 02, 2019, 03:49:32 PM
Merited by LoyceV (1)
 #9

Seems my config is not scaling the pc capacity.
Using task manager, I can see network usage is very low. Cpu usage it's really low. Disk usage it's high, but read/write are just 1 or 2 mb/sec. The HD perfo are highest., so, seems is not the bottlenek. .

Any idea?

Keep in mind that 1-2 MB/s read/write speed is random read/write speed, not sequential read/write speed (usually about 100-200MB/s for HDD). Bitcoin sync and most computing tasks uses random read/write speed.
Your HDD clearly is the bottleneck.

If you have SSD with low capacity, you could move chainstate file to SSD which could improve the performance significantly.
SEe https://en.bitcoin.it/wiki/Splitting_the_data_directory

i can confirm this fix my issue.
opened bitcoin core wallet right now, after chainstate was moved to a ssd disk and created simbolic link.
result: i update my local blockchain, 2 days old, in 3 minutes!
it's awesome!!!
thank you very much ETFbitcoin !
i give you 10 merits for the help!

██▬▬▬

██▬

██▬

██▬▬▬



████           ▄▄█████████▄▄            ▄▄█████████▄▄        ████         █████      ██████████████████   ████████████       ████    ████████████    
████         ▄███████████████▄        ▄███████████████▄      ████       █████      ████████████████████  █████████████      ████    █████████████   
████        █████▀       ▀█████▄     █████▀       ▀█████     ████     █████         █       ████       █  ████     █████             ████     █████  
████       ████▀           ▀████▄   ████▀           ▀████    ████   █████                   ████          ████      ████     ████    ████      ████  
████      ████▀              ▀████ ▀███▀                     ████ █████                     ████          ████     █████     ████    ████     █████  
████      ████                 ████▄ ▀                       ████████                       ████          █████████████      ████    █████████████   
████      ████                  ▀████                        ████████                       ████          ████████████       ████    ████████████    
████      ████▄             ▄██▄ ▀████▄                      ████ █████                     ████          ████    ████       ████    ████            
████       ████▄           ▄████   ▀████▄           ▄████    ████   █████                   ████          ████    ▀████      ████    ████            
████        █████▄       ▄█████      █████▄       ▄█████     ████     █████                 ████          ████      ████     ████    ████            
████████████ ▀███████████████▀        ▀███████████████▀      ████       █████               ████          ████       ████    ████    ████            
█████████████  ▀▀█████████▀▀            ▀▀█████████▀▀        ████         █████             ████          ████        █████  ████    ████            

 
 
 
▬▬▬██

▬██

▬██

▬▬▬██
Dabs
Legendary
*
Offline Offline

Activity: 3416
Merit: 1912


The Concierge of Crypto


View Profile
November 02, 2019, 07:28:05 PM
 #10

Why 0.18.0, 0.18.1 is already out. The splitting the data directory is a useful tip, I might try that too. I still store the whole thing on a spinning platter.

LoyceV
Legendary
*
Online Online

Activity: 3304
Merit: 16627


Thick-Skinned Gang Leader and Golden Feather 2021


View Profile WWW
November 02, 2019, 07:49:58 PM
 #11

Why 0.18.0, 0.18.1 is already out. The splitting the data directory is a useful tip, I might try that too. I still store the whole thing on a spinning platter.
The huge improvement in startup time alone is worth putting chainstate on SSD Smiley

unsoindovo (OP)
Legendary
*
Offline Offline

Activity: 1932
Merit: 1042

https://locktrip.com/?refId=40964


View Profile
November 02, 2019, 09:05:52 PM
 #12

Why 0.18.0, 0.18.1 is already out. The splitting the data directory is a useful tip, I might try that too. I still store the whole thing on a spinning platter.

Trust me.
I have done the test today.
The improvement it's really tangible.
Then I test if all is OK pushing a transaction and all works fine!
Sync bitcoin blockchain issue will be just a bad memory.

██▬▬▬

██▬

██▬

██▬▬▬



████           ▄▄█████████▄▄            ▄▄█████████▄▄        ████         █████      ██████████████████   ████████████       ████    ████████████    
████         ▄███████████████▄        ▄███████████████▄      ████       █████      ████████████████████  █████████████      ████    █████████████   
████        █████▀       ▀█████▄     █████▀       ▀█████     ████     █████         █       ████       █  ████     █████             ████     █████  
████       ████▀           ▀████▄   ████▀           ▀████    ████   █████                   ████          ████      ████     ████    ████      ████  
████      ████▀              ▀████ ▀███▀                     ████ █████                     ████          ████     █████     ████    ████     █████  
████      ████                 ████▄ ▀                       ████████                       ████          █████████████      ████    █████████████   
████      ████                  ▀████                        ████████                       ████          ████████████       ████    ████████████    
████      ████▄             ▄██▄ ▀████▄                      ████ █████                     ████          ████    ████       ████    ████            
████       ████▄           ▄████   ▀████▄           ▄████    ████   █████                   ████          ████    ▀████      ████    ████            
████        █████▄       ▄█████      █████▄       ▄█████     ████     █████                 ████          ████      ████     ████    ████            
████████████ ▀███████████████▀        ▀███████████████▀      ████       █████               ████          ████       ████    ████    ████            
█████████████  ▀▀█████████▀▀            ▀▀█████████▀▀        ████         █████             ████          ████        █████  ████    ████            

 
 
 
▬▬▬██

▬██

▬██

▬▬▬██
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!