sched: fair: Add support to PELT ramp/decay timings

Change-Id: If12dd8b4df211c898667cdb7c8b42d0eba9ac200
Signed-off-by: Patrick Bellasi <patrick.bellasi@arm.com>
Signed-off-by: lakkyung.jung <lakkyung.jung@samsung.com>
This commit is contained in:
lakkyung.jung 2018-04-24 23:02:12 +09:00 committed by xxmustafacooTR
parent 1a2e1001bd
commit e60fd9366a
No known key found for this signature in database
GPG key ID: 520B6FE385CBF5C9
3 changed files with 132 additions and 28 deletions

View file

@ -970,6 +970,33 @@ config HAVE_UNSTABLE_SCHED_CLOCK
config GENERIC_SCHED_CLOCK
bool
menu "FAIR Scheuler tunables"
choice
prompt "Utilization's PELT half-Life"
default PELT_UTIL_HALFLIFE_16
help
Allows choosing one of the possible values for the PELT half-life to
be used for the update of the utilization of tasks and CPUs.
The half-life is the amount of [ms] required by the PELT signal to
build up to 50% utilization. The higher the half-life the longer it
takes for a task to be represented as a big one.
If not sure, use the deafult of 16 ms.
config PELT_UTIL_HALFLIFE_32
bool "32 ms, for server"
config PELT_UTIL_HALFLIFE_16
bool "16 ms, suggested for interactive workloads"
config PELT_UTIL_HALFLIFE_8
bool "8 ms, very fast"
endchoice
endmenu # FAIR Scheduler tunables"
#
# For architectures that want to enable the support for NUMA-affine scheduler
# balancing logic: