Xorg in swwrt

Jeremy Chadwick freebsd at jdc.parodius.com
Sun Feb 6 09:41:27 UTC 2011


On Sun, Feb 06, 2011 at 11:27:32AM +0200, Kostik Belousov wrote:
> On Sun, Feb 06, 2011 at 03:19:12PM +1030, Daniel O'Connor wrote:
> > I updated ports (portmaster -a basically) on this 8.2-PRE box and now I find X takes a long, long time to start up and uses lots of CPU. It shows the wchan as swwrt.
> > 
> > eg..
> > last pid: 21791;  load averages:  0.12,  0.29,  0.23                     up 0+16:09:07  15:16:15
> > 496 processes: 2 running, 494 sleeping
> > CPU:  0.0% user,  0.0% nice, 46.7% system,  0.0% interrupt, 53.3% idle
> > Mem: 190M Active, 33M Inact, 3217M Wired, 198M Cache, 15M Buf, 171M Free
> > Swap: 4096M Total, 621M Used, 3475M Free, 15% Inuse, 212K Out
> > 
> >   PID USERNAME    THR PRI NICE   SIZE    RES STATE   C   TIME   WCPU COMMAND
> > 21787 fiona         1  76    0   168M   134M swwrt   0   0:04 32.37% Xorg
> swwrt means waiting for the syncronous swap-out to finish.
> This is consistent with the top indicating the non-trivial amount of
> swap space used and swapout happen right now.
> 
> Look at the working set of the application you are starting.
> Another thing that is standing out is huge wired count.

Regarding the large wired count: I'm willing to bet ZFS is in use on the
machine, which would explain this (specifically ARC usage).

-- 
| Jeremy Chadwick                                   jdc at parodius.com |
| Parodius Networking                       http://www.parodius.com/ |
| UNIX Systems Administrator                  Mountain View, CA, USA |
| Making life hard for others since 1977.               PGP 4BD6C0CB |



More information about the freebsd-stable mailing list