<div dir="ltr">np...<div>good hunting...</div><div><br></div><div><br></div><div><br></div><div>\'m'/</div><div><br></div><div><br></div><div>message ends.</div><div>__________________</div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">On Sun, Jan 20, 2019 at 11:45 PM Josh Greenland <<a href="mailto:joshuag1@mindspring.com">joshuag1@mindspring.com</a>> wrote:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div bgcolor="#FFFFFF">
<div class="gmail-m_-5014944563848573349moz-cite-prefix">I didn't known about laptop-mode-tools
until I saw your email. (Archlinux's packaging for powertop
didn't suggest it and it wasn't in Arch's repositories (though it
was in it's AUR).) Thank you for the suggestion. I'm going to
install it and see what I can get it to do.<br>
<br>
maestro wrote:<br>
</div>
<blockquote type="cite">
<div dir="ltr">
<div dir="ltr">Josh Greenland;
<div>do you also use the suggested [with install of powertop]
package laptop-mode-tools?</div>
<div>thank you...</div>
<div><br>
</div>
<div><br>
</div>
<div>message ends.</div>
<div>__________________</div>
<div><br>
</div>
<div><br>
</div>
<div>/'m'/</div>
<div><br>
</div>
<div><br>
</div>
</div>
</div>
<br>
<div class="gmail_quote">
<div dir="ltr">On Sun, Jan 13, 2019 at 5:55 AM Josh Greenland
<<a href="mailto:joshuag1@mindspring.com" target="_blank">joshuag1@mindspring.com</a>>
wrote:<br>
</div>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Akkana
Peck wrote:<br>
> My Thinkpad X201 laptop has developed an overheating
problem.<br>
> Randomly, when I'm doing something lengthy and CPU
intensive<br>
> like building Firefox, it will shut down without warning.
Afterward,<br>
> I have messages like this in /var/log/kern.log:<br>
> thermal_zone0: critical temperature reached (100 C),
shutting down<br>
><br>
> I've found lots of pages with people with similar
problems,<br>
> getting lots of responses like "Any modern Linux computer
should<br>
> automatically throttle its CPU when temperatures get
high". No one<br>
> explains how this automatic throttling is supposed to
happen, or how<br>
> to enable it if it's not happening, or what "modern"
means (is it<br>
> the CPU that needs to be modern? The BIOS? The kernel?
How modern?)<br>
><br>
> What I'd really like is a daemon or kernel setting that
monitors<br>
> the temperature and, if it exceeds max (well before it
reaches<br>
> critical), scales down the CPU frequency, or kills or
(preferably)<br>
> suspends whatever process is running away with the CPU,
or suspends<br>
> the machine rather than shutting down. I have started
down the path<br>
> of writing such a daemon, but it's complicated by not
wanting to<br>
> suspend certain processes like X even if their CPU usage
looks high<br>
> due to some other app. And it's hard to believe Linux
doesn't<br>
> already offer a solution to this problem.<br>
><br>
> More system details:<br>
><br>
> This X201 has been my main workhorse for 5+ years and
never had<br>
> temperature problems until a few weeks ago. I have opened
it<br>
> and don't see any dust bunnies around the fan.<br>
><br>
> Processor is a quad-core Intel(R) Core(TM) i5 CPU M 540 @
2.53GH.<br>
> Distro is Debian Testing. Kernel was 4.18.0-2-amd64,
which I was<br>
> stuck on because of a modeset bug in 4.18.0-3, but it
looks like<br>
> 4.19.0-1 has fixed it so now I've upgraded.<br>
><br>
> /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor is<br>
> "ondemand", if that matters; though it doesn't seem from<br>
> <a href="https://www.kernel.org/doc/Documentation/cpu-freq/governors.txt" rel="noreferrer" target="_blank">https://www.kernel.org/doc/Documentation/cpu-freq/governors.txt</a><br>
> like any of the governors look at temperature at all.<br>
><br>
> Any suggestions? Any good articles I could read on how
this<br>
> scaling/governor/thermal/cpufreq stuff is supposed to
work?<br>
><br>
> ...Akkana<br>
<br>
It might not hurt to install the powertop utility and use it
to check <br>
power usage, especially of hardware resources that you don't
use, and to <br>
use it to turn on all powersaving capabilities on your
system. It's <br>
made a huge difference on a hot-running system that I use, and
has <br>
helped on an older Thinkpad that I spend a lot of time on.<br>
<br>
You can also use powertop to see what hardware resources stop
using <br>
power when you unload their modules.<br>
<br>
I also use the cpupower utility, which has allowed me to put
maximum <br>
limits on CPU frequency when my systems run too hot -- most
often during <br>
compiles.<br>
<br>
I use the sensors utility from the lm_sensors package and i7z
to keep an <br>
eye on temperature and fan speed.<br>
<br>
powertop, cpupower, lm_sensors and i7z are all packages on
Archlinux's <br>
respositories. I don't know about their availability on other
distros.<br>
<br>
'<br>
There is also thermald, a daemon software that may have been
designed to <br>
do what you want.<br>
<br>
<br>
_______________________________________________<br>
sf-lug mailing list<br>
<a href="mailto:sf-lug@linuxmafia.com" target="_blank">sf-lug@linuxmafia.com</a><br>
<a href="http://linuxmafia.com/mailman/listinfo/sf-lugSF-LUG" rel="noreferrer" target="_blank">http://linuxmafia.com/mailman/listinfo/sf-lug<br>
SF-LUG</a> is at <a href="http://www.sf-lug.org/" rel="noreferrer" target="_blank">http://www.sf-lug.org/</a>
</blockquote>
</div>
<br clear="all">
<div><br>
</div>
-- <br>
<div dir="ltr" class="gmail-m_-5014944563848573349gmail_signature">
<p style="margin-bottom:0.0001pt"><b><span style="font-family:Tahoma,sans-serif">~the quieter you
become,
the more you are able to hear...</span></b></p>
</div>
</blockquote>
<br>
</div>
_______________________________________________<br>
sf-lug mailing list<br>
<a href="mailto:sf-lug@linuxmafia.com" target="_blank">sf-lug@linuxmafia.com</a><br>
<a href="http://linuxmafia.com/mailman/listinfo/sf-lug" rel="noreferrer" target="_blank">http://linuxmafia.com/mailman/listinfo/sf-lug</a><br>
SF-LUG is at <a href="http://www.sf-lug.org/" rel="noreferrer" target="_blank">http://www.sf-lug.org/</a> </blockquote></div><br clear="all"><div><br></div>-- <br><div dir="ltr" class="gmail_signature"><p style="margin-bottom:0.0001pt"><b><span style="font-family:Tahoma,sans-serif">~the quieter you become,
the more you are able to hear...</span></b></p></div>