Solved CPU usage

Hi,

Recently, I have installed FreeBSD 10.0; It was hard to configure it, but I could finally do it properly (with the help of you guys).

Now I come up with something new... in these days I have noted that my notebook is making some excessive noise after some minutes I start to work.

I have looked after the processes currently running; verified the system load averages, but I couldn't identify anything abnormal.

It's strange, since back on Slackware my notebook works as expected: CPU fan increases when I'm doing some heavy processing. But on FreeBSD, it's like the system is doing a lot of heavy processing on background... I cound't identify the source of the problem (if it is).

My notebook is a Dell Vostro 3450.

Here is the output of uptime:

Code:
6:10PM  up 23 mins, 2 users, load averages: 0.09, 0.27, 0.23

And here is the output from ps:

Code:
USER  PID  %CPU %MEM  VSZ  RSS TT  STAT STARTED  TIME COMMAND
root  11 400.0  0.0  0  64  -  RL  5:47PM 85:43.31 [idle]
ur  1190  0.5  4.7 503620 188852  -  Is  6:07PM  0:12.73 firefox
root  0  0.0  0.0  0  208  -  DLs  5:47PM  0:03.01 [kernel]
root  1  0.0  0.0  9472  868  -  ILs  5:47PM  0:00.01 /sbin/init -
root  2  0.0  0.0  0  32  -  DL  5:47PM  0:00.01 [cam]
root  3  0.0  0.0  0  16  -  DL  5:47PM  0:00.00 [sctp_iterat
root  4  0.0  0.0  0  16  -  DL  5:47PM  0:00.00 [enc_daemon0
root  5  0.0  0.0  0  16  -  DL  5:47PM  0:00.06 [pagedaemon]
root  6  0.0  0.0  0  16  -  DL  5:47PM  0:00.00 [vmdaemon]
root  7  0.0  0.0  0  16  -  DL  5:47PM  0:00.00 [pagezero]
root  8  0.0  0.0  0  32  -  DL  5:47PM  0:00.02 [bufdaemon]
root  9  0.0  0.0  0  16  -  DL  5:47PM  0:00.01 [vnlru]
root  10  0.0  0.0  0  16  -  DL  5:47PM  0:00.00 [audit]
root  12  0.0  0.0  0  288  -  WL  5:47PM  0:05.01 [intr]
root  13  0.0  0.0  0  48  -  DL  5:47PM  0:00.01 [geom]
root  14  0.0  0.0  0  16  -  DL  5:47PM  0:00.23 [rand_harves
root  15  0.0  0.0  0  192  -  DL  5:47PM  0:00.21 [usb]
root  16  0.0  0.0  0  16  -  DL  5:47PM  0:00.02 [acpi_therma
root  17  0.0  0.0  0  16  -  DL  5:47PM  0:00.00 [acpi_coolin
root  18  0.0  0.0  0  16  -  DL  5:47PM  0:00.23 [Timer]
root  19  0.0  0.0  0  16  -  DL  5:47PM  0:00.04 [syncer]
root  146  0.0  0.0  12332  1788  -  Is  5:47PM  0:00.00 adjkerntz -i
root  510  0.0  0.0  0  64  -  DL  5:47PM  0:00.00 [ng_queue]
root  514  0.0  0.1  13164  4516  -  Ss  5:47PM  0:00.01 /sbin/devd
root  601  0.0  0.1  14492  2140  -  Ss  5:47PM  0:00.01 /usr/sbin/sy
messagebus  778  0.0  0.1  17120  2792  -  Is  5:47PM  0:00.00 /usr/local/b
root  796  0.0  0.1  16592  2248  -  Ss  5:47PM  0:00.00 /usr/sbin/cr
ur  874  0.0  0.3  79108  13396  -  Ss  5:48PM  0:00.08 xterm
root  955  0.0  0.1  21816  5380  -  Ss  5:48PM  0:00.16 wpa_supplica
root  964  0.0  0.1  14624  2288  -  Is  5:48PM  0:00.00 dhclient: wl
_dhcp  1000  0.0  0.1  14624  2384  -  Is  5:48PM  0:00.00 dhclient: wl
ur  1006  0.0  0.1  30372  3304  -  I  5:48PM  0:00.00 /usr/local/b
ur  1007  0.0  0.1  17120  2684  -  Is  5:48PM  0:00.00 /usr/local/b
root  1194  0.0  0.1  25768  3936  -  Ss  6:07PM  0:00.01 screen
root  847  0.0  0.1  47724  2844 v0  Is  5:47PM  0:00.01 login [pam]
ur  855  0.0  0.1  17684  3356 v0  I  5:47PM  0:00.01 -bash (bash)
ur  856  0.0  0.1  17064  2448 v0  I+  5:48PM  0:00.00 /bin/sh /usr
ur  869  0.0  0.1  26124  2712 v0  I+  5:48PM  0:00.00 xinit /home/
root  870  0.0  0.7 105512  27552 v0  S  5:48PM  0:07.41 /usr/local/b
ur  873  0.0  0.2  74248  9948 v0  S  5:48PM  0:00.28 /usr/local/b
root  848  0.0  0.0  14488  1972 v1  Is+  5:47PM  0:00.00 /usr/libexec
root  849  0.0  0.0  14488  1972 v2  Is+  5:47PM  0:00.00 /usr/libexec
root  850  0.0  0.0  14488  1972 v3  Is+  5:47PM  0:00.00 /usr/libexec
root  851  0.0  0.0  14488  1972 v4  Is+  5:47PM  0:00.00 /usr/libexec
root  852  0.0  0.0  14488  1972 v5  Is+  5:47PM  0:00.00 /usr/libexec
root  853  0.0  0.0  14488  1972 v6  Is+  5:47PM  0:00.00 /usr/libexec
root  854  0.0  0.0  14488  1972 v7  Is+  5:47PM  0:00.00 /usr/libexec
ur  876  0.0  0.1  17684  3352  0  Is  5:48PM  0:00.00 bash
ur  1193  0.0  0.1  25768  3036  0  S+  6:07PM  0:00.02 screen
ur  1195  0.0  0.1  17684  3424  1  Ss  6:07PM  0:00.02 -/usr/local/
ur  1200  0.0  0.1  18736  2220  1  R+  6:10PM  0:00.00 ps uax

Any help would be appreciated.
 
wblock@, indeed it wasn't running. I've started it and now it seems the problem is solved (I'll do some more tests). However, I couldn't understand what you mean by 'enabled'. Is there another step beyond invoking powerd()?

SirDice, sorry. I mistyped the version number. I'm currently running FreeBSD 10.1.
 
However, I couldn't understand what you mean by 'enabled'. Is there another step beyond invoking powerd()?

Yes. Enable it in /etc/rc.conf:
Code:
powerd_enable="YES"

The defaults make interactive use kind of sluggish for me, so I add this:
Code:
powerd_flags="-a hadp -n hadp -p50"
 
Back
Top