On Mon, May 07, 2018 at 11:54:08AM -0600, Lina Iyer wrote:Possibly. But we have had better thermal performance for our hardware, with
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-wiseThis should not impact others who have not implemented the
governor behavior (which may potentially impact other users).