<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0"><channel><title>LINICKX.com</title><link>https://www.linickx.com/</link><description></description><lastBuildDate>Sat, 15 Jan 2011 20:17:00 +0000</lastBuildDate><item><title>Slammed by SPAM</title><link>https://www.linickx.com/slammed-by-spam</link><description>&lt;p&gt;Since moving to AWS linickx.com is suffering heavy pressure from
blog-comment-spammers.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://www.linickx.com/files/2011/01/Amy-CPU-Usage-1Day.png"&gt;&lt;img alt="" src="https://www.linickx.com/files/2011/01/Amy-CPU-Usage-1Day-300x159.png" title="Amy CPU Usage - 1Day" /&gt;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;The above is a graphs of a days max CPU usage.... it ain't pretty!
Whilst I formulate a plan my apologies to my visitors.&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">nick</dc:creator><pubDate>Sat, 15 Jan 2011 20:17:00 +0000</pubDate><guid isPermaLink="false">tag:www.linickx.com,2011-01-15:slammed-by-spam</guid><category>aws</category><category>cpu</category><category>Pic</category></item><item><title>Fedora HP Compaq nc6320: Overheating CPU</title><link>https://www.linickx.com/fedora-hp-compaq-nc6320-overheating-cpu</link><description>&lt;p&gt;I've been having issues with my laptop overheating recently, in fact
ever since loading fedora the cpu has run hot. According to
&lt;a href="http://www.alcpu.com/CoreTemp/"&gt;CoreTemp&lt;/a&gt; when in windows my CPU idles
at 56ºC ( &lt;em&gt;i.e. I've logged into windows opened outlook and walked
away&lt;/em&gt;) considering my AMD Desktop machine runs at 40ºC with two users
logged and the CPU peaking at 100%, means that my laptop cooks. In
Fedora I've found that the CPU actually Idles at around 70ºC which is a
joke, it means that the fan is kicking out hot air causing my desk and
everything around it to get proper hot - don't leave any chocolate bars
near me!&lt;/p&gt;
&lt;p&gt;I need to get some colleagues to run coretemp for a while to see if my
laptop is broken or if it's normal for this model of latop to run hot;
in the meantime I thought I'd post some tips on what I've done to cool
my laptop down. I've managed to get Fedora to idle at around 58ºC which
is much closer to my windows base-line.&lt;/p&gt;
&lt;p&gt;&lt;a href="http://carlthompson.net/Software/CPUSpeed"&gt;CPUSpeed&lt;/a&gt; is a
service/daemon which controls what the processor is doing, i.e. if
you're not running a lot it scales down the processor to run slower and
use less power, thus runs cooler. I found that my daemon was actually
crashing at boot up....&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;#/etc/init.d/cpuspeed status
cpuspeed dead but subsys locked 
#
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;The config file for cpuspeed is &lt;code&gt;/etc/sysconfig/cpuspeed&lt;/code&gt;, I've changed
the govenor from blank (&lt;em&gt;default: auto detect&lt;/em&gt;) to &lt;code&gt;GOVERNOR=ondemand&lt;/code&gt;
which seems to have solved my crashing issue. The second thing I've
changed is &lt;code&gt;IGNORE_NICE=1&lt;/code&gt; (&lt;em&gt;default: 0&lt;/em&gt;) which is now restricting which
processes can scale up the CPU. The only performance impact I've seen is
that this setting now stops VMWARE from consuming my CPU, and since I'm
a patient man this is no bad thing :)&lt;/p&gt;
&lt;p&gt;Whilst comparing my windows temp to my linux one it occurred to me that
it wasn't entirely fair, in linux I've got compiz graphics enabled, and
a load of gnome applets which tell me information about networking, cpu
speed, cpu temperature, the weather etc.... since windows has none of
these it's fair to say that my linux desktop should run a little
hotter.... so the "other" trick I've done to bring the temperature down
is to renice the applets to a lower priority...&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;ps ax | grep "applet" | grep -v grep|cut -c 1-5|xargs sudo renice 1
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;This seems to have done the trick, anything called "applet" now runs at
nice 1 rather than 0, the net effect is these processes are queued up
behind the "important" ones rather than continuously scaling up the
processor.&lt;/p&gt;
&lt;p&gt;I'm happy with the results so far, the desk is a lot cooler!&lt;/p&gt;</description><dc:creator xmlns:dc="http://purl.org/dc/elements/1.1/">nick</dc:creator><pubDate>Mon, 17 Mar 2008 19:25:00 +0000</pubDate><guid isPermaLink="false">tag:www.linickx.com,2008-03-17:fedora-hp-compaq-nc6320-overheating-cpu</guid><category>cpu</category><category>Fedora</category><category>Linux</category></item></channel></rss>