All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH 0/3] cgroup2: introduce cpuset.mems.migration
@ 2021-04-26  6:59 ` Abel Wu
  0 siblings, 0 replies; 17+ messages in thread
From: Abel Wu @ 2021-04-26  6:59 UTC (permalink / raw)
  To: akpm-de/tnXTf+JLsfHDXvbKv3WD2FQJk+8+b,
	lizefan.x-EC8Uxl6Npydl57MIdRCFDg, tj-DgEjT+Ai2ygdnm+yROfE0A,
	hannes-druUgvl0LCNAfugRpC6u6w, corbet-T1hC0tSOHrs
  Cc: cgroups-u79uwXL29TY76Z2rM5mHXA, linux-mm-Bw31MaZKKs3YtjvyW6yDsg,
	linux-doc-u79uwXL29TY76Z2rM5mHXA,
	linux-kernel-u79uwXL29TY76Z2rM5mHXA, Abel Wu

Some of our services are quite performance sensitive and
actually NUMA-aware designed, aka numa-service. The SLOs
can be easily violated when co-locate numa-services with
other workloads. Thus they are granted to occupy the whole
NUMA node and when such assignment applies, the workload
on that node needs to be moved away fast and complete.

This new cgroup v2 interface is an enhancement of cgroup
v1 interface cpuset.memory_migrate by adding a new mode
called "lazy". With the help of the "lazy" mode migration
we solved the aforementioned problem on fast eviction.

Patch 1 applies cpusets limits to tasks that using default
memory policies, which makes pages inside mems_allowed are
preferred when autoNUMA is enabled. This is also necessary
for the "lazy" mode of cpuset.mems.migration.

Patch 2&3 introduce cpuset.mems.migration, see the patches
for detailed information please.

Abel Wu (3):
  mm/mempolicy: apply cpuset limits to tasks using default policy
  cgroup/cpuset: introduce cpuset.mems.migration
  docs/admin-guide/cgroup-v2: add cpuset.mems.migration

 Documentation/admin-guide/cgroup-v2.rst |  36 ++++++++
 kernel/cgroup/cpuset.c                  | 104 +++++++++++++++++++-----
 mm/mempolicy.c                          |   7 +-
 3 files changed, 124 insertions(+), 23 deletions(-)

-- 
2.31.1


^ permalink raw reply	[flat|nested] 17+ messages in thread
* [PATCH 0/3] cgroup2: introduce cpuset.mems.migration
@ 2021-04-22  9:06 Abel Wu
       [not found] ` <20210422090608.7160-1-wuyun.abel-EC8Uxl6Npydl57MIdRCFDg@public.gmane.org>
  0 siblings, 1 reply; 17+ messages in thread
From: Abel Wu @ 2021-04-22  9:06 UTC (permalink / raw)
  To: akpm-de/tnXTf+JLsfHDXvbKv3WD2FQJk+8+b,
	lizefan.x-EC8Uxl6Npydl57MIdRCFDg, tj-DgEjT+Ai2ygdnm+yROfE0A,
	hannes-druUgvl0LCNAfugRpC6u6w, corbet-T1hC0tSOHrs
  Cc: cgroups-u79uwXL29TY76Z2rM5mHXA, linux-mm-Bw31MaZKKs3YtjvyW6yDsg

Some of our services are quite performance sensitive and
actually NUMA-aware designed, aka numa-service. The SLOs
can be easily violated when co-locate numa-services with
other workloads. Thus they are granted to occupy the whole
NUMA node and when such assignment applies, the workload
on that node needs to be moved away fast and complete.

This new cgroup v2 interface is an enhancement of cgroup
v1 interface cpuset.memory_migrate by adding a new mode
called "lazy". With the help of the "lazy" mode migration
we solved the aforementioned problem on fast eviction.

Patch 1 applies cpusets limits to tasks that using default
memory policies, which makes pages inside mems_allowed are
preferred when autoNUMA is enabled. This is also necessary
for the “lazy” mode of cpuset.mems.migration.

Patch 2&3 introduce cpuset.mems.migration, see the patches
for detailed information please.

Abel Wu (3):
  mm/mempolicy: apply cpuset limits to tasks using default policy
  cgroup/cpuset: introduce cpuset.mems.migration
  docs/admin-guide/cgroup-v2: add cpuset.mems.migration

 Documentation/admin-guide/cgroup-v2.rst |  36 ++++++++
 kernel/cgroup/cpuset.c                  | 104 +++++++++++++++++++-----
 mm/mempolicy.c                          |   7 +-
 3 files changed, 124 insertions(+), 23 deletions(-)

-- 
2.31.1


^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2021-05-05 22:30 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-04-26  6:59 [PATCH 0/3] cgroup2: introduce cpuset.mems.migration Abel Wu
2021-04-26  6:59 ` Abel Wu
     [not found] ` <20210426065946.40491-1-wuyun.abel-EC8Uxl6Npydl57MIdRCFDg@public.gmane.org>
2021-04-26  6:59   ` [PATCH 1/3] mm/mempolicy: apply cpuset limits to tasks using default policy Abel Wu
2021-04-26  6:59     ` Abel Wu
2021-04-26  6:59 ` [PATCH 2/3] cgroup/cpuset: introduce cpuset.mems.migration Abel Wu
2021-04-26  6:59   ` Abel Wu
     [not found]   ` <20210426065946.40491-3-wuyun.abel-EC8Uxl6Npydl57MIdRCFDg@public.gmane.org>
2021-04-27 14:43     ` Tejun Heo
2021-04-27 14:43       ` Tejun Heo
2021-04-28  7:24       ` Abel Wu
2021-04-28  7:24         ` Abel Wu
2021-05-05  5:06       ` [Phishing Risk] [External] " Abel Wu
2021-05-05  5:06         ` Abel Wu
     [not found]       ` <YIgjE6CgU4nDsJiR-NiLfg/pYEd1N0TnZuCh8vA@public.gmane.org>
2021-05-05 22:30         ` Johannes Weiner
2021-05-05 22:30           ` Johannes Weiner
2021-04-26  6:59 ` [PATCH 3/3] docs/admin-guide/cgroup-v2: add cpuset.mems.migration Abel Wu
  -- strict thread matches above, loose matches on Subject: below --
2021-04-22  9:06 [PATCH 0/3] cgroup2: introduce cpuset.mems.migration Abel Wu
     [not found] ` <20210422090608.7160-1-wuyun.abel-EC8Uxl6Npydl57MIdRCFDg@public.gmane.org>
2021-04-22  9:06   ` [PATCH 2/3] cgroup/cpuset: " Abel Wu
2021-04-22  9:06     ` Abel Wu

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.