Revert "Don't touch hispeed freqs"

This reverts commit 4a7355cb91.
latency
Tyler Nijmeh 4 years ago
parent 84cd37db1f
commit 2ea5f5d627

@ -139,6 +139,8 @@ Allow the scheduler to place tasks on their origin CPU, increasing cache localit
### Governor Tweaks
* {up_,down_}rate_limit_us / min_sample_time: 0 --> 10000: 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_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
* iostats: 1 --> 0: Disable I/O statistics accounting, which adds overhead.

@ -152,10 +152,14 @@ do
write "${cpu}schedutil/up_rate_limit_us" 10000
write "${cpu}schedutil/down_rate_limit_us" 10000
write "${cpu}schedutil/rate_limit_us" 10000
write "${cpu}schedutil/hispeed_load" 80
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" 10000
write "${cpu}interactive/go_hispeed_load" 80
write "${cpu}interactive/hispeed_freq" `cat "${cpu}cpuinfo_max_freq"`
fi
done

Loading…
Cancel
Save