From owner-freebsd-current@FreeBSD.ORG Thu Nov 24 00:08:26 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 5324E16A41F; Thu, 24 Nov 2005 00:08:26 +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 625B843D5E; Thu, 24 Nov 2005 00:08:25 +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 191A31A3C1A; Wed, 23 Nov 2005 16:08:25 -0800 (PST) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id 67D6051592; Wed, 23 Nov 2005 19:08:24 -0500 (EST) Date: Wed, 23 Nov 2005 19:08:24 -0500 From: Kris Kennaway To: David Xu Message-ID: <20051124000824.GA11032@xor.obsecurity.org> References: <20051123201837.GA4822@xor.obsecurity.org> <438500BE.3020507@freebsd.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="OXfL5xGRrasGEqWY" Content-Disposition: inline In-Reply-To: <438500BE.3020507@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:08:26 -0000 --OXfL5xGRrasGEqWY Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Nov 24, 2005 at 07:52:30AM +0800, David Xu wrote: > 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 ? Didn't really make a difference: # sh dd.sh 1 mdconfig: ioctl(/dev/mdctl): No such file or directory md0 16384+0 records in 16384+0 records out 268435456 bytes transferred in 1.325922 secs (202451919 bytes/sec) # sh dd.sh 2 md0 16384+0 records in 16384+0 records out 268435456 bytes transferred in 1.828649 secs (146794428 bytes/sec) 16384+0 records in 16384+0 records out 268435456 bytes transferred in 1.828715 secs (146789108 bytes/sec) # sh dd.sh 3 md0 16384+0 records in 16384+0 records out 268435456 bytes transferred in 1.875729 secs (143109929 bytes/sec) 16384+0 records in 16384+0 records out 268435456 bytes transferred in 1.879152 secs (142849247 bytes/sec) 16384+0 records in 16384+0 records out 268435456 bytes transferred in 1.883898 secs (142489377 bytes/sec) # sh dd.sh 4 md0 16384+0 records in 16384+0 records out 268435456 bytes transferred in 1.834240 secs (146346968 bytes/sec) 16384+0 records in 16384+0 records out 268435456 bytes transferred in 1.858093 secs (144468255 bytes/sec) 16384+0 records in 16384+0 records out 268435456 bytes transferred in 1.894780 secs (141671047 bytes/sec) 16384+0 records in 16384+0 records out 268435456 bytes transferred in 3.108751 secs (86348335 bytes/sec) # sh dd.sh 12 md0 16384+0 records in 16384+0 records out 268435456 bytes transferred in 1.860367 secs (144291681 bytes/sec) 16384+0 records in 16384+0 records out 268435456 bytes transferred in 1.885677 secs (142354961 bytes/sec) 16384+0 records in 16384+0 records out 268435456 bytes transferred in 1.983243 secs (135351757 bytes/sec) 16384+0 records in 16384+0 records out 268435456 bytes transferred in 3.409261 secs (78737139 bytes/sec) 16384+0 records in 16384+0 records out 268435456 bytes transferred in 3.762066 secs (71353204 bytes/sec) 16384+0 records in 16384+0 records out 268435456 bytes transferred in 3.910402 secs (68646510 bytes/sec) 16384+0 records in 16384+0 records out 268435456 bytes transferred in 5.086984 secs (52769079 bytes/sec) 16384+0 records in 16384+0 records out 268435456 bytes transferred in 5.566311 secs (48225018 bytes/sec) 16384+0 records in 16384+0 records out 268435456 bytes transferred in 5.816347 secs (46151897 bytes/sec) 16384+0 records in 16384+0 records out 268435456 bytes transferred in 6.818567 secs (39368309 bytes/sec) 16384+0 records in 16384+0 records out 268435456 bytes transferred in 7.375191 secs (36397085 bytes/sec) 16384+0 records in 16384+0 records out 268435456 bytes transferred in 7.568077 secs (35469440 bytes/sec) # --OXfL5xGRrasGEqWY Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2 (FreeBSD) iD8DBQFDhQR3Wry0BWjoQKURAigDAJ951FvCLW4lhhL5laz//H5GaIkf6QCg0Daf 7rtmBRUfV9A8EIIAJrm4GsQ= =0Wlz -----END PGP SIGNATURE----- --OXfL5xGRrasGEqWY--