sonyxperiadev / device-sony-tone

10 stars 25 forks source link

rootdir: system: etc: update up/down thresholds for video decoding #79

Closed oshmoun closed 6 years ago

oshmoun commented 7 years ago

The previous thresholds declared were too high, and the device was lagging on video playback. Lower the thresholds to give the device more room to scale.

oshmoun commented 7 years ago

please try with min_cpus="3"

djselbeck commented 7 years ago

We've been down this road before. It is a bug in the rqbalance driver and not the xml file

oshmoun commented 7 years ago

so you also tested increasing min_cpus to 3 and it didn't work? or did you only modify thresholds?

djselbeck commented 7 years ago

The problem is that the rqbalance governor will not recheck if the cores are balanced after an offlineing of a cpu until a cpufreq change happens which is not the case if all remaining core are at about 100% load.

This could also happen with 3cores at 100% load and the 4th core stuck offline. But it is much more unlikely to happen. You can see the PR i opened at the kernel repo for an explanation. You could also debug it by adding some pr_debug messages to the right methods in the rqbalance.c .

oshmoun commented 7 years ago

Ah understood, thanks for the explanation!