mirror of
https://github.com/torvalds/linux.git
synced 2026-06-08 14:42:37 +02:00
ANDROID: GKI: enable CONFIG_FAIR_GROUP_SCHED
Enable CONFIG_FAIR_GROUP_SCHED with proper tuning can help prioritize important work in Android. The feature was taken off due to improper setting on the background tasks' share. Now Tasks in root group has already moved into a newly created system subgroup, so the shares can be properly set. +----------------------------------------------------------------------------------------+ | Cold App Launch Time (* w/ prio120 8 threads running in root cpuset) | +----------------------------------------+--------+------+---------+-----------+---------+ | | chrome | maps | youtube | playstore | setting | +----------------------------------------+--------+------+---------+-----------+---------+ | No CONFIG_FAIR_GROUP_SCHED support(*) | 591 | 1314 | 887 | 1952 | 551 | +----------------------------------------+--------+------+---------+-----------+---------+ | CONFIG_FAIR_GROUP_SCHED w/ 1% limit(*) | 567 | 637 | 668 | 1450 | 529 | +----------------------------------------+--------+------+---------+-----------+---------+ | No stress runnning (best case) | 416 | 463 | 484 | 1075 | 363 | +----------------------------------------+--------+------+---------+-----------+---------+ Bug: 171740453 Test: Build and boot Signed-off-by: Wei Wang <wvw@google.com> Change-Id: Ibb7e48c93136e3967da6381d7c0c94d0cdaee443
This commit is contained in:
parent
c1c7252f19
commit
f08f049de1
|
|
@ -16,7 +16,6 @@ CONFIG_UCLAMP_TASK=y
|
|||
CONFIG_CGROUPS=y
|
||||
CONFIG_BLK_CGROUP=y
|
||||
CONFIG_CGROUP_SCHED=y
|
||||
# CONFIG_FAIR_GROUP_SCHED is not set
|
||||
CONFIG_UCLAMP_TASK_GROUP=y
|
||||
CONFIG_CGROUP_FREEZER=y
|
||||
CONFIG_CPUSETS=y
|
||||
|
|
|
|||
|
|
@ -18,7 +18,6 @@ CONFIG_UCLAMP_TASK=y
|
|||
CONFIG_CGROUPS=y
|
||||
CONFIG_BLK_CGROUP=y
|
||||
CONFIG_CGROUP_SCHED=y
|
||||
# CONFIG_FAIR_GROUP_SCHED is not set
|
||||
CONFIG_UCLAMP_TASK_GROUP=y
|
||||
CONFIG_CGROUP_FREEZER=y
|
||||
CONFIG_CPUSETS=y
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user