Skip to content

Separate resource usage profiles #8437

Open

Description

@sipa

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".

Activity

  1. TheBlueMatt commented on Jul 31, 2016

    @TheBlueMatt
    Contributor

    I'm not sure it even needs to encompass more than -dbcache/-maxsigcachsize (which should probably be linked themselves).

  2. sipa commented on Jul 31, 2016

    @sipa
    MemberAuthor

    @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.

  3. jonasschnelli commented on Aug 2, 2016

    @jonasschnelli
    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.).

  4. sipa commented on Sep 21, 2023

    @sipa
    MemberAuthor

    Hi!

  5. darosior commented on Feb 19, 2026

    @darosior
    Member

    This was brought up again during today's IRC meeting.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions