Bitcoin Forum
April 25, 2024, 02:57:54 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: -dbcache not working as intended in core 0.12 (?)  (Read 784 times)
AlexGR (OP)
Legendary
*
Offline Offline

Activity: 1708
Merit: 1049



View Profile
March 18, 2016, 10:03:31 PM
Last edit: March 22, 2016, 12:31:51 PM by AlexGR
Merited by ABCbits (2)
 #1

Launching 0.12 bitcoin-qt in linux with -dbcache=2048

SSD = around 1-2m to see wallet
mechanical = around 4-5m to see wallet

...similar very slow times with -dbcache=1024.

Launching 0.12 bitcoin-qt with  -dbcache=0

SSD and mechanical = 10-15 secs at most.

-dbcache=0 works way faster, betraying some kind of problem in the way caching works.
1714057074
Hero Member
*
Offline Offline

Posts: 1714057074

View Profile Personal Message (Offline)

Ignore
1714057074
Reply with quote  #2

1714057074
Report to moderator
You can see the statistics of your reports to moderators on the "Report to moderator" pages.
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714057074
Hero Member
*
Offline Offline

Posts: 1714057074

View Profile Personal Message (Offline)

Ignore
1714057074
Reply with quote  #2

1714057074
Report to moderator
gmaxwell
Moderator
Legendary
*
expert
Offline Offline

Activity: 4158
Merit: 8382



View Profile WWW
March 18, 2016, 10:18:13 PM
Last edit: March 20, 2016, 02:38:56 AM by gmaxwell
Merited by ABCbits (3)
 #2

-dbcache=0 works way faster, betraying some kind of problem in the way caching works.
No, it's way faster because the initial startup tests are truncated when the cache is too small. (Because they undo a bunch of blocks in memory and redo them... they need enough memory to hold that intermediate state)
AlexGR (OP)
Legendary
*
Offline Offline

Activity: 1708
Merit: 1049



View Profile
March 18, 2016, 10:30:16 PM
 #3

Aha... Makes sense then...
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!