Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-78393

Capture CPU Cgroup Information in FTDC metadata

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Unresolved
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • Server Security
    • Security 2023-10-16, Security 2023-11-13, Security 2024-01-08, Security 2024-02-19

    Description

      Currently we expose memory cgroup information in FTDC.

      It would be beneficial to capture the effective CPU cgroup information in FTDC as well.

      This would relay if a MongoDB service contained a systemd CPUQuota or are running a Kubernetes pod with a requests.cpu limit.

      My thought was a calculated, fractional value under hostInfo.system that represents the effective number of cores this process could be scheduled on.

      https://docs.kernel.org/scheduler/sched-bwc.html
      https://www.freedesktop.org/software/systemd/man/systemd.resource-control.html

      Attachments

        Activity

          People

            brad.moore@mongodb.com Brad Moore
            kevin.arhelger@mongodb.com Kevin Arhelger
            Votes:
            5 Vote for this issue
            Watchers:
            13 Start watching this issue

            Dates

              Created:
              Updated: