Skip to content
Snippets Groups Projects
Commit 5cabb5b5 authored by Hui Tang's avatar Hui Tang Committed by Yongqiang Liu
Browse files

sched: Introduce dynamic affinity for cfs scheduler

hulk inclusion
category: feature
bugzilla: 187173, https://gitee.com/openeuler/kernel/issues/I5G4IH


CVE: NA

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

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: default avatarHui Tang <tanghui20@huawei.com>
Reviewed-by: default avatarZhang Qiao <zhangqiao22@huawei.com>
Reviewed-by: default avatarChen Hui <judy.chenhui@huawei.com>
Signed-off-by: default avatarYongqiang Liu <liuyongqiang13@huawei.com>
parent 2d4185ae
No related branches found
No related tags found
No related merge requests found
......@@ -823,6 +823,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 CGROUP_PIDS
bool "PIDs controller"
help
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment