CPU usage mysteriously spiking after kernel upgrade
After updating the kernel on my ThinkPad from linux-image-2.6.28-grml
to linux-image-2.6.31-grml I've noticed cpu usage periodically jumping
from 600MHz to 1500MHz several times a minute. This is with not much
going on but Vim, Mutt & ELinks running in a screen session in a
framebuffer console. Top shows nothing under the %CPU column...I don't
see anything pass much beyond 1%.
Any thoughts as to what could be causing this and/or suggested
techniques for determining the culprit would be much appreciated.
Regards,
John
--
John Magolske
http://B79.net/contact
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20110504023936.GA19816@s70206.gridserver.com">http ://lists.debian.org/20110504023936.GA19816@s70206.gridserver.com
05-04-2011, 08:27 AM
Arnt Karlsen
CPU usage mysteriously spiking after kernel upgrade
On Tue, 3 May 2011 19:39:37 -0700, John wrote in message
<20110504023936.GA19816@s70206.gridserver.com>:
> After updating the kernel on my ThinkPad from linux-image-2.6.28-grml
> to linux-image-2.6.31-grml I've noticed cpu usage periodically jumping
> from 600MHz to 1500MHz several times a minute. This is with not much
> going on but Vim, Mutt & ELinks running in a screen session in a
> framebuffer console. Top shows nothing under the %CPU column...I don't
> see anything pass much beyond 1%.
>
> Any thoughts as to what could be causing this and/or suggested
> techniques for determining the culprit would be much appreciated.
..try "apt-get update; apt-cache search linux-image " for better
and up-to-date ideas, such as e.g. celsius:~# uname -a
Linux celsius 2.6.39-rc5-amd64 #1 SMP Sat Apr 30 05:48:55 UTC 2011
x86_64 GNU/Linux
--
..med vennlig hilsen = with Kind Regards from Arnt Karlsen
...with a number of polar bear hunters in his ancestry...
Scenarios always come in sets of three:
best case, worst case, and just in case.
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20110504102710.061514c9@celsius.local">http://lists.debian.org/20110504102710.061514c9@celsius.local
05-04-2011, 09:07 AM
Darac Marjal
CPU usage mysteriously spiking after kernel upgrade
On Tue, May 03, 2011 at 07:39:37PM -0700, John Magolske wrote:
> After updating the kernel on my ThinkPad from linux-image-2.6.28-grml
> to linux-image-2.6.31-grml I've noticed cpu usage periodically jumping
> from 600MHz to 1500MHz several times a minute. This is with not much
> going on but Vim, Mutt & ELinks running in a screen session in a
> framebuffer console. Top shows nothing under the %CPU column...I don't
> see anything pass much beyond 1%.
>
> Any thoughts as to what could be causing this and/or suggested
> techniques for determining the culprit would be much appreciated.
Has your CPU governor changed, perhaps, to something more 'twitchy'?
Try:
cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
If this returns "ondemand", for example, the CPU will jump to a higher
frequency more readily than, say "conservative". To change it,
temporarily, echo one of the words in
/sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors to
/sys/devices/system/cpu/cpu0/cpufreq/scaling_governor and see whether
that helps.
>
> Regards,
>
> John
>
> --
> John Magolske
> http://B79.net/contact
>
>
> --
> To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
> with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
> Archive: http://lists.debian.org/20110504023936.GA19816@s70206.gridserver.com
>
05-04-2011, 07:25 PM
Jörg-Volker Peetz
CPU usage mysteriously spiking after kernel upgrade
What kind of processor is built into your Thinkpad?
What is the output of lsmod?
Maybe the kernel module used for frequency scaling is not optimal.
--
Best regards,
Jörg-Volker.
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: ips95m$tfo$1@dough.gmane.org">http://lists.debian.org/ips95m$tfo$1@dough.gmane.org
05-05-2011, 03:17 AM
John Magolske
CPU usage mysteriously spiking after kernel upgrade
Thanks everyone for the helpful suggestions!
* Darac Marjal <mailinglist@darac.org.uk> [110504 10:26]:
> Has your CPU governor changed, perhaps, to something more 'twitchy'?
> Try:
> cat /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor
>
> If this returns "ondemand", for example, the CPU will jump to a higher
> frequency more readily than, say "conservative". To change it,
> temporarily, echo one of the words in
> /sys/devices/system/cpu/cpu0/cpufreq/scaling_available_governors to
> /sys/devices/system/cpu/cpu0/cpufreq/scaling_governor and see whether
> that helps.
It was indeed set to ondemand. I changed this to conservative and the
twitchyness subsided:
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 20110505031756.GA19864@s70206.gridserver.com">http ://lists.debian.org/20110505031756.GA19864@s70206.gridserver.com
05-05-2011, 04:25 PM
CPU usage mysteriously spiking after kernel upgrade
From: John Magolske <listmail@b79.net>
Date: Wed, 04 May 2011 20:17:56 -0700
> Which suggests using the sysfsutils package & editing /etc/sysfs.conf
> so that these settings are applied automatically on boot...I did that.
Any idea why this setting is in /etc/sysfs.conf rather than /etc/sysctl.conf?
Thanks, ... Peter E.
--
Telephone 1 360 450 2132. bcc: peasthope at shaw.ca
Shop pages http://carnot.yi.org/ accessible as long as the old drives survive.
Personal pages http://members.shaw.ca/peasthope/ .
--
To UNSUBSCRIBE, email to debian-user-REQUEST@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmaster@lists.debian.org
Archive: 171056997.34410.30874@cantor.invalid">http://lists.debian.org/171056997.34410.30874@cantor.invalid