On Wed, 2016-03-16 at 17:00 -0700, Laura Abbott wrote:
On 03/16/2016 03:46 PM, Greg Kroah-Hartman wrote:What does it show here when performance drops?
On Wed, Mar 16, 2016 at 03:27:57PM -0700, Laura Abbott wrote:
Fedora received a bug report (https://bugzilla.redhat.com/show_bu
of a major performance drop on various bench marks and general
sluggishness with the 4.4.4 kernel update. The benchmarks were
a reduction to about 18% performance (not minor).
Bisection showed the first bad commit was
Author: Zhang Rui <rui.zhang@xxxxxxxxx>
Date: Fri Oct 30 16:31:47 2015 +0800
Thermal: initialize thermal zone device correctly
commit bb431ba26c5cd0a17c941ca6c3a195a3a6d5d461 upstream.
After thermal zone device registered, as we have not read
temperature before, thus tz->temperature should not be 0,
which actually means 0C, and thermal trend is not available.
In this case, we need specially handling for the first
Both thermal core framework and step_wise governor is
enhanced to handle this. And since the step_wise governor
is the only one that uses trends, so it's the only thermal
governor that needs to be updated.
Tested-by: Manuel Krause <manuelkrause@xxxxxxxxxxxx>
Tested-by: szegad <szegadlo@xxxxxxxxxxxxxx>
Tested-by: prash <prash.n.rao@xxxxxxxxx>
Tested-by: amish <ammdispose-arch@xxxxxxxxx>
Tested-by: Matthias <morpheusxyz123@xxxxxxxx>
Reviewed-by: Javi Merino <javi.merino@xxxxxxx>
Signed-off-by: Zhang Rui <rui.zhang@xxxxxxxxx>
Signed-off-by: Chen Yu <yu.c.chen@xxxxxxxxx>
Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxx
Reverting this plus to other commits in the series (a67208e94d94
"Thermal: handle thermal zone device properly during system
and 27f356149d59 "Thermal: do thermal zone update after a cooling
device registered") confirmed the performance was back to normal.
Bugzilla has the full discussion but this comment from one of the
reporters sums it up:
"In 4.4.3 and prior, my 2.40 MHz processor would fluctuate
1000 and 3400 MHz. In 4.4.4, the processor would fluctuate
400 and 700 MHz, according to /proc/cpuinfo.
performance, instead of the default "powersave" forces the CPU to
2400 MHz, and improves performance greatly, but still not to the
same level as in 4.4.3."
Is this same "slowdown" also seen in 4.5?
Yes, the same issue is seen on 4.5 according to the reporter.
grep . /sys/devices/system/cpu/intel_pstate/*
Is the problem still occurs if you set
/sys/class/thermal/thermal_zone*/mode to "disabled"