From owner-freebsd-current@FreeBSD.ORG Sun Jul 20 00:09:49 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 789CA37B401 for ; Sun, 20 Jul 2003 00:09:49 -0700 (PDT) Received: from obsecurity.dyndns.org (adsl-67-119-53-152.dsl.lsan03.pacbell.net [67.119.53.152]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8E05643FAF for ; Sun, 20 Jul 2003 00:09:46 -0700 (PDT) (envelope-from kris@obsecurity.org) Received: from rot13.obsecurity.org (rot13.obsecurity.org [10.0.0.5]) by obsecurity.dyndns.org (Postfix) with ESMTP id 8CEB766BE5; Sun, 20 Jul 2003 00:09:45 -0700 (PDT) Received: by rot13.obsecurity.org (Postfix, from userid 1000) id 612C8C0F; Sun, 20 Jul 2003 00:09:45 -0700 (PDT) Date: Sun, 20 Jul 2003 00:09:45 -0700 From: Kris Kennaway To: Khairil Yusof Message-ID: <20030720070945.GA67554@rot13.obsecurity.org> References: <1058680118.729.76.camel@daemon.home.net> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="liOOAslEiF7prFVr" Content-Disposition: inline In-Reply-To: <1058680118.729.76.camel@daemon.home.net> User-Agent: Mutt/1.4.1i 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 07:09:49 -0000 --liOOAslEiF7prFVr Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Jul 20, 2003 at 01:48:39PM +0800, Khairil Yusof wrote: > Trying out ULE scheduling on an SMP machine causes background processes > to be stuck in locks. >=20 > One or two processes will always get stuck in *Giant (and takes up like > 60% of lock) and if these are killed, then other processes are always > taking up a total of around 10% in lock, which makes the system crawl. >=20 > Anybody else seeing this on an SMP machine with ULE scheduler? 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. Kris --liOOAslEiF7prFVr Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.2 (FreeBSD) iD8DBQE/GkA5Wry0BWjoQKURAlnLAKDczFPFj03/Da/e4zFXf1Um/PYbgwCgwb/S NgPcHTv77/wKruqzrwcrtp8= =hWXE -----END PGP SIGNATURE----- --liOOAslEiF7prFVr--