android_device_xiaomi_sdm66.../rootdir
Saurabh 3501d248b5
sdm660: rootdir: Enable sys.use_fifo_ui prop if EAS is present
* When sys.use_fifo_ui is enabled, ActivityManager tracks the UI thread and RenderThread (the two most UI-critical threads) of the top application and makes those threads SCHED_FIFO instead of SCHED_OTHER. This effectively eliminates jitter from UI and RenderThreads; the traces that've gathered with this option enabled show runnable times on the order of microseconds instead of milliseconds.
* However, it should be enabled only when we have EAS i.e a capacity-aware RT scheduler because if RT load balancer is not capacity-aware, then there would be a 30% reduction in application startup performance.

Reference: https://source.android.com/devices/tech/debug/jank_jitter

Signed-off-by: Saurabh Charde <saurabhchardereal@gmail.com>
Signed-off-by: Aston-Martinn <advaithbhat9@gmail.com>
Change-Id: I8b55ad1899be985fc7357abaf06d68d6a130fb75
2020-08-12 02:11:32 +06:00
..
bin sdm660: rootdir: Enable sys.use_fifo_ui prop if EAS is present 2020-08-12 02:11:32 +06:00
etc sepolicy: remove deprecated code for avc denial error cleanup 2020-08-12 02:11:32 +06:00
Android.mk sdm660-common: move A/B stuff to common 2020-08-12 02:02:39 +06:00