dbcache config option is missing from example bitcoin.conf #20947

issue lmj0011 opened this issue on January 16, 2021
  1. lmj0011 commented at 4:13 AM on January 16, 2021: none

    Is your feature request related to a problem? Please describe.

    <!-- A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] -->

    No, just requesting an update to the example bitcoin.conf

    Describe the solution you'd like

    <!-- A clear and concise description of what you want to happen. -->

    dbcache config option to be added to example config

    ref: #20645 (comment)

  2. lmj0011 added the label Feature on Jan 16, 2021
  3. lmj0011 renamed this:
    `dbcache` config option missing from example bitcoin.conf
    dbcache config option is missing from example bitcoin.conf
    on Jan 16, 2021
  4. FelixWeis commented at 7:44 AM on January 16, 2021: contributor

    An argument against could be made because -dbcache is mostly useful as a temporary configuration during IBD. After IBD the performance gain becomes more negligable. Argument for could be made as users may read sample config as a documentation instead of -help.

  5. lmj0011 commented at 8:09 PM on January 16, 2021: none

    An argument against could be made because -dbcache is mostly useful as a temporary configuration during IBD. After IBD the performance gain becomes more negligable. Argument for could be made as users may read sample config as a documentation instead of -help.

    It wasn't so obvious to me that upping the dbcache would improve IBD based on the -help description. I propose that a better (newbie friendly) solution would be to prompt users on first run of IBD if they would like to increase dbcache and explaining the benefit of it. Of course, you may have to add a note to not increase cache past available system RAM to be completely fool-proof.

    for reference, bitcoin-qt (v0.21.0) help description of dbcache

    -dbcache=<n>
           Maximum database cache size <n> MiB (4 to 16384, default: 450). In
           addition, unused mempool memory is shared for this cache (see
           -maxmempool).
    
  6. fanquake commented at 12:44 PM on August 17, 2022: member

    dbcache config option to be added to example config

    Should be solved after #22235.

  7. fanquake closed this on Aug 17, 2022

  8. bitcoin locked this on Aug 17, 2023

github-metadata-mirror

This is a metadata mirror of the GitHub repository bitcoin/bitcoin. This site is not affiliated with GitHub. Content is generated from a GitHub metadata backup.
generated: 2026-05-02 12:14 UTC

This site is hosted by @0xB10C
More mirrored repositories can be found on mirror.b10c.me