Results 1 to 6 of 6

Thread: CPU usage always above 60%

  1. #1

    Red face CPU usage always above 60%

    hi, the system monitors always indicate a large cpu usage with peaks at almost 100% even when no applications run and nothing happens. Things are then a little slow and delayed at times and applications like openoffice crash on a regular basis.
    Processes with no name from user:"root,-1" and using an "unknown" amount of cpu keep popping up in the list. What are they?

    Ho do I do to diagnose correctly the problem(s)? Any methods for somebody a little pedestrian?

    Yves

    PS: I have definitely messed up with KDE4 once trying to disable some fancy stuff and possibly when resolving a lot of dependencies to install the latest version of Inkscape.

  2. #2
    Join Date
    Mar 2008
    Location
    Bochum, Germany
    Posts
    3,587

    Default Re: CPU usage always above 60%

    Yves,

    I assume you are using the KDE task manager. Do you see different information when you use top on the command line?

    Uwe

  3. #3

    Default Re: CPU usage always above 60%

    hi,
    yes it is somewhat different. Comparing both outputs, Xorg and Ksysguard are mostly at the top with usage oscillating between 5-10% then usually avahi-daemon. Then the ~130 following processes come up in very different order but seem to be consuming (almost) nothing.
    The processes from user root,-1 with unknown usage do not appear. But the memory usage seem a lot higher than as indicated in the kde system monitor. There cpu usage oscillate now around 70% and memory around 500MB.
    I only have firexox, konsole, and system monitor opened.

    Here is the output of top (sorry a bit messy..)

    top - 15:20:58 up 4:25, 3 users, load average: 2.09, 1.80, 1.73
    Tasks: 138 total, 4 running, 134 sleeping, 0 stopped, 0 zombie
    Cpu(s): 36.9% us, 25.2% sy, 0.0% ni, 34.2% id, 3.1% wa, 0.2% hi, 0.3% si, 0.0% st
    Mem: 2045236k total, 1660220k used, 385016k free, 183812k buffers
    Swap: 1052216k total, 0k used, 1052216k free, 1134112k cached

    PID USER PR NI VIRT RES SHR S %CPU %MEM TIME+ COMMAND
    20345 ynk1 20 0 87424 23m 17m S 16 1.2 1:24.58 ksysguard
    10375 root 20 0 3072 1488 1144 R 8 0.1 0:00.06 ifup
    2685 root 20 0 426m 55m 5232 S 6 2.8 23:30.23 Xorg
    10379 ynk1 20 0 2412 912 680 R 4 0.0 0:00.02 top
    3836 avahi 20 0 6828 5424 1336 S 2 0.3 2:20.33 avahi-daemon
    1 root 20 0 1008 356 308 S 0 0.0 0:01.28 init
    2 root 15 -5 0 0 0 S 0 0.0 0:00.00 kthreadd
    3 root RT -5 0 0 0 S 0 0.0 0:09.60 migration/0



    I do not see any obvious reasons... so I dont known where/how to look. Any suggestions are welcome.
    Thanks in advance

  4. #4

    Default Re: CPU usage always above 60%

    Quote Originally Posted by ynk1 View Post

    PS: I have definitely messed up with KDE4 once trying to disable some fancy stuff and possibly when resolving a lot of dependencies to install the latest version of Inkscape.
    The quick and dirty solution would probably be to delete KDE all together and reinstall it.

  5. #5
    Join Date
    Jun 2008
    Location
    Groningen, Netherlands
    Posts
    20,056
    Blog Entries
    14

    Default Re: CPU usage always above 60%

    No, don't delete it. Select the repo view in the software manager, select the KDE4 repo's one by one, and click 'Switch system packages to ...'. That reinstalls KDE4 with all packages coming from one repo. Should do the job, and save a lot of dep. misery.

    Please note, that you did this yourself. High CPU usage by ksysguard usually points to a mix of packages from different repos, for example 4.3.1 from install mixed with 4.3.3 from a repo.
    ° Appreciate my reply? Click the star and let me know why.

    ° Perfection is not gonna happen. No way.

    https://en.opensuse.org/openSUSE:Board#Members
    http://en.opensuse.org/User:Knurpht
    http://nl.opensuse.org/Gebruiker:Knurpht

  6. #6

    Default Re: CPU usage always above 60%

    Sorry Knurpht, This all sounds good to me and I am sure this is my level, but I need just little clarifications..

    Quote Originally Posted by Knurpht View Post
    Select the repo view in the software manager,
    Do you mean:
    YaST > Software management > filter: Repositories
    or
    YaST > Software Repositories

    Quote Originally Posted by Knurpht View Post
    select the KDE4 repo's one by one
    I am not sure I understand..
    Do you mean repositories or package..

    Quote Originally Posted by Knurpht View Post
    and click 'Switch system packages to ...'.
    Either way I do not see such button or option.

    Thanks a lot for taking the time,
    Yves.

    PS: question, if want to use some applications (eg. Kile for latex) for which the latest stable version depends on kde3 packages, I am not bound to have conflicts between kde versions as you suggested? or is it ok as long as I use packages from the same repository?

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •