linux-wireless.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* Issues with mt7915 thermal throttling
@ 2022-01-18  9:08 Nicolas Cavallari
  2022-02-07 17:37 ` [PATCH RFC 1/3] mt76: mt7915e: Fix degraded performance after temporary overheat Nicolas Cavallari
  0 siblings, 1 reply; 4+ messages in thread
From: Nicolas Cavallari @ 2022-01-18  9:08 UTC (permalink / raw)
  To: linux-wireless; +Cc: Ryder Lee, Lorenzo Bianconi, Felix Fietkau

I noticed some strange issues with mt7915's thermal throttling, 
particularly the cooling_device.

First, it seems that the thermal subsystem expect that higher 
cooling_device states provide more cooling, but mt7915e apparently does 
the opposite and use it as a duty cycle, where state=1 does severe 
throttling/max cooling (iperf throughput basically go down to near zero) 
and state=100 is full power.

Also, state=0, from the comments, apparently disable thermal management, 
except that in practice, it does not change the throttle state, since 
throughput stays low when switching from state=1 to state=0, and stays 
high when switching from 100 to 0.

As a result, as soon as the default thermal zone runs a little hot, the 
performance of mt7915e is destroyed and does not recover much when the 
temperature drops down.

I can come up with a patch to fix the first issue, but not the state=0 
one, and i would like some pointers/confirmation.

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2022-02-07 17:53 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-18  9:08 Issues with mt7915 thermal throttling Nicolas Cavallari
2022-02-07 17:37 ` [PATCH RFC 1/3] mt76: mt7915e: Fix degraded performance after temporary overheat Nicolas Cavallari
2022-02-07 17:37   ` [PATCH RFC 2/3] mt76: mt7915e: Add a hwmon attribute to get the actual throttle state Nicolas Cavallari
2022-02-07 17:37   ` [PATCH RFC 3/3] mt76: mt7915e: Enable thermal management by default Nicolas Cavallari

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).