Separate resource usage profiles #8437

issue sipa openend this issue on July 31, 2016
  1. sipa commented at 7:34 pm on July 31, 2016: member

    There has been talk before (and I’m surprised to not find an existing issue about it) of having different memory usage profiles. This could encompass defaults for:

    • -dbcache
    • -par
    • -maxsigcachesize
    • -maxmempool
    • -maxorphantx
    • -maxconnections
    • -maxreceivebuffer
    • -maxsendbuffer

    For desktop systems, autodetecting could be used to determine optimal settings. For servers, it could be specified on the command line. I have heard about interest in a means for specifying “Just use all the memory I have”.

  2. TheBlueMatt commented at 7:41 pm on July 31, 2016: contributor
    I’m not sure it even needs to encompass more than -dbcache/-maxsigcachsize (which should probably be linked themselves).
  3. sipa commented at 8:04 pm on July 31, 2016: member
    @TheBlueMatt For the higher values, I agree. If you have 8 GB or 32 GB of RAM, you won’t modify your -maxsendbuffer necessarily. But for very low numbers, it may make sense to reduce the number of connections and buffers size to compared to the current defaults.
  4. jonasschnelli commented at 8:00 am on August 2, 2016: contributor
    • -maxuploadtarget

    I agree this would be useful (especially for GUI/desktop) users. There could also be a time-scheduler to flexible change profiles based on timeslots (use more bandwidth during nighttime, etc.).

  5. jonasschnelli added the label Feature on Aug 2, 2016
  6. jonasschnelli added the label Resource usage on Aug 2, 2016
  7. sipa commented at 4:04 pm on September 21, 2023: member
    Hi!
  8. willcl-ark added the label Settings on Oct 16, 2025

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: 2025-10-31 18:13 UTC

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