Bitcoin Forum
February 22, 2018, 11:09:08 AM *
News: Latest stable version of Bitcoin Core: 0.15.1  [Torrent].
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: reindexing blocks on disc  (Read 304 times)
vapourminer
Legendary
*
Offline Offline

Activity: 1555
Merit: 1019

what is this "brake pedal" you speak of?


View Profile
February 15, 2017, 10:55:12 PM
 #1

using core 0.12.1

my computer locked up on a blockchain sync (it was behind a couple days). fired it back up and got a database error. so now its reindexing the blocks on the disc.

this seems to take a LONG time, its already been a couple hours and its maybe 1/5 of the way through.

i have a 3570k @ 4.3, 12 gb ram and the blockchain is on its own dedicated 256 gb ssd.

so the question is: is this speed normal? I seem to remember reindexing going a lot faster in earlier versions of core.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
achow101
Moderator
Legendary
*
Offline Offline

Activity: 1316
Merit: 1150


3F1Y9yquzvY6RWvKbw2n2zeo9V5mvBhADU


View Profile WWW
February 15, 2017, 10:57:35 PM
 #2

Previously there was a lot less data to crunch through but the blockchain has grown significantly in the past couple of years.

You can use the -dbcache=<n> startup option to increase the speed. IIRC the default is 300 mb, but you can set it to much higher so the reindex will go much quicker if you allocate it more RAM with that option.

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


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

▬▬   WHITEPAPER   ▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬
..........FACEBOOK        TWITTER        TELEGRAM..........
▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬▬   ANN THREAD   ▬▬
.

vapourminer
Legendary
*
Offline Offline

Activity: 1555
Merit: 1019

what is this "brake pedal" you speak of?


View Profile
February 15, 2017, 11:08:03 PM
 #3


You can use the -dbcache=<n> startup option to increase the speed. IIRC the default is 300 mb, but you can set it to much higher so the reindex will go much quicker if you allocate it more RAM with that option.

gave it dbcache a value of 48000, disc queue value went from 1 to 5 on the blockchain ssd and read speed went way up. so it definitely seems to be doing something.

thanks!
Pages: [1]
  Print  
 
Jump to:  

Sponsored by , a Bitcoin-accepting VPN.
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!