提交 229f5c1f 编写于 作者: T tanghui 提交者: Zhong Jinghua

sched: Introduce dynamic affinity for cfs scheduler

hulk inclusion
category: feature
bugzilla: 186575, https://gitee.com/openeuler/kernel/issues/I526XC

--------------------------------

Dynamic affinity set preferred cpus for task. When the utilization of
taskgroup's preferred cpu is low, task only run in cpus preferred to
enhance cpu resource locality and reduce interference between task cgroups,
otherwise task can burst preferred cpus to use external cpu within
cpus allowed.
Signed-off-by: Ntanghui <tanghui20@huawei.com>
Signed-off-by: NZheng Zucheng <zhengzucheng@huawei.com>
Reviewed-by: NZhang Qiao <zhangqiao22@huawei.com>
上级 80748ad9
......@@ -1024,6 +1024,16 @@ config RT_GROUP_SCHED
endif #CGROUP_SCHED
config QOS_SCHED_DYNAMIC_AFFINITY
bool "qos dynamic affinity"
depends on CPUSETS
default n
help
This feature lets you allocate preferred cpus to taskgroup. If enabled,
it will make taskgroup only to use preferred cpus when cpu utilization
of taskgroup is below threshold setted, otherwise make taskgroup to use
cpus allowed.
config UCLAMP_TASK_GROUP
bool "Utilization clamping per group of tasks"
depends on CGROUP_SCHED
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册