Skip to content

syncthing should be cgroup aware #9435

Closed

Description

@uhthomas

Does your log mention database corruption?

No.

Include required information

Go is not cgroup aware. This means that Syncthing will be throttled hard in containerised environments with CPU limits.

The below screenshot shows a Syncthing container with a CPU limit of 1 core in Kubernetes. The first half of the time series is on a 13600k, with 20 threads. The second half is when the machine changed to use an EPYC 7763 with 128 threads.

image

This was sort of mentioned in another issue, but not really - #9357. Syncthing should probably use automaxprocs.

Activity

  1. added
    bug
    needs-triage
    on Feb 25, 2024
  2. added 4 commits that reference this issue on Feb 25, 2024
    c11d754
    53874c5
    1a64abc
    9269cc1
  3. added a commit that references this issue on Feb 26, 2024
    aa559bf
  4. uhthomas commented on Feb 26, 2024

    @uhthomas
    ContributorAuthor

    The change made a huge difference, thank you for taking the time to review it.
    image

  5. added this to the v1.27.4 milestone on Feb 27, 2024
  6. added 2 commits that reference this issue on Jul 7, 2024
    685d17e
    199e176
  7. added
    frozen-due-to-age
    on Apr 9, 2025
  8. locked and limited conversation to collaborators on Apr 9, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugfrozen-due-to-ageneeds-triage

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions