User Tools

Site Tools


linux:kernel:cpu_sets

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Next revision
Previous revision
linux:kernel:cpu_sets [2019/12/15 21:50] – created peterlinux: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.  They form a nested hierarchy visible in a virtual file system.  These are the essential hooks, beyond what is already present, required to manage dynamic job placement on large systems. Cpusets constrain the CPU and Memory placement of tasks to only the resources within a task's current cpuset.  They form a nested hierarchy visible in a virtual file system.  These are the essential hooks, beyond what is already present, required to manage dynamic job placement on large systems.
  
-Cpusets use the generic cgroup subsystem described in [[Ubuntu:Kernel:Control Groups|cgroups]].+Cpusets use the generic cgroup subsystem described in [[Linux:Kernel:Control Groups|cgroups]].
  
 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)

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki