Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 8671139b authored by GeunSik Lim's avatar GeunSik Lim Committed by Jiri Kosina
Browse files

Update cpuset info & webiste for cgroups



cpuset related websited is changed.
and, update list of cpuset using cgroup(controller group).

Signed-off-by: default avatarGeunsik Lim <geunsik.lim@samsung.com>
Acked-by: default avatarPaul Menage <menage@google.com>
Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
parent dd65c736
Loading
Loading
Loading
Loading
+9 −8
Original line number Original line Diff line number Diff line
@@ -693,7 +693,7 @@ There are ways to query or modify cpusets:
 - via the C library libcgroup.
 - via the C library libcgroup.
   (http://sourceforge.net/projects/libcg/)
   (http://sourceforge.net/projects/libcg/)
 - via the python application cset.
 - via the python application cset.
   (http://developer.novell.com/wiki/index.php/Cpuset)
   (http://code.google.com/p/cpuset/)


The sched_setaffinity calls can also be done at the shell prompt using
The sched_setaffinity calls can also be done at the shell prompt using
SGI's runon or Robert Love's taskset.  The mbind and set_mempolicy
SGI's runon or Robert Love's taskset.  The mbind and set_mempolicy
@@ -725,13 +725,14 @@ Now you want to do something with this cpuset.


In this directory you can find several files:
In this directory you can find several files:
# ls
# ls
cpuset.cpu_exclusive       cpuset.memory_spread_slab
cgroup.clone_children  cpuset.memory_pressure
cpuset.cpus                cpuset.mems
cgroup.event_control   cpuset.memory_spread_page
cpuset.mem_exclusive       cpuset.sched_load_balance
cgroup.procs           cpuset.memory_spread_slab
cpuset.mem_hardwall        cpuset.sched_relax_domain_level
cpuset.cpu_exclusive   cpuset.mems
cpuset.memory_migrate      notify_on_release
cpuset.cpus            cpuset.sched_load_balance
cpuset.memory_pressure     tasks
cpuset.mem_exclusive   cpuset.sched_relax_domain_level
cpuset.memory_spread_page
cpuset.mem_hardwall    notify_on_release
cpuset.memory_migrate  tasks


Reading them will give you information about the state of this cpuset:
Reading them will give you information about the state of this cpuset:
the CPUs and Memory Nodes it can use, the processes that are using
the CPUs and Memory Nodes it can use, the processes that are using