From owner-freebsd-current@FreeBSD.ORG Sun Jul 20 10:16:12 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 45E4137B401 for ; Sun, 20 Jul 2003 10:16:12 -0700 (PDT) Received: from smtp015.mail.yahoo.com (smtp015.mail.yahoo.com [216.136.173.59]) by mx1.FreeBSD.org (Postfix) with SMTP id BC4C043F75 for ; Sun, 20 Jul 2003 10:16:11 -0700 (PDT) (envelope-from khairil_yusof@yahoo.com) Received: from unknown (HELO ?219.95.57.81?) (khairil?yusof@219.95.57.81 with plain) by smtp.mail.vip.sc5.yahoo.com with SMTP; 20 Jul 2003 17:16:11 -0000 From: Khairil Yusof To: Kris Kennaway In-Reply-To: <20030720070945.GA67554@rot13.obsecurity.org> References: <1058680118.729.76.camel@daemon.home.net> <20030720070945.GA67554@rot13.obsecurity.org> Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="=-dIZXigOF1h9Od4GiX+4T" Message-Id: <1058721368.75561.56.camel@daemon.home.net> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.3 Date: 21 Jul 2003 01:16:08 +0800 cc: freebsd-current@freebsd.org Subject: Re: background processes stuck in locks with ULE X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Jul 2003 17:16:12 -0000 --=-dIZXigOF1h9Od4GiX+4T Content-Type: text/plain Content-Transfer-Encoding: quoted-printable On Sun, 2003-07-20 at 15:09, Kris Kennaway wrote: > The process stats are not updated properly under ULE at the moment. > If a process takes up 60% of CPU and then sleeps, top will continue to > show it at 60% until the next time it runs. It does not in fact > continue to use CPU. In my case if I kill the process (that appears to be stuck in *Giant) the system immediately starts to improve in performance. So it seems that this process (usually a daemon) is still running in bg and eating up more cycles than necessary. Even then performance is extremely slow compared to 4BSD. However in single user mode (with no bg processes), performance seems normal. When I mean slow.. it means being able to read line by line as ipfw rules are being added by a script, or an ls -l output on a large directory. I'm going to compile a UP kernel, and report if it makes a difference. -- "Optimized, readable, on time; Pick any two."=20 FreeBSD 5.1-CURRENT i386=20 12:55AM up 5:36, 1 user, load averages: 0.45, 0.39, 0.34 --=-dIZXigOF1h9Od4GiX+4T Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (FreeBSD) iD8DBQA/Gs5YDAqnLW/+/X8RApjDAJ9R+Y50qKCjlJ79tI3LM7wBpb5EygCg4LJO 4+P18b3IWIIQMpvQ513ksOw= =JL9u -----END PGP SIGNATURE----- --=-dIZXigOF1h9Od4GiX+4T--