linux:kernel:cpu_sets
Differences
This shows you the differences between two versions of the page.
Next revision | Previous revision | ||
linux:kernel:cpu_sets [2019/12/15 21:50] – created peter | linux:kernel:cpu_sets [2020/07/15 09:30] (current) – external edit 127.0.0.1 | ||
---|---|---|---|
Line 5: | Line 5: | ||
Cpusets constrain the CPU and Memory placement of tasks to only the resources within a task's current cpuset. | Cpusets constrain the CPU and Memory placement of tasks to only the resources within a task's current cpuset. | ||
- | Cpusets use the generic cgroup subsystem described in [[Ubuntu: | + | Cpusets use the generic cgroup subsystem described in [[Linux: |
Requests by a task, using the **sched_setaffinity(2)** system call to include CPUs in its CPU affinity mask, and using the **mbind(2)** and **set_mempolicy(2)** system calls to include Memory Nodes in its memory policy, are both filtered through that task's cpuset, filtering out any | Requests by a task, using the **sched_setaffinity(2)** system call to include CPUs in its CPU affinity mask, and using the **mbind(2)** and **set_mempolicy(2)** system calls to include Memory Nodes in its memory policy, are both filtered through that task's cpuset, filtering out any |
linux/kernel/cpu_sets.1576446609.txt.gz · Last modified: 2020/07/15 09:30 (external edit)