Bitcoin Forum
October 22, 2017, 10:11:26 AM *
News: Latest stable version of Bitcoin Core: 0.15.0.1  [Torrent]. (New!)
 
   Home   Help Search Donate Login Register  
Pages: [1]
  Print  
Author Topic: Bitcoin-qt slow starting up, will increasing database cache help?  (Read 1939 times)
darkfur93
Member
**
Offline Offline

Activity: 109



View Profile WWW
October 01, 2014, 09:10:00 AM
 #1

I'm using v0.9.2.1-g354c0f3-beta linux 64-bit. May upgrade to 0.9.3 later on.
Right now it takes a few minutes to startup Bitcoin-qt after computer has been powered off. When Bitcoin-qt is running it's using 1.1GB of my 16GB of ram.

I have my database cache set to 100MB, will increasing it help speed it up?

BTC: 1GXFRtMFTyw1KVqkpH2DPiZMmxcyr8wSbX
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction. Advertise here.
shorena
Legendary
*
Offline Offline

Activity: 1386


ALL escrow is signed! https://keybase.io/verify


View Profile WWW
October 01, 2014, 11:05:33 AM
 #2

On startup its checking the last 288 blocks by default you can reduce the number of blocks with:
-checkblocks=<n>
and how thorough those blocks are checked with:
-checklevel=<n>
where n is an integer from 0 to 4 and 3 is the default setting.

You could also use:
-par=<n>
to set the number of cores to use, by default (n=0) its determined automatically.



btckold24
Sr. Member
****
Offline Offline

Activity: 434


★Bitvest.io★ Play Plinko or Invest!


View Profile
October 03, 2014, 07:23:36 AM
 #3

I had this problem also but just dealt with it - thx for the help shorena - looks like its working as I tried it on my other computers wallet



YOU CAN ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
PLAY or INVEST


▄████████████████████▄
██████████████████████
██████████▀▀██████████
█████████░░░░█████████
██████████▄▄██████████
███████▀▀████▀▀███████
██████░░░░██░░░░██████
███████▄▄████▄▄███████
████▀▀████▀▀████▀▀████
███░░░░██░░░░██░░░░███
████▄▄████▄▄████▄▄████
██████████████████████
▀████████████████████▀
▄████████████████████▄
██████████████████████
█████▀▀█▀▀▀▀▀▀██▀▀████
█████░░░░░░░░░░░░░▄███
█████░░░░░░░░░░░░▄████
█████░░▄███▄░░░░██████
█████▄▄███▀░░░░▄██████
█████████░░░░░░███████
████████░░░░░░░███████
███████░░░░░░░░███████
███████▄▄▄▄▄▄▄▄███████
██████████████████████
▀████████████████████▀
▄████████████████████▄
███████████████▀▀▀▀▀▀▀
███████████▀▀▄▄█░░░░░█
█████████▀░░█████░░░░█
███████▀░░░░░████▀░░░▀
██████░░░░░░░░▀▄▄█████
█████░▄░░░░░▄██████▀▀█
████░████▄░███████░░░░
███░█████░█████████░░█
███░░░▀█░██████████░░█
███░░░░░░████▀▀██▀░░░░
███░░░░░░███░░░░░░░░░░
▀██░▄▄▄▄░████▄▄██▄░░░░
▄████████████▀▀▀▀▀▀▀██▄
█████████████░█▀▀▀█░███
██████████▀▀░█▀░░░▀█░▀▀
███████▀░▄▄█░█░░░░░█░█▄
████▀░▄▄████░▀█░░░█▀░██
███░▄████▀▀░▄░▀█░█▀░▄░▀
█▀░███▀▀▀░░███░▀█▀░███░
▀░███▀░░░░░████▄░▄████░
░███▀░░░░░░░█████████░░
░███░░░░░░░░░███████░░░
███▀░██░░░░░░▀░▄▄▄░▀░░░
███░██████▄▄░▄█████▄░▄▄
▀██░████████░███████░█▀




Rainbot
Happy Hour
Faucet
zvs
Legendary
*
Offline Offline

Activity: 1456


I have some bitcoins. Somewhere.


View Profile WWW
October 03, 2014, 09:29:05 AM
 #4

Increasing database cache would make the initial load slower, afaik. 

I use checkblocks=10 in .conf on my home computer

Dacentec, best deals for US dedicated servers. They regularly restock $20-$25 Opterons with 8-16GB RAM & 2x1-2TB HDD's (ofc, usually lots of other good stuff to choose from).  I did a Serverbear benchmark of one of my $20/mo Opteron (June last year), it's here.  Have had about a half dozen different servers with Dacentec, & none have failed to sustain at least 40MB/s (burst higher). My favorite is a 12-month rent-to-own ZT Systems 2XL5520 16GB 2x2TB SATA for $40/month (got lucky with the 'off-brand', haven't seen a RTO 2xL5520 for under $50/mo since -- at least for monthly contracts).  wholesaleinternet.com has some ancient 2-core intel CPUs @ $10/mo sometimes (I got an Intel Core 2 6300 @ 1.86GHz, with a 250GB HDD with 46000 hours on it, LOL. $20 @ Dacentec is much better, if you can grab one). joesdatacenter.com (same location as Wholesale Internet) also occasionally has specials (or if you don't want to wait, it has an AMD Opteron 170 @ $16/mo).
oser41eric
Hero Member
*****
Offline Offline

Activity: 502


View Profile
October 16, 2014, 01:13:54 PM
 #5

On startup its checking the last 288 blocks by default you can reduce the number of blocks with:
-checkblocks=<n>
and how thorough those blocks are checked with:
-checklevel=<n>
where n is an integer from 0 to 4 and 3 is the default setting.


At default settings it takes me about 20 minutes for the checking blocks stage. When I change to checklevel=1 the checking blocks stage takes only 2 seconds... So the question is how important is keeping the default setting. It seems I might not catch block database corruption at startup if I just use checklevel=1, so hard decision
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!