LinuxQuestions.org
Review your favorite Linux distribution.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices


Reply
  Search this Thread
Old 11-02-2005, 07:37 AM   #1
dezireduser
Member
 
Registered: Nov 2005
Posts: 38

Rep: Reputation: 15
KDE had CPU 'spike' every 15seconds! HELP!


Not Needed

Last edited by dezireduser; 11-16-2006 at 08:23 AM.
 
Old 11-02-2005, 07:43 AM   #2
fouldsy
Senior Member
 
Registered: Jan 2002
Location: St Louis, MO
Distribution: Ubuntu
Posts: 1,284

Rep: Reputation: 47
What is the rest of your hardware setup? It sounds like a KDE service is running in the background and refreshing itself, but that's nothing out of the ordinary. Quite why it causes audio + video to stutter isn't too clever though. It doesn't appear to be knocking your CPU usage that much based on the data shown in gKrellM or whatever you have running. Do you have any other desktop or dock apps running under KDE that aren't loaded under Gnome?
 
Old 11-02-2005, 08:04 AM   #3
dezireduser
Member
 
Registered: Nov 2005
Posts: 38

Original Poster
Rep: Reputation: 15
Not Needed

Last edited by dezireduser; 11-16-2006 at 08:22 AM.
 
Old 11-02-2005, 08:15 AM   #4
fouldsy
Senior Member
 
Registered: Jan 2002
Location: St Louis, MO
Distribution: Ubuntu
Posts: 1,284

Rep: Reputation: 47
If it's just your user account, within your home directory there should be a folder called .kde3 or similar, I'm not familar with where KDE keeps it's data. Logoff your desktop, then using a terminal, rename this folder using:
Code:
mv /home/username/.kde3 /home/username/.kd3old
replacing "username" with your own username, and ".kde3" with whatever the folder is actually called.

When you then log back into KDE with your account, it should recreate a new profile from scratch, meaning you would have to setup any desktop settings such as background, screensaver, etc. See if your problem is resolved.
 
Old 11-02-2005, 08:36 AM   #5
dezireduser
Member
 
Registered: Nov 2005
Posts: 38

Original Poster
Rep: Reputation: 15
Not Needed

Last edited by dezireduser; 11-16-2006 at 08:20 AM.
 
Old 11-02-2005, 10:16 AM   #6
Matir
LQ Guru
 
Registered: Nov 2004
Location: San Jose, CA
Distribution: Debian, Arch
Posts: 8,507

Rep: Reputation: 128Reputation: 128
You could try using 'top' to see if you can identify the responsible process.
 
Old 11-02-2005, 07:48 PM   #7
dezireduser
Member
 
Registered: Nov 2005
Posts: 38

Original Poster
Rep: Reputation: 15
Not Needed

Last edited by dezireduser; 11-16-2006 at 08:21 AM.
 
Old 11-06-2005, 06:14 PM   #8
dezireduser
Member
 
Registered: Nov 2005
Posts: 38

Original Poster
Rep: Reputation: 15
Ok, finally had a chance to work on my computer, and found out it was the refresh interval of the mtaskbar that my bro installed.

Glad that's settled.

D
 
Old 11-22-2005, 05:19 PM   #9
wpialum
LQ Newbie
 
Registered: Nov 2005
Posts: 6

Rep: Reputation: 0
I have this same problem with Gnome, and its causing my mouse to stop for this fraction of a second (I don't notice any problem with the keyboard).

It doesn't seem to be user-dependent, as I can see the pause when I'm at the gnome login screen.

Using GKrellm, I can see the spike to 100% about every 10 seconds or so.

I'm using Ubuntu on a Dell C600 laptop. Powernowd is disabled. I am using cpufreqd, but I tried it without cpu scaling enabled and still had this problem.

Any help you can offer is greatly appreciated.

Thanks
 
Old 11-23-2005, 02:32 PM   #10
dezireduser
Member
 
Registered: Nov 2005
Posts: 38

Original Poster
Rep: Reputation: 15
try starting up in kde and see if you still have those pauses. If it doesn't pause, then it might just be gnome, or some package that's being installed with gnome, or a bootscreen engine. If that's the case then try renaming your .gnome directory to .gnomeold (make sure you're not in X, tho, or login as a different user, and go to your initial directory, and do the renaming), and restart X, and see if that helps (most likely not, since you're getting pauses at the boot screen).

Also, did you install any bootscreen/engine packages (like moodlin, or something?)

Can you try running it with all services (that you can think of) totally disabled?

Sorry I can't help, but your problem seems kinda strange...

Good luck!

D

Last edited by dezireduser; 11-23-2005 at 02:37 PM.
 
Old 11-25-2005, 10:53 AM   #11
wpialum
LQ Newbie
 
Registered: Nov 2005
Posts: 6

Rep: Reputation: 0
I disabled a bunch of modules and rebooted, enabing one module at a time until I found the problem, and I believe that I've at least identified the problem...it's related to the sppedstep frequency scaling modules.

When I load speedstep-lib, no problems, but to enable frequency scaling (PIII 850 mHz Coppermine) I also need to load speedstep-smi. The speedstep-smi module seems to be causing this problem.

I'm going to see if there are different modules I can load for this chipset to enable frequency scaling without this annoying mouse problem.

Thanks for the tips.
 
Old 11-25-2005, 01:51 PM   #12
wpialum
LQ Newbie
 
Registered: Nov 2005
Posts: 6

Rep: Reputation: 0
...or so I thought.

Disabling the modules minimized the prolem, but did not make it go away. I notice that the stuttering coincides with a random hard drive read that occurrs every 10 seconds or so. I am monitoring with GKrellm and can see a spike (looks like a single read) just after the mouse hangs.

I'm testing for the "hang" by making circles with the mouse and waiting for it to temporarily stop (for like .2 seconds).

It's certainly not the end of the world, but annoying when you're using a program that requires a lot of mouse movement.

FYI.
 
Old 11-26-2005, 12:07 AM   #13
dezireduser
Member
 
Registered: Nov 2005
Posts: 38

Original Poster
Rep: Reputation: 15
ok, so most likely, there is some package/program installed that's causing some type of system logging to occur every 10 sec (some info is being captured and recorded to disk every 10 sec). If you can find the program that's doing it (maybe speedstep-smi, or something else?), then you can compiled the sources with the refresh/logging disabled, or have the interval set at something like 1000sec instead. Had the same problem with taskbar v2 taking screenshots every 15sec, and saving them to disk.

Cheers.

D
 
Old 11-26-2005, 04:22 AM   #14
auditek747
Member
 
Registered: Feb 2004
Location: Ohio, USA
Distribution: Arch Linux
Posts: 464

Rep: Reputation: 30
Try going to the KDE control center > Kde Components > Service Manager
and stop the "KDED Media Manager"

This is just a guess, but I have seen the "KDED Media Manager" in KDE 3.4
cause things like this if your kernel isn't just so. (hal and what not)


EDIT!
Looks like I wasn't I wasn't paying attention and dezireduser's KDE
problem is already solved. I hope this is the case anyway

Last edited by auditek747; 11-26-2005 at 04:31 AM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Spike in outbound traffic- where to look? htmlcoder Linux - Security 3 03-19-2005 03:13 PM
alsa sound stops in mmap mode with events/0 spike Moloko Debian 0 02-02-2005 06:34 AM
kde tasbar + cpu rksprst Linux - Newbie 1 01-08-2005 05:54 AM
Moving mouse makes xorg CPU spike to 40% or more tripmix Linux - Newbie 2 12-19-2004 06:06 AM
KDE 3.2 / CPU Usage muzicman82 Linux - Software 4 12-26-2003 07:53 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 05:20 AM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration