On Mon, May 07, 2018 at 11:54:08AM -0600, Lina Iyer wrote: > From: Ram Chandrasekar <rkumbako@xxxxxxxxxxxxxx> > > From: Ram Chandrasekar <rkumbako@xxxxxxxxxxxxxx> > > Step wise governor increases the mitigation level when the temperature > goes above a threshold and will decrease the mitigation when the > temperature falls below the threshold. If it were a case, where the > temperature hovers around a threshold, the mitigation will be applied > and removed at every iteration. This reaction to the temperature is > inefficient for performance. > > The use of hysteresis temperature could avoid this ping-pong of > mitigation by relaxing the mitigation to happen only when the > temperature goes below this lower hysteresis value. I don't disagree with this but the ping-pong around a temperature is usually avoided with a P-I-D computation which is implemented with the IPA governor. Wouldn't be more interesting to add the power numbers like some other platforms, so the IPA could be used? You will probably have better results with the IPA than changing the step-wise governor behavior (which may potentially impact other users). -- <http://www.linaro.org/> Linaro.org │ Open source software for ARM SoCs Follow Linaro: <http://www.facebook.com/pages/Linaro> Facebook | <http://twitter.com/#!/linaroorg> Twitter | <http://www.linaro.org/linaro-blog/> Blog -- To unsubscribe from this list: send the line "unsubscribe linux-arm-msm" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html