You are not logged in.

#1 2010-03-17 03:41:05

houn
Member
Registered: 2008-05-07
Posts: 17

[SOLVED] Eee 1005PE CPU Usage

This may not be 1005PE specific, but I've never seen behavior like this.  Basically, my CPU idles at around 30% in X.  But, I can't see what's taking up the cycles.

CPU Stats

mpstat: ======================
Linux 2.6.33-ice (icarus)     03/16/2010     _x86_64_    (2 CPU)

08:13:32 PM  CPU    %usr   %nice    %sys %iowait    %irq   %soft  %steal  %guest   %idle
08:13:32 PM  all   14.63    0.00    8.48    4.96    0.04    0.05    0.00    0.00   71.84
08:13:32 PM    0   15.16    0.00    8.34    6.78    0.03    0.04    0.00    0.00   69.66
08:13:32 PM    1   14.11    0.00    8.62    3.16    0.04    0.07    0.00    0.00   74.00

iostat: ======================
Linux 2.6.33-ice (icarus)     03/16/2010     _x86_64_    (2 CPU)

avg-cpu:  %user   %nice %system %iowait  %steal   %idle
          14.63    0.00    8.57    4.96    0.00   71.84

Device:            tps   Blk_read/s   Blk_wrtn/s   Blk_read   Blk_wrtn
sda              16.40       827.03        47.74     169714       9797

==============================

ps top ten: ==================
%CPU   PID USER     COMMAND
 3.1  2161 houn     conky
 2.5  2125 root     /usr/bin/X -nolisten tcp -dpi 96
 0.4  2543 houn     urxvt
 0.3  4364 houn     urxvt
 0.2     1 root     init [3]  
 0.2  1537 hal      /usr/sbin/hald
 0.1  2162 houn     sh /home/houn/.xinitrc
 0.1  1216 root     [kondemand/1]
 0.1  1215 root     [kondemand/0]
==============================

top -cbn1: ===================
top - 20:13:33 up 3 min,  1 user,  load average: 0.03, 0.06, 0.02
Tasks: 105 total,   1 running, 104 sleeping,   0 stopped,   0 zombie
Cpu(s): 14.7%us,  8.5%sy,  0.0%ni, 71.8%id,  4.9%wa,  0.0%hi,  0.1%si,  0.0%st
Mem:   2048100k total,   213388k used,  1834712k free,    18300k buffers
Swap:  3903784k total,        0k used,  3903784k free,    85368k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND                
 2161 houn      20   0 68652 3488 2592 S    4  0.2   0:04.10 conky                  
 9022 houn      20   0 10680 1060  784 R    2  0.1   0:00.01 top -cbn1              
    1 root      20   0  3824  640  540 S    0  0.0   0:00.44 init [3]               
    2 root      20   0     0    0    0 S    0  0.0   0:00.00 [kthreadd]             
    3 root      RT   0     0    0    0 S    0  0.0   0:00.01 [migration/0]          
    4 root      20   0     0    0    0 S    0  0.0   0:00.00 [ksoftirqd/0]          
    5 root      RT   0     0    0    0 S    0  0.0   0:00.00 [watchdog/0]           
    6 root      RT   0     0    0    0 S    0  0.0   0:00.01 [migration/1]          
    7 root      20   0     0    0    0 S    0  0.0   0:00.00 [ksoftirqd/1]          
    8 root      RT   0     0    0    0 S    0  0.0   0:00.00 [watchdog/1]           
    9 root      20   0     0    0    0 S    0  0.0   0:00.02 [events/0]             
   10 root      20   0     0    0    0 S    0  0.0   0:00.00 [events/1]             
   11 root      20   0     0    0    0 S    0  0.0   0:00.00 [cpuset]               
   12 root      20   0     0    0    0 S    0  0.0   0:00.00 [khelper]              
   13 root      20   0     0    0    0 S    0  0.0   0:00.00 [netns]                
   14 root      20   0     0    0    0 S    0  0.0   0:00.00 [async/mgr]            
   15 root      20   0     0    0    0 S    0  0.0   0:00.00 [pm]                   
   16 root      20   0     0    0    0 S    0  0.0   0:00.00 [sync_supers]          
   17 root      20   0     0    0    0 S    0  0.0   0:00.00 [bdi-default]          
   18 root      20   0     0    0    0 S    0  0.0   0:00.00 [kblockd/0]            
   19 root      20   0     0    0    0 S    0  0.0   0:00.00 [kblockd/1]            
   20 root      20   0     0    0    0 S    0  0.0   0:00.00 [kacpid]               
   21 root      20   0     0    0    0 S    0  0.0   0:00.00 [kacpi_notify]         
   22 root      20   0     0    0    0 S    0  0.0   0:00.00 [kacpi_hotplug]        
   23 root      20   0     0    0    0 S    0  0.0   0:00.13 [kseriod]              
   26 root      20   0     0    0    0 S    0  0.0   0:00.00 [khungtaskd]           
   27 root      20   0     0    0    0 S    0  0.0   0:00.00 [kswapd0]              
   28 root      25   5     0    0    0 S    0  0.0   0:00.00 [ksmd]                 
   29 root      20   0     0    0    0 S    0  0.0   0:00.00 [aio/0]                
   30 root      20   0     0    0    0 S    0  0.0   0:00.00 [aio/1]                
   31 root      20   0     0    0    0 S    0  0.0   0:00.00 [crypto/0]             
   32 root      20   0     0    0    0 S    0  0.0   0:00.00 [crypto/1]             
  122 root      20   0     0    0    0 S    0  0.0   0:00.00 [i915]                 
  728 root      20   0     0    0    0 S    0  0.0   0:00.00 [ata/0]                
  729 root      20   0     0    0    0 S    0  0.0   0:00.00 [ata/1]                
  730 root      20   0     0    0    0 S    0  0.0   0:00.00 [ata_aux]              
  731 root      20   0     0    0    0 S    0  0.0   0:00.00 [scsi_eh_0]            
  732 root      20   0     0    0    0 S    0  0.0   0:00.00 [scsi_eh_1]            
  733 root      20   0     0    0    0 S    0  0.0   0:00.00 [scsi_eh_2]            
  734 root      20   0     0    0    0 S    0  0.0   0:00.00 [scsi_eh_3]            
  770 root      20   0     0    0    0 S    0  0.0   0:00.04 [jbd2/sda3-8]          
  771 root      20   0     0    0    0 S    0  0.0   0:00.00 [ext4-dio-unwrit]      
  772 root      20   0     0    0    0 S    0  0.0   0:00.00 [ext4-dio-unwrit]      
  805 root      16  -4  6488 1068  412 S    0  0.1   0:00.12 /sbin/udevd --daemon   
  913 root      20   0     0    0    0 S    0  0.0   0:00.00 [ksuspend_usbd]        
  914 root      20   0     0    0    0 S    0  0.0   0:00.00 [khubd]                
  987 root      20   0     0    0    0 S    0  0.0   0:00.00 [kpsmoused]            
 1197 root      20   0     0    0    0 S    0  0.0   0:00.00 [cfg80211]             
 1215 root      20   0     0    0    0 S    0  0.0   0:00.23 [kondemand/0]          
 1216 root      20   0     0    0    0 S    0  0.0   0:00.21 [kondemand/1]          
 1224 root      20   0     0    0    0 S    0  0.0   0:00.00 [usbhid_resumer]       
 1227 root      20   0     0    0    0 S    0  0.0   0:00.00 [led_workqueue]        
 1251 root      20   0     0    0    0 S    0  0.0   0:00.00 [hd-audio0]            
 1291 root      20   0     0    0    0 S    0  0.0   0:00.09 [phy0]                 
 1367 root      18  -2  6476 1088  436 S    0  0.1   0:00.04 /sbin/udevd --daemon   
 1374 root      18  -2  6484 1084  432 S    0  0.1   0:00.03 /sbin/udevd --daemon   
 1378 root      20   0     0    0    0 S    0  0.0   0:00.01 [flush-8:0]            
 1387 root      20   0     0    0    0 S    0  0.0   0:00.00 [ext4-dio-unwrit]      
 1388 root      20   0     0    0    0 S    0  0.0   0:00.00 [ext4-dio-unwrit]      
 1389 root      20   0     0    0    0 S    0  0.0   0:00.00 [jbd2/sda4-8]          
 1390 root      20   0     0    0    0 S    0  0.0   0:00.00 [ext4-dio-unwrit]      
 1391 root      20   0     0    0    0 S    0  0.0   0:00.00 [ext4-dio-unwrit]      
 1510 root      20   0 25656  636  296 S    0  0.0   0:00.00 supervising syslog-ng  
 1511 root      20   0 28020 2072 1444 S    0  0.1   0:00.08 /usr/sbin/syslog-ng    
 1525 dbus      20   0 12652  932  688 S    0  0.0   0:00.03 /usr/bin/dbus-daemon --
 1534 root      20   0  3816  592  476 S    0  0.0   0:00.00 /usr/sbin/acpid        
 1537 hal       20   0 28052 5144 4040 S    0  0.3   0:00.46 /usr/sbin/hald         
 1538 root      20   0 19924 1280 1048 S    0  0.1   0:00.01 hald-runner            
 1566 root      20   0 22044 1260 1068 S    0  0.1   0:00.02 hald-addon-input: Liste
 1568 root      20   0 22036 1212 1036 S    0  0.1   0:00.00 /usr/lib/hal/hald-addon
 1569 root      20   0 22036 1216 1036 S    0  0.1   0:00.00 /usr/lib/hal/hald-addon
 1576 root      20   0 22036 1188 1020 S    0  0.1   0:00.00 /usr/lib/hal/hald-addon
 1582 root      20   0 22052 1208 1028 S    0  0.1   0:00.00 /usr/lib/hal/hald-addon
 1583 hal       20   0 19632 1108  944 S    0  0.1   0:00.00 hald-addon-acpi: listen
 1952 root      20   0 28052 1156  684 S    0  0.1   0:00.02 wpa_supplicant -B -P /v
 1955 root      20   0  3808  468  376 S    0  0.0   0:00.00 /usr/sbin/wpa_actiond -
 1972 root      20   0  5916  632  520 S    0  0.0   0:00.00 /usr/sbin/crond -S -l i
 2034 root      20   0 47624 1096  576 S    0  0.1   0:00.00 /usr/bin/rpcbind       
 2039 root      20   0 13888  464  300 S    0  0.0   0:00.00 /usr/sbin/famd -T 0 -c 
 2050 bitlbee   20   0 25180  880  508 S    0  0.0   0:00.00 /usr/sbin/bitlbee -F   
 2054 root      20   0 43452 1252  972 S    0  0.1   0:00.01 /bin/login --          
 2055 root      20   0  3820  612  520 S    0  0.0   0:00.00 /sbin/agetty -8 38400 t
 2056 root      20   0  3820  608  520 S    0  0.0   0:00.00 /sbin/agetty -8 38400 t
 2057 root      20   0  3820  612  520 S    0  0.0   0:00.00 /sbin/agetty -8 38400 t
 2058 root      20   0  3820  608  520 S    0  0.0   0:00.00 /sbin/agetty -8 38400 t
 2059 root      20   0  3820  608  520 S    0  0.0   0:00.00 /sbin/agetty -8 38400 t
 2072 houn      20   0 15532 2256 1552 S    0  0.1   0:00.06 -bash                  
 2093 root      20   0  8132  372  228 S    0  0.0   0:00.00 dhcpcd -qL -t 30 wlan0 
 2107 houn      20   0 13164 1664 1248 S    0  0.1   0:00.01 /bin/sh /usr/bin/startx
 2124 houn      20   0 15452  928  752 S    0  0.0   0:00.00 xinit /home/houn/.xinit
 2125 root      19  -1 96996  11m 4244 S    0  0.6   0:03.48 /usr/bin/X -nolisten tc
 2129 houn      20   0 13164 1600 1204 S    0  0.1   0:00.01 sh /home/houn/.xinitrc 
 2136 houn      20   0 31280 2436  904 S    0  0.1   0:00.07 xbindkeys              
 2142 houn      20   0 19724  728  464 S    0  0.0   0:00.00 dbus-launch --autolaunc
 2143 houn      20   0 12652  984  800 S    0  0.0   0:00.00 /usr/bin/dbus-daemon --
 2160 houn      20   0 21760 1052  848 S    0  0.1   0:00.06 syndaemon -i 2         
 2162 houn      20   0 13164  832  424 S    0  0.0   0:00.25 sh /home/houn/.xinitrc 
 2164 houn      20   0 27756 1556 1228 S    0  0.1   0:00.06 dwm                    
 2543 houn      20   0 66680 8884 4800 S    0  0.4   0:00.55 urxvt                  
 2585 houn      20   0 15532 2156 1488 S    0  0.1   0:00.03 bash                   
 4364 houn      20   0 66528 8824 4796 S    0  0.4   0:00.34 urxvt                  
 4384 houn      20   0 15524 2148 1488 S    0  0.1   0:00.01 bash                   
 4908 houn      20   0  8084  928  772 S    0  0.0   0:00.01 less pre_x.txt         
 9004 houn      20   0  5548  568  484 S    0  0.0   0:00.00 sleep 1s               
 9013 houn      20   0 13168 1596 1196 S    0  0.1   0:00.01 sh scripts/sysstats.sh 

==============================

iotop is similarly blank, zeros down the line.  Any ideas?  I'm not even sure where to start with this one.

Last edited by houn (2010-03-19 01:23:04)

Offline

#2 2010-03-17 14:34:07

houn
Member
Registered: 2008-05-07
Posts: 17

Re: [SOLVED] Eee 1005PE CPU Usage

It was suggested that Powertop might have some info:

     PowerTOP version 1.11      (C) 2007 Intel Corporation

Cn                Avg residency       P-states (frequencies)
C0 (cpu running)        (35.7%)         1.67 Ghz    36.5%
polling           0.9ms ( 0.0%)         1333 Mhz     1.1%
C1 mwait          0.0ms ( 0.0%)         1000 Mhz    62.4%
C2 mwait          0.1ms ( 0.3%)
C4 mwait          1.5ms (64.0%)       

Wakeups-from-idle per second : 450.4    interval: 10.0s
Power usage (ACPI estimate): 7.8W (5.5 hours)

Top causes for wakeups:
  64.0% (459.9)     <kernel core> : hrtimer_start_range_ns (tick_sched_timer) 
  17.7% (127.4)           firefox : hrtimer_start_range_ns (hrtimer_wakeup) 
   4.6% ( 33.1)       <interrupt> : extra timer interrupt 
   3.3% ( 23.8)       <interrupt> : ath9k 
   3.1% ( 22.4)      <kernel IPI> : Rescheduling interrupts 
   1.4% ( 10.0)             conky : hrtimer_start_range_ns (hrtimer_wakeup) 
   1.4% ( 10.0)         xbindkeys : hrtimer_start_range_ns (hrtimer_wakeup) 
   1.4% ( 10.0)     <kernel core> : ath_ani_calibrate (ath_ani_calibrate) 
   1.0% (  7.2)     <kernel core> : hrtimer_start (tick_sched_timer)
   0.7% (  5.0)         syndaemon : hrtimer_start_range_ns (hrtimer_wakeup)
   0.6% (  4.3)              phy0 : queue_delayed_work (delayed_work_timer_fn)
   0.2% (  1.3)             irssi : hrtimer_start_range_ns (hrtimer_wakeup)
   0.1% (  1.0)     <kernel core> : __enqueue_rt_entity (sched_rt_period_timer)
   0.1% (  1.0)                 X : queue_delayed_work (delayed_work_timer_fn)
   0.1% (  1.0)             sleep : hrtimer_start_range_ns (hrtimer_wakeup)
   0.0% (  0.2)      <kernel IPI> : TLB shootdowns
   0.0% (  0.2)          events/1 : queue_delayed_work (delayed_work_timer_fn)
   0.0% (  0.2)              init : hrtimer_start_range_ns (hrtimer_wakeup)
   0.0% (  0.1)          gconfd-2 : hrtimer_start_range_ns (hrtimer_wakeup)
   0.0% (  0.1)     <kernel core> : neigh_timer_handler (neigh_timer_handler)
   0.0% (  0.1)     <kernel core> : add_timer (sta_info_cleanup)
   0.0% (  0.1)     <kernel core> : inet_twdr_hangman (inet_twdr_hangman)
   0.0% (  0.1)           rpcbind : hrtimer_start_range_ns (hrtimer_wakeup)
   0.0% (  0.1)             irssi : queue_delayed_work (delayed_work_timer_fn)
   0.0% (  0.1)             urxvt : sys_epoll_wait (process_timeout)

Offline

#3 2010-03-17 19:17:48

DeVelox
Member
Registered: 2010-03-07
Posts: 14

Re: [SOLVED] Eee 1005PE CPU Usage

This isn't exactly related to your specific problem but I own a 1005PE myself and after optimizing stuff quite a bit I managed to lower power usage to approximately 5W. Of course that's when everything is pretty much idling, or during some casual browsing. With WiFi off it can go even lower but generally it rarely sticks beyond 6-7W.
The main thing I did was to properly configure laptop mode tools and well, I'm using Openbox and many lightweight applications.
I suggest you read both:
http://wiki.archlinux.org/index.php/Asus_Eee_PC_1005HA
http://wiki.archlinux.org/index.php/Laptop
Though neither is related to your model specifically, some points in both of these articles are really valuable. If applicable that is, don't just go and randomly do all of the stuff you read about. I would strongly advise you to install laptop mode tools and properly configure it (quite a few things aren't working right out of the box). Maybe a few extra tweaks but the rest will mostly depend on how do you use the netbook.
Good luck.

Offline

#4 2010-03-17 19:43:43

houn
Member
Registered: 2008-05-07
Posts: 17

Re: [SOLVED] Eee 1005PE CPU Usage

Yeah, I've been through both of those articles; while I cant' comment on how well I've set everything up, as this has been a learning experience for me, can improperly configuring the laptop tools cause your CPU to report 30% usage without any obvious reason?

Offline

#5 2010-03-17 20:09:53

DeVelox
Member
Registered: 2010-03-07
Posts: 14

Re: [SOLVED] Eee 1005PE CPU Usage

I would say no. At least if by "improperly configuring" you mean not setting something instead of intentionally setting it to a wrong value. But I haven't seen anything really dangerous, so to say, in the settings.

In your powertop log I noticed 1.67GHz frequency is used quite a lot. For me this is usually a very low percentage. Did you change the ondemand governor? As it defaults at 95 it would seem that something is using 95% of your CPU quite often.

Also, I must say I'm not using any of the apps I see you have running so one of them might be a culprit just as well. Have you checked CPU usage right after the boot? Try checking it before you enter X, right after you enter X then start the browser, and so on. If it's like that from the very boot, check the daemons, and well, pretty much everything that loads during boot. I highly doubt you'll find what's wrong by randomly nabbing around the process list.

I can't really say I remember exactly how "well" was my system behaving right after the initiall install as I used Gnome for a few days, then switched to Openbox and in the meantime I constantly tweaked the laptop mode tools but I can say that both performance and battery life is now greatly improved.

Last edited by DeVelox (2010-03-17 20:10:29)

Offline

#6 2010-03-17 21:25:53

houn
Member
Registered: 2008-05-07
Posts: 17

Re: [SOLVED] Eee 1005PE CPU Usage

Here's pre X:

CPU Stats

mpstat: ======================
Linux 2.6.33-ice (icarus)     03/16/2010     _x86_64_    (2 CPU)

08:11:10 PM  CPU    %usr   %nice    %sys %iowait    %irq   %soft  %steal  %guest   %idle
08:11:10 PM  all    3.19    0.00    6.14   12.35    0.03    0.11    0.00    0.00   78.18
08:11:10 PM    0    3.30    0.00    6.91   17.11    0.03    0.05    0.00    0.00   72.60
08:11:10 PM    1    3.07    0.00    5.38    7.60    0.02    0.16    0.00    0.00   83.77

iostat: ======================
Linux 2.6.33-ice (icarus)     03/16/2010     _x86_64_    (2 CPU)

avg-cpu:  %user   %nice %system %iowait  %steal   %idle
           3.20    0.00    6.28   12.36    0.00   78.17

Device:            tps   Blk_read/s   Blk_wrtn/s   Blk_read   Blk_wrtn
sda              43.69      1522.25       146.23      97074       9325

==============================

ps top ten: ==================
%CPU   PID USER     COMMAND
 0.7  1537 hal      /usr/sbin/hald
 0.6     1 root     init [3]  
 0.2   805 root     /sbin/udevd --daemon
 0.2    23 root     [kseriod]
 0.2  2072 houn     -bash
 0.1  1511 root     /usr/sbin/syslog-ng
 0.0     9 root     [events/0]
 0.0   987 root     [kpsmoused]
 0.0   914 root     [khubd]
==============================

top -cbn1: ===================
top - 20:11:11 up 1 min,  1 user,  load average: 0.26, 0.10, 0.03
Tasks:  88 total,   1 running,  87 sleeping,   0 stopped,   0 zombie
Cpu(s):  3.2%us,  6.1%sy,  0.0%ni, 78.2%id, 12.3%wa,  0.0%hi,  0.1%si,  0.0%st
Mem:   2048100k total,   136680k used,  1911420k free,    15716k buffers
Swap:  3903784k total,        0k used,  3903784k free,    37036k cached

  PID USER      PR  NI  VIRT  RES  SHR S %CPU %MEM    TIME+  COMMAND                                                            
 2105 houn      20   0 10696 1040  784 R    2  0.1   0:00.02 top -cbn1                                                          
    1 root      20   0  3824  640  540 S    0  0.0   0:00.43 init [3]                                                           
    2 root      20   0     0    0    0 S    0  0.0   0:00.00 [kthreadd]                                                         
    3 root      RT   0     0    0    0 S    0  0.0   0:00.00 [migration/0]                                                      
    4 root      20   0     0    0    0 S    0  0.0   0:00.00 [ksoftirqd/0]                                                      
    5 root      RT   0     0    0    0 S    0  0.0   0:00.00 [watchdog/0]                                                       
    6 root      RT   0     0    0    0 S    0  0.0   0:00.00 [migration/1]                                                      
    7 root      20   0     0    0    0 S    0  0.0   0:00.00 [ksoftirqd/1]                                                      
    8 root      RT   0     0    0    0 S    0  0.0   0:00.00 [watchdog/1]                                                       
    9 root      20   0     0    0    0 S    0  0.0   0:00.00 [events/0]                                                         
   10 root      20   0     0    0    0 S    0  0.0   0:00.00 [events/1]                                                         
   11 root      20   0     0    0    0 S    0  0.0   0:00.00 [cpuset]                                                           
   12 root      20   0     0    0    0 S    0  0.0   0:00.00 [khelper]                                                          
   13 root      20   0     0    0    0 S    0  0.0   0:00.00 [netns]                                                            
   14 root      20   0     0    0    0 S    0  0.0   0:00.00 [async/mgr]                                                        
   15 root      20   0     0    0    0 S    0  0.0   0:00.00 [pm]                                                               
   16 root      20   0     0    0    0 S    0  0.0   0:00.00 [sync_supers]                                                      
   17 root      20   0     0    0    0 S    0  0.0   0:00.00 [bdi-default]                                                      
   18 root      20   0     0    0    0 S    0  0.0   0:00.00 [kblockd/0]                                                        
   19 root      20   0     0    0    0 S    0  0.0   0:00.00 [kblockd/1]                                                        
   20 root      20   0     0    0    0 S    0  0.0   0:00.00 [kacpid]                                                           
   21 root      20   0     0    0    0 S    0  0.0   0:00.00 [kacpi_notify]                                                     
   22 root      20   0     0    0    0 S    0  0.0   0:00.00 [kacpi_hotplug]                                                    
   23 root      20   0     0    0    0 S    0  0.0   0:00.13 [kseriod]                                                          
   26 root      20   0     0    0    0 S    0  0.0   0:00.00 [khungtaskd]                                                       
   27 root      20   0     0    0    0 S    0  0.0   0:00.00 [kswapd0]                                                          
   28 root      25   5     0    0    0 S    0  0.0   0:00.00 [ksmd]                                                             
   29 root      20   0     0    0    0 S    0  0.0   0:00.00 [aio/0]                                                            
   30 root      20   0     0    0    0 S    0  0.0   0:00.00 [aio/1]                                                            
   31 root      20   0     0    0    0 S    0  0.0   0:00.00 [crypto/0]                                                         
   32 root      20   0     0    0    0 S    0  0.0   0:00.00 [crypto/1]                                                         
  122 root      20   0     0    0    0 S    0  0.0   0:00.00 [i915]                                                             
  728 root      20   0     0    0    0 S    0  0.0   0:00.00 [ata/0]                                                            
  729 root      20   0     0    0    0 S    0  0.0   0:00.00 [ata/1]                                                            
  730 root      20   0     0    0    0 S    0  0.0   0:00.00 [ata_aux]                                                          
  731 root      20   0     0    0    0 S    0  0.0   0:00.00 [scsi_eh_0]                                                        
  732 root      20   0     0    0    0 S    0  0.0   0:00.00 [scsi_eh_1]                                                        
  733 root      20   0     0    0    0 S    0  0.0   0:00.00 [scsi_eh_2]                                                        
  734 root      20   0     0    0    0 S    0  0.0   0:00.00 [scsi_eh_3]                                                        
  770 root      20   0     0    0    0 S    0  0.0   0:00.04 [jbd2/sda3-8]                                                      
  771 root      20   0     0    0    0 S    0  0.0   0:00.00 [ext4-dio-unwrit]                                                  
  772 root      20   0     0    0    0 S    0  0.0   0:00.00 [ext4-dio-unwrit]                                                  
  805 root      16  -4  6488 1068  412 S    0  0.1   0:00.12 /sbin/udevd --daemon                                               
  913 root      20   0     0    0    0 S    0  0.0   0:00.00 [ksuspend_usbd]                                                    
  914 root      20   0     0    0    0 S    0  0.0   0:00.00 [khubd]                                                            
  987 root      20   0     0    0    0 S    0  0.0   0:00.00 [kpsmoused]                                                        
 1197 root      20   0     0    0    0 S    0  0.0   0:00.00 [cfg80211]                                                         
 1215 root      20   0     0    0    0 S    0  0.0   0:00.01 [kondemand/0]                                                      
 1216 root      20   0     0    0    0 S    0  0.0   0:00.00 [kondemand/1]                                                      
 1224 root      20   0     0    0    0 S    0  0.0   0:00.00 [usbhid_resumer]                                                   
 1227 root      20   0     0    0    0 S    0  0.0   0:00.00 [led_workqueue]                                                    
 1251 root      20   0     0    0    0 S    0  0.0   0:00.00 [hd-audio0]                                                        
 1291 root      20   0     0    0    0 S    0  0.0   0:00.05 [phy0]                                                             
 1367 root      18  -2  6476 1088  436 S    0  0.1   0:00.04 /sbin/udevd --daemon                                               
 1374 root      18  -2  6484 1084  432 S    0  0.1   0:00.03 /sbin/udevd --daemon                                               
 1378 root      20   0     0    0    0 S    0  0.0   0:00.01 [flush-8:0]                                                        
 1387 root      20   0     0    0    0 S    0  0.0   0:00.00 [ext4-dio-unwrit]                                                  
 1388 root      20   0     0    0    0 S    0  0.0   0:00.00 [ext4-dio-unwrit]                                                  
 1389 root      20   0     0    0    0 S    0  0.0   0:00.00 [jbd2/sda4-8]                                                      
 1390 root      20   0     0    0    0 S    0  0.0   0:00.00 [ext4-dio-unwrit]                                                  
 1391 root      20   0     0    0    0 S    0  0.0   0:00.00 [ext4-dio-unwrit]                                                  
 1510 root      20   0 25656  636  296 S    0  0.0   0:00.00 supervising syslog-ng                                              
 1511 root      20   0 28020 2072 1444 S    0  0.1   0:00.08 /usr/sbin/syslog-ng                                                
 1525 dbus      20   0 12652  796  572 S    0  0.0   0:00.00 /usr/bin/dbus-daemon --system                                      
 1534 root      20   0  3816  592  476 S    0  0.0   0:00.00 /usr/sbin/acpid                                                    
 1537 hal       20   0 28052 5144 4040 S    0  0.3   0:00.40 /usr/sbin/hald                                                     
 1538 root      20   0 19924 1280 1048 S    0  0.1   0:00.01 hald-runner                                                        
 1566 root      20   0 22044 1260 1068 S    0  0.1   0:00.00 hald-addon-input: Listening on /dev/input/event1 /dev/input/event10
 1568 root      20   0 22036 1212 1036 S    0  0.1   0:00.00 /usr/lib/hal/hald-addon-rfkill-killswitch                          
 1569 root      20   0 22036 1216 1036 S    0  0.1   0:00.00 /usr/lib/hal/hald-addon-leds                                       
 1576 root      20   0 22036 1188 1020 S    0  0.1   0:00.00 /usr/lib/hal/hald-addon-generic-backlight                          
 1582 root      20   0 22052 1208 1028 S    0  0.1   0:00.00 /usr/lib/hal/hald-addon-cpufreq                                    
 1583 hal       20   0 19632 1108  944 S    0  0.1   0:00.00 hald-addon-acpi: listening on acpid socket /var/run/acpid.socket   
 1952 root      20   0 28052 1156  684 S    0  0.1   0:00.02 wpa_supplicant -B -P /var/run/wpa_supplicant_wlan0.pid -i wlan0 -D 
 1955 root      20   0  3808  468  376 S    0  0.0   0:00.00 /usr/sbin/wpa_actiond -i wlan0 -P /var/run/wpa_actiond_wlan0.pid -a
 1972 root      20   0  5916  632  520 S    0  0.0   0:00.00 /usr/sbin/crond -S -l info                                         
 2034 root      20   0 47624 1096  576 S    0  0.1   0:00.00 /usr/bin/rpcbind                                                   
 2039 root      20   0 13888  464  300 S    0  0.0   0:00.00 /usr/sbin/famd -T 0 -c /etc/fam/fam.conf                           
 2050 bitlbee   20   0 25180  880  508 S    0  0.0   0:00.00 /usr/sbin/bitlbee -F                                               
 2054 root      20   0 43452 1252  972 S    0  0.1   0:00.01 /bin/login --                                                      
 2055 root      20   0  3820  612  520 S    0  0.0   0:00.00 /sbin/agetty -8 38400 tty2 linux                                   
 2056 root      20   0  3820  608  520 S    0  0.0   0:00.00 /sbin/agetty -8 38400 tty3 linux                                   
 2057 root      20   0  3820  612  520 S    0  0.0   0:00.00 /sbin/agetty -8 38400 tty4 linux                                   
 2058 root      20   0  3820  608  520 S    0  0.0   0:00.00 /sbin/agetty -8 38400 tty5 linux                                   
 2059 root      20   0  3820  608  520 S    0  0.0   0:00.00 /sbin/agetty -8 38400 tty6 linux                                   
 2072 houn      20   0 15532 2256 1552 S    0  0.1   0:00.06 -bash                                                              
 2093 root      20   0  8132  372  228 S    0  0.0   0:00.00 dhcpcd -qL -t 30 wlan0                                             
 2099 houn      20   0 13168 1592 1196 S    0  0.1   0:00.01 sh scripts/sysstats.sh pre_x.txt                                   

==============================

I have the ondemand governor set to 50% atm, hense the stats.  I hadn't decided where to set it permenantly; I was going to get a baseline for normal usage with chat, web, etc, then set it a bit above, so when I kick in something intensive, it scales up, but obviously, "idling" around 30% cpu, I haven't gotten around to it.

Offline

#7 2010-03-18 21:53:05

houn
Member
Registered: 2008-05-07
Posts: 17

Re: [SOLVED] Eee 1005PE CPU Usage

So, I'm thinking this is definitely related to X.  I ducked out of X, and was seeing CPU usage around 3%.  Fire it back up, 30%.  Then, I ran an htop -d 1.  htop itself ended up taking 30% or so, but with the refresh set to 1/10th of a second, I noticed that X was "bouncing" up at at least 15% fairly regularly, but you'd never see this with the normal refresh delay.

Any other Atom n450 users out there?  How is your X configured?  I'm just using the "intel" driver, I believe the chipset is the i915?

Offline

#8 2010-03-19 01:22:36

houn
Member
Registered: 2008-05-07
Posts: 17

Re: [SOLVED] Eee 1005PE CPU Usage

I figured it out.  After running htop with a delay of 1/10th of a second, I noticed that conky sure was updating fast.  So I set a delay_interval 1, and bam, CPU usage down to 2%.  Ugh.  It would have been nice if one of those various tools had noted that conky was responsible.

Anyway, CPU issues fixed.  Battery Life is up to about 8h now.  Next up, tweaking video performance!

Offline

Board footer

Powered by FluxBB