computer becomes slow when compiling something

Erich Dollansky oceanare at pacific.net.sg
Sun Aug 26 23:14:04 PDT 2007


Hi,

Ganbold wrote:
> Kevin Oberman wrote:
>>> Date: Mon, 27 Aug 2007 12:25:38 +0800
>>> From: Ganbold <ganbold at micom.mng.net>
>>> Sender: owner-freebsd-current at freebsd.org
>>>
>>> my computer becomes very slow.
>>>
>>> top shows while compiling wine:
>>>
>>> last pid: 38660;  load averages:  3.10,  2.24,  
>>> 1.33                                                                                 
>>> up 3+02:07:05  12:11:38
>>> 106 processes: 3 running, 102 sleeping, 1 zombie
>>> CPU states: 90.2% user,  0.0% nice,  9.8% system,  0.0% interrupt,  
>>> 0.0% idle
>>> Mem: 704M Active, 63M Inact, 168M Wired, 39M Cache, 111M Buf, 21M Free
>>> Swap: 2048M Total, 195M Used, 1853M Free, 9% Inuse
>>>
>>>   PID USERNAME    THR PRI NICE   SIZE    RES STATE    TIME   WCPU 
>>> COMMAND
>>>   902 tsgan         1  96    0   147M   134M RUN    929:41  3.96% Xorg

You have an uuptime of some three days but Xorg took already 929 minutes 
of CPU time?

Also, we a load average of three and more while 0% idle time, every 
machine must be slow.

It also indicates that swapping is not the problem as swapping should 
not affect the CPU.

As long as the load average is this high, the machine will feel slow. 
This is normal.

You might find somebody who knows why Xorg does this strange thing.

Erich


More information about the freebsd-current mailing list