Le 31 mai 2011 ` 02:19, Gonzalo L. R. a icrit : > Take a look of this > > http://undeadly.org/cgi?action=article&sid=20090715034920
I found this article before posting. But one thing that didn't convinced me is that, if I shutdown apmd and configure hw.setperf=100, the load drops down to 0.30-0.20. I don't get how "A high load is just that: high. It means you have a lot of processes that sometimes run." can show load variation depending on CPU speed only. > > El 05/30/11 18:44, Joel Carnat escribis: >> Hi, >> >> I am running a personal Mail+Web system on a Core2Duo 2GHz using Speedstep. >> It is mostly doing nothing but still has a high load average. >> >> I've check various stat tools but didn't find the reason for the load. >> >> Anyone has ideas? >> >> TIA, >> Jo >> >> PS: here are some of the results I checked. >> >> # uname -a >> OpenBSD bagheera.tumfatig.net 4.9 GENERIC.MP#819 amd64 >> >> # sysctl hw >> hw.machine=amd64 >> hw.model=Intel(R) Core(TM)2 Duo CPU T7300 @ 2.00GHz >> hw.ncpu=2 >> hw.byteorder=1234 >> hw.pagesize=4096 >> hw.disknames=cd0:,sd0:01d3664288919ae7 >> hw.diskcount=2 >> hw.sensors.cpu0.temp0=45.00 degC >> hw.sensors.cpu1.temp0=45.00 degC >> hw.sensors.acpitz0.temp0=45.50 degC (zone temperature) >> hw.sensors.acpiac0.indicator0=On (power supply) >> hw.sensors.acpibat0.volt0=11.10 VDC (voltage) >> hw.sensors.acpibat0.volt1=12.71 VDC (current voltage) >> hw.sensors.acpibat0.amphour0=4.61 Ah (last full capacity) >> hw.sensors.acpibat0.amphour1=0.52 Ah (warning capacity) >> hw.sensors.acpibat0.amphour2=0.16 Ah (low capacity) >> hw.sensors.acpibat0.amphour3=5.20 Ah (remaining capacity), OK >> hw.sensors.acpibat0.raw0=0 (battery full), OK >> hw.sensors.acpibat0.raw1=1 (rate) >> hw.cpuspeed=800 >> hw.setperf=0 >> hw.vendor=Dell Inc. >> hw.product=XPS M1330 >> hw.serialno=CK0W33J >> hw.uuid=44454c4c-4b00-1030-8057-c3c04f33334a >> hw.physmem=3747008512 >> hw.usermem=3734933504 >> hw.ncpufound=2 >> >> # top -n -o cpu -T >> load averages: 1.19, 1.14, 0.99 bagheera.tumfatig.net 23:39:09 >> 78 processes: 77 idle, 1 on processor >> CPU0 states: 1.8% user, 0.0% nice, 0.7% system, 0.1% interrupt, 97.4% >> idle >> CPU1 states: 2.4% user, 0.0% nice, 0.8% system, 0.0% interrupt, 96.8% >> idle >> Memory: Real: 238M/656M act/tot Free: 2809M Swap: 0K/8197M used/tot >> >> PID USERNAME PRI NICE SIZE RES STATE WAIT TIME CPU COMMAND >> 3230 root 2 0 2156K 3152K sleep/1 netio 0:00 0.20% sshd >> 1867 sshd 2 0 2148K 2368K sleep/0 select 0:00 0.05% sshd >> 19650 www 14 0 5640K 30M sleep/0 semwait 0:59 0.00% httpd >> 4225 www 14 0 5984K 42M sleep/1 semwait 0:58 0.00% httpd >> 3624 www 14 0 5644K 30M sleep/1 semwait 0:53 0.00% httpd >> 24875 www 14 0 5740K 32M sleep/1 semwait 0:52 0.00% httpd >> 22848 www 14 0 5724K 30M sleep/1 semwait 0:50 0.00% httpd >> 13508 www 14 0 5832K 31M sleep/1 semwait 0:48 0.00% httpd >> 24210 www 14 0 5652K 30M sleep/1 semwait 0:48 0.00% httpd >> 510 www 14 0 5660K 30M sleep/1 semwait 0:46 0.00% httpd >> 20258 www 2 0 5536K 32M sleep/0 select 0:46 0.00% httpd >> 6543 www 14 0 5772K 32M sleep/0 semwait 0:43 0.00% httpd >> 9783 _mysql 2 0 55M 30M sleep/1 poll 0:20 0.00% mysqld >> 19071 root 2 0 640K 1416K sleep/1 select 0:09 0.00% sshd >> 10389 root 2 0 3376K 2824K sleep/0 poll 0:07 0.00% monit >> 21695 _sogo 2 0 7288K 18M sleep/1 poll 0:05 0.00% sogod >> 1888 named 2 0 20M 21M sleep/1 select 0:05 0.00% named >> 18781 _sogo 2 0 15M 29M sleep/1 poll 0:04 0.00% sogod >> >> # iostat -c 10 -w 1 >> tty cd0 sd0 cpu >> tin tout KB/t t/s MB/s KB/t t/s MB/s us ni sy in id >> 0 7 0.00 0 0.00 20.64 7 0.14 2 0 1 0 97 >> 0 174 0.00 0 0.00 0.00 0 0.00 0 0 0 0100 >> 0 57 0.00 0 0.00 0.00 0 0.00 1 0 2 0 97 >> 0 57 0.00 0 0.00 32.00 17 0.53 1 0 1 0 98 >> 0 58 0.00 0 0.00 0.00 0 0.00 7 0 7 0 86 >> 0 57 0.00 0 0.00 0.00 0 0.00 1 0 1 0 98 >> 0 57 0.00 0 0.00 0.00 0 0.00 1 0 1 0 98 >> 0 57 0.00 0 0.00 0.00 0 0.00 2 0 0 0 98 >> 0 57 0.00 0 0.00 4.00 1 0.00 0 0 1 0 99 >> 0 58 0.00 0 0.00 0.00 0 0.00 1 0 0 1 98 >> >> # vmstat -c 10 -w 1 >> procs memory page disks traps cpu >> r b w avm fre flt re pi po fr sr cd0 sd0 int sys cs us sy >> id >> 1 1 0 243420 2866736 655 0 0 0 0 0 0 1 15 1828 77 2 1 >> 97 >> 0 1 0 243636 2866336 234 0 0 0 0 0 0 0 10 540 47 0 1 >> 99 >> 0 1 0 243668 2866304 95 0 0 0 0 0 0 0 17 329 44 1 0 >> 99 >> 0 1 0 242848 2867552 644 0 0 0 0 0 0 0 8 1445 115 1 1 >> 98 >> 0 1 0 243612 2866352 1076 0 0 0 0 0 0 0 9 2436 44 0 2 >> 98 >> 0 1 0 243668 2866288 117 0 0 0 0 0 0 0 7 369 46 1 1 >> 98 >> 0 1 0 243836 2866112 337 0 0 0 0 0 0 0 7 818 86 0 1 >> 99 >> 0 1 0 243428 2866728 1216 0 0 0 0 0 0 0 11 2920 69 1 2 >> 97 >> 0 1 0 243640 2866332 212 0 0 0 0 0 0 0 6 313 38 1 0 >> 99 >> 0 1 0 243684 2866284 96 0 0 0 0 0 0 0 8 334 48 1 0 >> 99 >> > > -- > Sending from my Computer.