Home
last modified time | relevance | path

Searched refs:cpuset (Results 1 – 23 of 23) sorted by relevance

/linux-4.1.27/Documentation/cgroups/
Dcpusets.txt45 the resources within a task's current cpuset. They form a nested
56 policy, are both filtered through that task's cpuset, filtering out any
57 CPUs or Memory Nodes not in that cpuset. The scheduler will not
64 cpusets and which CPUs and Memory Nodes are assigned to each cpuset,
65 specify and query to which cpuset a task is assigned, and list the
66 task pids assigned to a cpuset.
100 The kernel cpuset patch provides the minimum essential kernel
121 - Each task in the system is attached to a cpuset, via a pointer
124 allowed in that task's cpuset.
126 those Memory Nodes allowed in that task's cpuset.
[all …]
Dmemcg_test.txt138 For NUMA, migration is an another special case. To do easy test, cpuset
141 mount -t cgroup -o cpuset none /opt/cpuset
143 mkdir /opt/cpuset/01
144 echo 1 > /opt/cpuset/01/cpuset.cpus
145 echo 0 > /opt/cpuset/01/cpuset.mems
146 echo 1 > /opt/cpuset/01/cpuset.memory_migrate
147 mkdir /opt/cpuset/02
148 echo 1 > /opt/cpuset/02/cpuset.cpus
149 echo 1 > /opt/cpuset/02/cpuset.mems
150 echo 1 > /opt/cpuset/02/cpuset.memory_migrate
[all …]
Dcgroups.txt113 CPU : "Top cpuset"
301 This flag only affects the cpuset controller. If the clone_children
302 flag is enabled (1) in a cgroup, a new cpuset cgroup will copy its
309 the "cpuset" cgroup subsystem, the steps are something like:
312 2) mkdir /sys/fs/cgroup/cpuset
313 3) mount -t cgroup -ocpuset cpuset /sys/fs/cgroup/cpuset
315 the /sys/fs/cgroup/cpuset virtual file system.
318 /sys/fs/cgroup/cpuset tasks file for that cgroup.
326 mkdir /sys/fs/cgroup/cpuset
327 mount -t cgroup cpuset -ocpuset /sys/fs/cgroup/cpuset
[all …]
Dunified-hierarchy.txt25 4-3-2. cpuset
316 4-3-2. cpuset
321 - A task can be moved into an empty cpuset, and again it takes on the
/linux-4.1.27/kernel/
Dcpuset.c75 struct cpuset { struct
135 static inline struct cpuset *css_cs(struct cgroup_subsys_state *css) in css_cs() argument
137 return css ? container_of(css, struct cpuset, css) : NULL; in css_cs()
141 static inline struct cpuset *task_cs(struct task_struct *task) in task_cs()
146 static inline struct cpuset *parent_cs(struct cpuset *cs) in parent_cs()
177 static inline bool is_cpuset_online(const struct cpuset *cs) in is_cpuset_online()
182 static inline int is_cpu_exclusive(const struct cpuset *cs) in is_cpu_exclusive()
187 static inline int is_mem_exclusive(const struct cpuset *cs) in is_mem_exclusive()
192 static inline int is_mem_hardwall(const struct cpuset *cs) in is_mem_hardwall()
197 static inline int is_sched_load_balance(const struct cpuset *cs) in is_sched_load_balance()
[all …]
DMakefile58 obj-$(CONFIG_CPUSETS) += cpuset.o
/linux-4.1.27/tools/power/cpupower/bench/
Dsystem.c89 cpu_set_t cpuset; in set_cpu_affinity() local
91 CPU_ZERO(&cpuset); in set_cpu_affinity()
92 CPU_SET(cpu, &cpuset); in set_cpu_affinity()
96 if (sched_setaffinity(getpid(), sizeof(cpu_set_t), &cpuset) < 0) { in set_cpu_affinity()
/linux-4.1.27/tools/perf/bench/
Dfutex.h75 cpu_set_t *cpuset) in pthread_attr_setaffinity_np() argument
79 cpuset = cpuset; in pthread_attr_setaffinity_np()
/linux-4.1.27/Documentation/x86/x86_64/
Dfake-numa-for-cpusets40 [root@xroads /]# mount -t cpuset none exampleset
46 Now this cpuset, 'ddset', will only allowed access to fake nodes 0 and 1 for
57 /proc/meminfo between the restricted cpuset case above and the unrestricted
59 cpuset):
/linux-4.1.27/Documentation/scheduler/
Dsched-deadline.txt297 and the cpuset mechanism is used to implement partitioned scheduling (see
310 through the cpuset facility (Documentation/cgroups/cpusets.txt).
318 mkdir /dev/cpuset
319 mount -t cgroup -o cpuset cpuset /dev/cpuset
320 cd /dev/cpuset
322 echo 0 > cpu0/cpuset.cpus
323 echo 0 > cpu0/cpuset.mems
324 echo 1 > cpuset.cpu_exclusive
325 echo 0 > cpuset.sched_load_balance
326 echo 1 > cpu0/cpuset.cpu_exclusive
[all …]
/linux-4.1.27/include/linux/
Dcgroup_subsys.h7 SUBSYS(cpuset)
/linux-4.1.27/Documentation/vm/
Dpage_migration40 move pages when a task is moved to another cpuset (See
43 a new cpuset then also all its pages are moved with it so that the
45 of processes in a cpuset are moved if the allowed memory nodes of a
46 cpuset are changed.
Dnuma_memory_policy.txt16 both cpusets and policies are applied to a task, the restrictions of the cpuset
228 nodes allowed by the task's cpuset, then the memory policy is
232 For example, consider a task that is attached to a cpuset with
234 the cpuset's mems change to 3-5, the Interleave will now occur
274 For example, consider a task that is attached to a cpuset with
276 MPOL_F_RELATIVE_NODES. If the cpuset's mems change to 3-7, the
277 interleave now occurs over nodes 3,5-7. If the cpuset's mems
283 disregard their current, actual cpuset imposed memory placement
287 set of memory nodes allowed by the task's cpuset, as that may
436 nodes whose memories are allowed by the cpuset constraints. If the nodemask
[all …]
Dhugetlbpage.txt221 interleaving over all nodes in the system or cpuset.
224 the resource limits of any cpuset in which the task runs. Thus, there will
225 be no way for a task with non-default policy running in a cpuset with a
226 subset of the system nodes to allocate huge pages outside the cpuset
227 without first moving to a cpuset that contains all of the desired nodes.
255 resources exist, regardless of the task's mempolicy or cpuset constraints.
/linux-4.1.27/Documentation/
Dgdb-kernel-debugging.txt96 [ 0.000000] Initializing cgroup subsys cpuset
Dcpu-hotplug.txt251 The new CPU is chosen from each process' current cpuset, which may be
Dkernel-parameters.txt1593 "isolated" CPU via the CPU affinity syscalls or cpuset.
/linux-4.1.27/Documentation/filesystems/
Dtmpfs.txt100 if any, modified by the calling task's cpuset constraints
Dproc.txt1439 was called. If it is due to the memory assigned to the allocating task's cpuset
1441 cpuset. If it is due to a mempolicy's node(s) being exhausted, the allowed
1458 same system, cpuset, mempolicy, or memory controller resources to use at least
/linux-4.1.27/kernel/sched/
Dcore.c1309 enum { cpuset, possible, fail } state = cpuset; in select_fallback_rq() enumerator
1342 case cpuset: in select_fallback_rq()
1360 if (state != cpuset) { in select_fallback_rq()
/linux-4.1.27/Documentation/sysctl/
Dvm.txt812 node unless explicitly overridden by memory policies or cpuset
/linux-4.1.27/init/
DKconfig987 bool "Include legacy /proc/<pid>/cpuset file"
/linux-4.1.27/
DMAINTAINERS2722 W: http://www.bullopensource.org/cpuset/
2727 F: include/linux/cpuset.h
2728 F: kernel/cpuset.c