Do we want PELT_UTIL_HALFLIFE_32, PELT_UTIL_HALFLIFE_16, or PELT_UTIL_HALFLIFE_8? |
||
Issue descriptionAs Evan pointed out in <https://chromium-review.googlesource.com/c/chromiumos/third_party/kernel/+/1247067>, we have a choice to make. This choice was introduced when we merged over the Android EAS patches. I _believe_ that this choice affects all boards, not just those running EAS. Someone can correct me if I'm wrong. --- Here's the description from the KConfig --- choice prompt "Utilization's PELT half-Life" default PELT_UTIL_HALFLIFE_32 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 default of 32 ms. config PELT_UTIL_HALFLIFE_32 bool "32 ms, default for server" config PELT_UTIL_HALFLIFE_16 bool "16 ms, suggested for interactive workloads" help Use 16ms as PELT half-life value. This will increase the ramp-up and decay of utlization and load twice as fast as for the default configuration using 32ms. config PELT_UTIL_HALFLIFE_8 bool "8 ms, very fast" help Use 8ms as PELT half-life value. This will increase the ramp-up and decay of utlization and load four time as fast as for the default configuration using 32ms. endchoice --- ...right now we're getting the default (32). Nearly all Chrome OS devices are about interactivity over server performance. Should we move to 16?
,
Oct 3
Some context about WALT and PELT: (somewhat old) https://www.anandtech.com/show/12620/improving-the-exynos-9810-galaxy-s9-part-2/2 (somewhat old) https://www.slideshare.net/linaroorg/walt-vs-pelt-redux-sfo17307 http://retis.sssup.it/ospm-summit/Downloads/PELT_status_and_update.pdf
,
Oct 3
This is part of the EAS code. It is in branch experimental/eas-dev in the Android repository at https://android.googlesource.com/kernel/common. As of the EAS port to 4.18, it is still there. Presumably this means we'll get it with EAS, upstream or not.
,
Oct 3
re #3 thanks for the pointer to experimental/eas-dev. I'm pretty sure we'll want HALFLIFE_16 -- otherwise not sure why they'd keep this patch. I will try to get my system up and running and see if I can measure any difference.
,
Oct 5
The patch in question is gone in the EAS port to 4.19. The only option left is a half life of 32, which is hardcoded. If there is reason t believe that we need this option (and the associated patch) in chromeos-4.19 even though it has been dropped upstream, please let me know.
,
Oct 5
ok if it's dropped in 4.19 (not surprising since patchwork says "superseded") then I'm going to close this |
||
►
Sign in to add a comment |
||
Comment 1 by sonny...@google.com
, Oct 2