Use 90 as hispeed load to reduce power usage

Signed-off-by: Tyler Nijmeh <tylernij@gmail.com>
latency
Tyler Nijmeh 4 years ago
parent 74c3507d27
commit ceccd365c3

@ -130,7 +130,7 @@ Allow the scheduler to place tasks on their origin CPU, increasing cache localit
### Governor Tweaks
* {up_,down_}rate_limit_us / min_sample_time: 0 --> 5000: Only adjust frequencies once per scheduling cycle to reduce jitter or stutter caused by unrealistic frequency scaling.
* hispeed_load / go_hispeed_load: 90 --> 80: Jump to a higher frequency if we are approaching the end of the frequency list, where a task may begin to starve or begin to stutter.
* hispeed_load / go_hispeed_load: 90: Jump to a higher frequency if we are approaching the end of the frequency list, where a task may begin to starve or begin to stutter.
* hispeed_freq: <max>: Set the "higher freq" (referencing hispeed_load) to the maximum frequency available to take advantage of [Race-To-Idle](https://lwn.net/Articles/281629/).
### I/O

@ -165,13 +165,13 @@ do
write "${cpu}schedutil/up_rate_limit_us" 5000
write "${cpu}schedutil/down_rate_limit_us" 5000
write "${cpu}schedutil/rate_limit_us" 5000
write "${cpu}schedutil/hispeed_load" 80
write "${cpu}schedutil/hispeed_load" 90
write "${cpu}schedutil/hispeed_freq" `cat "${cpu}cpuinfo_max_freq"`
elif [[ "$avail_govs" == *"interactive"* ]]
then
_write "${cpu}scaling_governor" interactive
write "${cpu}interactive/min_sample_time" 5000
write "${cpu}interactive/go_hispeed_load" 80
write "${cpu}interactive/go_hispeed_load" 90
write "${cpu}interactive/hispeed_freq" `cat "${cpu}cpuinfo_max_freq"`
fi
done

Loading…
Cancel
Save