All of lore.kernel.org
 help / color / mirror / Atom feed
* [RFC 0/1] Introduce new attribute "priority" to control group
@ 2021-04-04 14:51 yulei.kernel-Re5JQEeQqe8AvxtiuMwx3w
       [not found] ` <cover.1617355387.git.yuleixzhang-1Nz4purKYjRBDgjK7y7TUQ@public.gmane.org>
  0 siblings, 1 reply; 6+ messages in thread
From: yulei.kernel-Re5JQEeQqe8AvxtiuMwx3w @ 2021-04-04 14:51 UTC (permalink / raw)
  To: tj-DgEjT+Ai2ygdnm+yROfE0A, lizefan.x-EC8Uxl6Npydl57MIdRCFDg,
	hannes-druUgvl0LCNAfugRpC6u6w, christian-STijNZzMWpgWenYVfaLwtA
  Cc: cgroups-u79uwXL29TY76Z2rM5mHXA, benbjiang-1Nz4purKYjRBDgjK7y7TUQ,
	kernellwp-Re5JQEeQqe8AvxtiuMwx3w,
	lihaiwei.kernel-Re5JQEeQqe8AvxtiuMwx3w,
	linussli-1Nz4purKYjRBDgjK7y7TUQ,
	herberthbli-1Nz4purKYjRBDgjK7y7TUQ,
	lennychen-1Nz4purKYjRBDgjK7y7TUQ,
	allanyuliu-1Nz4purKYjRBDgjK7y7TUQ, Yulei Zhang

From: Yulei Zhang <yuleixzhang-1Nz4purKYjRBDgjK7y7TUQ@public.gmane.org>

This patch is the init patch of a series which we want to present the idea
of prioritized tasks management. As the cloud computing introduces intricate
configurations to provide customized infrasturctures and friendly user
experiences, in order to maximum utilization of sources and improve the
efficiency of arrangement, we add the new attribute "priority" to control
group, which could be used as graded factor by subssystems to manipulate
the behaviors of processes.

Base on the order of priority, we could apply different resource configuration
strategies, sometimes it will be more accuracy instead of fine tuning in each
subsystem. And of course to set fundamental rules, for example, high priority
cgroups could seize the resource from cgroups with lower priority all the time.

The default value of "priority" is set to 0 which means the highest
priority, and the totally levels of priority is defined by
CGROUP_PRIORITY_MAX. Each subsystem could register callback to receive the
priority change notification for their own purposes. 

We would like to send out the corresponding features in the coming weeks,
which are relaying on the priority settings. For example, the prioritized
oom, memory reclaiming and cpu schedule strategy.

Lei Chen (1):
  cgroup: add support for cgroup priority

 include/linux/cgroup-defs.h |  2 +
 include/linux/cgroup.h      |  2 +
 kernel/cgroup/cgroup.c      | 90 +++++++++++++++++++++++++++++++++++++
 3 files changed, 94 insertions(+)

-- 
2.28.0


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

end of thread, other threads:[~2021-04-08 20:58 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-04-04 14:51 [RFC 0/1] Introduce new attribute "priority" to control group yulei.kernel-Re5JQEeQqe8AvxtiuMwx3w
     [not found] ` <cover.1617355387.git.yuleixzhang-1Nz4purKYjRBDgjK7y7TUQ@public.gmane.org>
2021-04-04 14:52   ` [RFC 1/1] cgroup: add support for cgroup priority yulei.kernel-Re5JQEeQqe8AvxtiuMwx3w
2021-04-04 17:46     ` kernel test robot
2021-04-04 17:29   ` [RFC 0/1] Introduce new attribute "priority" to control group Tejun Heo
2021-04-08 16:49     ` yulei zhang
     [not found]       ` <CACZOiM0xA+6kAeM2sk3SfVV9Vu+5dOzC7APoNmB0Zw3jQKbg+w-JsoAwUIsXosN+BqQ9rBEUg@public.gmane.org>
2021-04-08 20:58         ` Shakeel Butt

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.