You are not logged in.

#1 2008-07-12 22:29:51

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Bizarre spikes in CPU/HDD activity

When I use ext3 with anything other than Gnome, I sometimes get weird spikes in activity... For about 20 seconds, at intervals of more than five minutes or so, my HDD activity light goes on and the hard drive begins clicking away, and CPU usage goes to 100%. Syncing doesn't stop this, and as far as I can tell I'm not infected with any sort of rootkit... What is going on?

Offline

#2 2008-07-13 00:07:30

sam
Member
Registered: 2008-05-23
Posts: 82

Re: Bizarre spikes in CPU/HDD activity

What do you mean anything other than gnome?  Anything other than gnome apps?  It maybe extra libraries being loaded for others apps (like qt).  You may want to use top, htop, or the gnome system monitor to see what is using the cpu.

Offline

#3 2008-07-13 01:51:24

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Re: Bizarre spikes in CPU/HDD activity

I mean desktop environments... This doesn't happen with Gnome, but if I use XFCE, LXDE, or a plain window manager I get these spikes.

Offline

#4 2008-07-13 02:57:50

sam
Member
Registered: 2008-05-23
Posts: 82

Re: Bizarre spikes in CPU/HDD activity

Oh ok.  Try top in a terminal and see what process is taking up so much processing power.  It maybe a daemon that is improperly configured and is doing a task too often.  In that case, check the man pages and change a config file in /etc.

If you see a program you are using, or have just opened keeping the cpu busy then its another reason.  Minimal desktop environments don't load any dedicated libraries for programs and once you are done using them, they unload the libraries related to that process.  This is how minimal de's use very little ram.  The down-side of this is every time you use an application with many libraries, it will take a long time to load because all those libraries must be loaded before the program loads.  This is especially true if you try using gnome apps (like firefox or evolution) in minimal des.  In that case the de has to load a bunch of gnome and gtk libraries.

Gnome on the other hand loads all these libraries when you login (after the gdm screen), and keeps them loaded for the duration of the time you are logged in.  This causes gnome to use more ram and feel more sluggish when doing certain small tasks, but is probably easier on cpu and ram.

Offline

#5 2008-07-14 10:46:14

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Re: Bizarre spikes in CPU/HDD activity

Hmm, top doesn't show anything as taking up all my CPU power. Neither does lxtask (when set to display all tasks)... It looks as though it's the kernel or something.

Offline

#6 2008-07-14 11:48:08

kezar
Member
Registered: 2007-08-14
Posts: 61

Re: Bizarre spikes in CPU/HDD activity

If it happens at 00:02, it's the updatedb in cron.daily.
If not, well just monitor your system, even if it comes from the kernel you'll see it.

Offline

#7 2008-07-31 12:13:01

Gullible Jones
Member
Registered: 2004-12-29
Posts: 4,863

Re: Bizarre spikes in CPU/HDD activity

Update: apparently, it's Firefox. No idea what it's doing; certainly not rendering web pages.

*sigh* I can't wait for Midori to become fully functional.

Offline

#8 2008-08-01 03:51:36

B-Con
Member
From: USA
Registered: 2007-12-17
Posts: 554
Website

Re: Bizarre spikes in CPU/HDD activity

Gullible Jones wrote:

Update: apparently, it's Firefox. No idea what it's doing; certainly not rendering web pages.

This has been a culprit of past with Firefox: http://shaver.off.net/diary/2008/05/25/ … urveballs/ . That's what I first thought of when I saw this thread.

Offline

Board footer

Powered by FluxBB