Page 1 of 4 123 ... LastLast
Results 1 to 10 of 33

Thread: [SOLVED] High CPU usage.

  1. #1
    Join Date
    May 2006
    Beans
    91

    [SOLVED] High CPU usage.

    Morning all,

    Before with 8.04 system monitor showed my cpu usage to be at about 15% or so on average, with 8.10 though it never shows below 50%... Why?

    PS: I have a Toshiba Satellite L40/17U (that is, Intel Pentium Dual CPU (T2330) at 1.6GHz each).

  2. #2
    Join Date
    Jul 2007
    Location
    Swap
    Beans
    1,061
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: High CPU usage.

    Can you post the output of
    Code:
    top
    Be Safe. Use Linux.
    Double your drive space. Delete Windows.

  3. #3
    Join Date
    May 2006
    Beans
    91

    Re: High CPU usage.

    hehe, just as I finished posting the thread I though of supplying that, anyway, here it is:
    Code:
      PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND                          
     5503 root      20   0  428m  89m 8956 R   15  9.0  10:18.53 Xorg                             
     4727 root      20   0  2968 1836  536 S    7  0.2   8:52.34 acpid                            
    18667 johanhar  20   0 84068  24m  12m S    5  2.4   0:01.42 gnome-terminal                   
     1183 johanhar  20   0  271m 147m  26m S    3 14.8  10:05.22 firefox                          
     5369 haldaemo  20   0  2296  944  804 S    2  0.1   2:07.48 hald-addon-acpi                  
     5274 haldaemo  20   0  6400 4360 3592 S    2  0.4   2:26.63 hald                             
    27836 johanhar  20   0 23052  15m 7100 S    1  1.5   0:34.62 compiz.real                      
        4 root      15  -5     0    0    0 S    1  0.0   0:22.66 ksoftirqd/0                      
     2481 johanhar  20   0  2416 1168  884 R    1  0.1   0:00.08 top                              
    23913 johanhar  20   0 39768  22m  13m S    1  2.3   0:12.96 gnome-panel                      
    26645 johanhar  20   0 21252 3212 1848 S    1  0.3   0:17.12 gnome-screensav                  
    31471 johanhar  20   0 24464  11m 8684 S    1  1.2   0:35.60 multiload-apple                  
        1 root      20   0  3056 1884  564 S    0  0.2   0:02.54 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:02.64 migration/0                      
        5 root      RT  -5     0    0    0 S    0  0.0   0:00.00 watchdog/0                       
        6 root      RT  -5     0    0    0 S    0  0.0   0:02.36 migration/1                      
        7 root      15  -5     0    0    0 S    0  0.0   0:23.34 ksoftirqd/1                      
        8 root      RT  -5     0    0    0 S    0  0.0   0:00.00 watchdog/1                       
        9 root      15  -5     0    0    0 S    0  0.0   0:00.10 events/0                         
       10 root      15  -5     0    0    0 S    0  0.0   0:04.38 events/1                         
       11 root      15  -5     0    0    0 S    0  0.0   0:04.30 khelper                          
       51 root      15  -5     0    0    0 S    0  0.0   0:00.00 kintegrityd/0                    
       52 root      15  -5     0    0    0 S    0  0.0   0:00.00 kintegrityd/1                    
       54 root      15  -5     0    0    0 S    0  0.0   0:00.00 kblockd/0                        
       55 root      15  -5     0    0    0 S    0  0.0   0:00.00 kblockd/1                        
       57 root      15  -5     0    0    0 S    0  0.0   0:00.00 kacpid                           
       58 root      15  -5     0    0    0 S    0  0.0   0:05.40 kacpi_notify                     
      140 root      15  -5     0    0    0 S    0  0.0   0:00.00 cqueue                           
      144 root      15  -5     0    0    0 S    0  0.0   0:00.02 kseriod                          
      189 root      20   0     0    0    0 S    0  0.0   0:00.00 pdflush                          
      191 root      15  -5     0    0    0 S    0  0.0   0:00.06 kswapd0                          
      233 root      15  -5     0    0    0 S    0  0.0   0:00.00 aio/0

  4. #4
    Join Date
    Jul 2007
    Location
    Swap
    Beans
    1,061
    Distro
    Ubuntu 10.04 Lucid Lynx

    Re: High CPU usage.

    Your cpu usage seems to be ok. The only thing is that firefox seems to be using a lot of memory.
    Be Safe. Use Linux.
    Double your drive space. Delete Windows.

  5. #5
    Join Date
    May 2006
    Beans
    91

    Re: High CPU usage.

    I can handle that, although if you can point to a site or post that will help get that down it'll be most appreciated. Its just bothering me slightly that the cpus are running at 50% when the system is idle

  6. #6
    Join Date
    Nov 2008
    Beans
    5

    Re: High CPU usage.

    I'm also noticing high cpu usage, but I could trace down the problem a little further.
    I was noticing that my system only got slower after a while, not right from the beginning when I logged in. Eventually I could trace down to Nautilus. If I don't open Nautilus, my system runs fine. Right after opening Nautilus my system becomes incredibly slow, and stays that way even after killing nautilus. And the strange part is that, the process that has high cpu is not nautilus itself, but Xorg.
    The test I use is pressing some letter key (for a while) in a text editor. Ideally it should print the letters smoothly and fast. After loading Nautilus, it prints some, it hangs, print some more, hangs again, etc...cpu is at 100% when I do that.
    For now, the only way I could find to fix this is to logoff and log in back again. Killing nautilus doesn't fix it...as I said it's the xorg process that has high cpu.

    Any ideas ?

    Thanks

  7. #7
    Join Date
    May 2006
    Beans
    91

    Re: High CPU usage.

    Quote Originally Posted by carlmig View Post
    I'm also noticing high cpu usage, but I could trace down the problem a little further.
    I was noticing that my system only got slower after a while, not right from the beginning when I logged in. Eventually I could trace down to Nautilus. If I don't open Nautilus, my system runs fine. Right after opening Nautilus my system becomes incredibly slow, and stays that way even after killing nautilus. And the strange part is that, the process that has high cpu is not nautilus itself, but Xorg.
    The test I use is pressing some letter key (for a while) in a text editor. Ideally it should print the letters smoothly and fast. After loading Nautilus, it prints some, it hangs, print some more, hangs again, etc...cpu is at 100% when I do that.
    For now, the only way I could find to fix this is to logoff and log in back again. Killing nautilus doesn't fix it...as I said it's the xorg process that has high cpu.

    Any ideas ?

    Thanks
    After doing the text editor text as described by you it seems our problems are not similar. What are your performance specs, maybe my cpu can handle the extra load a little better.

    I haven't really noticed any major performance loss since the update, mainly because I don't use very demanding software. But still it can't be good for battery life can it?

  8. #8
    Join Date
    Nov 2008
    Beans
    5

    Re: High CPU usage.

    Quote Originally Posted by johanhartman View Post
    After doing the text editor text as described by you it seems our problems are not similar. What are your performance specs, maybe my cpu can handle the extra load a little better.

    I haven't really noticed any major performance loss since the update, mainly because I don't use very demanding software. But still it can't be good for battery life can it?
    I don't believe my CPU will make that difference. It's a T9400 @ 2.5Ghz

  9. #9
    Join Date
    Jan 2008
    Beans
    173

    Re: High CPU usage.

    Quote Originally Posted by johanhartman View Post
    hehe, just as I finished posting the thread I though of supplying that, anyway, here it is:
    Code:
      PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND                          
     5503 root      20   0  428m  89m 8956 R   15  9.0  10:18.53 Xorg                             
     4727 root      20   0  2968 1836  536 S    7  0.2   8:52.34 acpid                            
    18667 johanhar  20   0 84068  24m  12m S    5  2.4   0:01.42 gnome-terminal                   
     1183 johanhar  20   0  271m 147m  26m S    3 14.8  10:05.22 firefox                          
     5369 haldaemo  20   0  2296  944  804 S    2  0.1   2:07.48 hald-addon-acpi                  
     5274 haldaemo  20   0  6400 4360 3592 S    2  0.4   2:26.63 hald                             
    27836 johanhar  20   0 23052  15m 7100 S    1  1.5   0:34.62 compiz.real                      
        4 root      15  -5     0    0    0 S    1  0.0   0:22.66 ksoftirqd/0                      
     2481 johanhar  20   0  2416 1168  884 R    1  0.1   0:00.08 top                              
    23913 johanhar  20   0 39768  22m  13m S    1  2.3   0:12.96 gnome-panel                      
    26645 johanhar  20   0 21252 3212 1848 S    1  0.3   0:17.12 gnome-screensav                  
    31471 johanhar  20   0 24464  11m 8684 S    1  1.2   0:35.60 multiload-apple                  
        1 root      20   0  3056 1884  564 S    0  0.2   0:02.54 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:02.64 migration/0                      
        5 root      RT  -5     0    0    0 S    0  0.0   0:00.00 watchdog/0                       
        6 root      RT  -5     0    0    0 S    0  0.0   0:02.36 migration/1                      
        7 root      15  -5     0    0    0 S    0  0.0   0:23.34 ksoftirqd/1                      
        8 root      RT  -5     0    0    0 S    0  0.0   0:00.00 watchdog/1                       
        9 root      15  -5     0    0    0 S    0  0.0   0:00.10 events/0                         
       10 root      15  -5     0    0    0 S    0  0.0   0:04.38 events/1                         
       11 root      15  -5     0    0    0 S    0  0.0   0:04.30 khelper                          
       51 root      15  -5     0    0    0 S    0  0.0   0:00.00 kintegrityd/0                    
       52 root      15  -5     0    0    0 S    0  0.0   0:00.00 kintegrityd/1                    
       54 root      15  -5     0    0    0 S    0  0.0   0:00.00 kblockd/0                        
       55 root      15  -5     0    0    0 S    0  0.0   0:00.00 kblockd/1                        
       57 root      15  -5     0    0    0 S    0  0.0   0:00.00 kacpid                           
       58 root      15  -5     0    0    0 S    0  0.0   0:05.40 kacpi_notify                     
      140 root      15  -5     0    0    0 S    0  0.0   0:00.00 cqueue                           
      144 root      15  -5     0    0    0 S    0  0.0   0:00.02 kseriod                          
      189 root      20   0     0    0    0 S    0  0.0   0:00.00 pdflush                          
      191 root      15  -5     0    0    0 S    0  0.0   0:00.06 kswapd0                          
      233 root      15  -5     0    0    0 S    0  0.0   0:00.00 aio/0
    I find it puzzling that a sleeping gnome-terminal uses 5% of CPU time. Did you have any application output to gnome-terminal at the time? If it was top itself then it's still puzzling. Even if I have top running on top of gnome-terminal and updating the screen every second, gnome-terminal uses 0% of CPU time. Compared to my experience, Xorg also uses a lot.
    Member of the Planetary Society.

  10. #10
    Join Date
    Nov 2008
    Beans
    28

    Re: High CPU usage.

    I have this issue too. My machine is Toshiba Satellite L40-14G (1.7GHz Celeron). I've just installed Ubuntu 8.10 and, according to monitor, CPU is maxed out constantly. Desktop does not feel jerky though, typing is fine, and fans does not go into overdrive, so, I wonder, can it be an error in reporting? Anyway, it bothers me, because it is certainly not normal.
    top (see below) shows that most of the CPU usage is due to the system, but unfortunately I've no idea how to investigate further. Any suggestions?

    Code:
    top - 10:01:22 up  1:34,  3 users,  load average: 2.79, 3.02, 2.98
    Tasks: 129 total,   5 running, 124 sleeping,   0 stopped,   0 zombie
    Cpu(s): 38.2%us, 61.1%sy,  0.0%ni,  0.0%id,  0.0%wa,  0.7%hi,  0.0%si,  0.0%st
    Mem:   1025084k total,   929332k used,    95752k free,    35988k buffers
    Swap:  2433808k total,     1792k used,  2432016k free,   387532k cached
    
      PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND            
     5126 root      20   0  458m 117m  10m S 12.3 11.7   9:21.40 Xorg               
     4551 root      20   0  2836 1768  536 S  6.3  0.2   5:50.88 acpid              
    26454 root      20   0 58524  46m  22m S  3.3  4.6   3:20.95 synaptic           
     4972 gombo     20   0 26184  18m 7200 S  2.0  1.8   0:57.03 compiz.real        
     4878 haldaemo  20   0  6440 4428 3616 S  1.7  0.4   1:43.19 hald               
     4977 haldaemo  20   0  2296  940  804 S  1.7  0.1   1:48.80 hald-addon-acpi    
     5453 gombo     20   0 98.6m  24m  12m R  1.3  2.5   0:01.34 gnome-terminal     
    18286 gombo     20   0  176m  86m  22m S  1.3  8.7   2:57.31 firefox            
       51 root      15  -5     0    0    0 S  0.7  0.0   0:07.74 kacpi_notify       
     7648 gombo     20   0 21492  12m 7480 S  0.7  1.2   0:09.64 gtk-window-deco    
    14900 gombo     20   0 41816  25m  13m S  0.7  2.6   0:12.54 gnome-panel        
    32374 gombo     20   0 24948  14m 8220 S  0.7  1.4   0:01.22 notification-da    
        1 root      20   0  3056 1888  564 S  0.0  0.2   0:01.36 init

Page 1 of 4 123 ... LastLast

Bookmarks

Posting Permissions

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