Date: Sun, 6 Feb 2011 01:41:24 -0800 From: Jeremy Chadwick <freebsd@jdc.parodius.com> To: Kostik Belousov <kostikbel@gmail.com> Cc: Daniel O'Connor <darius@dons.net.au>, freebsd-stable Stable <freebsd-stable@freebsd.org> Subject: Re: Xorg in swwrt Message-ID: <20110206094124.GA51336@icarus.home.lan> In-Reply-To: <20110206092732.GH78089@deviant.kiev.zoral.com.ua> References: <F89B908D-D8AB-46DD-89E9-F49B6A708CF6@dons.net.au> <20110206092732.GH78089@deviant.kiev.zoral.com.ua>
next in thread | previous in thread | raw e-mail | index | archive | help
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@parodius.com | | Parodius Networking http://www.parodius.com/ | | UNIX Systems Administrator Mountain View, CA, USA | | Making life hard for others since 1977. PGP 4BD6C0CB |
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20110206094124.GA51336>