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

Add evergreen variant that uses a single core

    • Server Tooling & Methods
    • TIG D (12/11/15)

      We can add a variant in Evergreen that runs all processes started by a test (including other MongoDB processes) with affinity for a single processor. This can help to reveal timing dependencies within tests by starving the test of CPU resources.

      One option is use the taskset utility within resmoke.py on the processes it spawns. Another option is to use numactl --physcpubind like the perf project does.

      Note: The CPU affinity is inherited by child processes.

      A child created via fork(2) inherits its parent's CPU affinity mask. The affinity mask is preserved across an execve(2).

      -- http://man7.org/linux/man-pages/man2/sched_setaffinity.2.html

            Assignee:
            backlog-server-stm Backlog - Server Tooling and Methods (STM) (Inactive)
            Reporter:
            scotthernandez Scott Hernandez (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated:
              Resolved: