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

Instead of grubbing around in /proc/self, use libnuma to query (and potentially alter) numa configuration at startup

    XMLWordPrintableJSON

Details

    Description

      Currently, we detect if we are on a numa machine by examining /sys/devices, and detect how numa is configured by looking at /proc/self/numa_maps. We then issue a warning.

      A better way to do this, on machines new enough to offer it, is to use libnuma to query the numa state. Potentially, we could also change the interleave state as well with numa_set_interleave_mask.

      This would both protect us from future changes to /proc and /sys, and give us finer grained control over our NUMA story.

      Attachments

        Activity

          People

            backlog-server-platform DO NOT USE - Backlog - Platform Team
            andrew.morrow@mongodb.com Andrew Morrow (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            6 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: