From owner-freebsd-current@FreeBSD.ORG Thu Nov 24 00:40:51 2005 Return-Path: X-Original-To: current@FreeBSD.org 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 A53B116A41F; Thu, 24 Nov 2005 00:40:51 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from elvis.mu.org (elvis.mu.org [192.203.228.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id 38D3243D53; Thu, 24 Nov 2005 00:40:51 +0000 (GMT) (envelope-from kris@obsecurity.org) Received: from obsecurity.dyndns.org (elvis.mu.org [192.203.228.196]) by elvis.mu.org (Postfix) with ESMTP id 2179C1A3C2C; Wed, 23 Nov 2005 16:40:51 -0800 (PST) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 7ECAC51593; Wed, 23 Nov 2005 19:40:50 -0500 (EST) Date: Wed, 23 Nov 2005 19:40:50 -0500 From: Kris Kennaway To: David Xu Message-ID: <20051124004050.GA11567@xor.obsecurity.org> References: <20051123201837.GA4822@xor.obsecurity.org> <438500BE.3020507@freebsd.org> <20051124000824.GA11032@xor.obsecurity.org> <43850AB7.4000109@freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="G4iJoqBmSsgzjUCe" Content-Disposition: inline In-Reply-To: <43850AB7.4000109@freebsd.org> User-Agent: Mutt/1.4.2.1i Cc: current@FreeBSD.org, Kris Kennaway Subject: Re: 4BSD process starvation during I/O X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 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: Thu, 24 Nov 2005 00:40:51 -0000 --G4iJoqBmSsgzjUCe Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Nov 24, 2005 at 08:35:03AM +0800, David Xu wrote: > Kris Kennaway wrote: >=20 > >On Thu, Nov 24, 2005 at 07:52:30AM +0800, David Xu wrote: > >=20 > > > >>Kris Kennaway wrote: > >> > >> =20 > >> > >>>Perhaps this can be tweaked. > >>> > >>>Kris > >>> > >>>P.S. Please, no responses about how maybe someone could write a new > >>>scheduler that doesn't have this property. > >>> > >>> > >>> > >>> > >>> =20 > >>> > >>Can you try it again with FULL_PREEMPTION is turned on ? > >> =20 > >> > > > >Didn't really make a difference: > > > >=20 > > > This might only can be fixed when msleep no longer explicitly fiddles > thread priority, let scheduler fully control it. OK, thanks for looking at it. Kris --G4iJoqBmSsgzjUCe Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDhQwSWry0BWjoQKURAnn6AKDzMMQodfA9r7duwyhm2wHFGbwVMwCgg7CQ h5octLmYlI2LIauhApQxbDg= =F5a+ -----END PGP SIGNATURE----- --G4iJoqBmSsgzjUCe--