From owner-freebsd-stable@FreeBSD.ORG Thu Apr 27 18:36:26 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 14A6916A400 for ; Thu, 27 Apr 2006 18:36:26 +0000 (UTC) (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 029C843D78 for ; Thu, 27 Apr 2006 18:36:17 +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 73FFE1A3C22; Thu, 27 Apr 2006 11:36:17 -0700 (PDT) Received: by obsecurity.dyndns.org (Postfix, from userid 1000) id EEC7455DDC; Thu, 27 Apr 2006 14:35:41 -0400 (EDT) Date: Thu, 27 Apr 2006 14:35:41 -0400 From: Kris Kennaway To: "ml@sd2i.com" Message-ID: <20060427183541.GA67363@xor.obsecurity.org> References: <20060427160536.M96305@atlantis.atlantis.dp.ua> <20060427181226.GA66431@xor.obsecurity.org> <44510CBE.6050102@sd2i.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="yrj/dFKFPuw6o+aM" Content-Disposition: inline In-Reply-To: <44510CBE.6050102@sd2i.com> User-Agent: Mutt/1.4.2.1i Cc: freebsd-stable@freebsd.org Subject: Re: RELENG_4 -> 5 -> 6: significant performance regression X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Apr 2006 18:36:26 -0000 --yrj/dFKFPuw6o+aM Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Apr 27, 2006 at 08:26:06PM +0200, ml@sd2i.com wrote: > Kris Kennaway a ?crit : > >On Thu, Apr 27, 2006 at 05:08:11PM +0300, Dmitry Pryanishnikov wrote: > > > > > >>options QUOTA > > > >This definitely effects performance on 6.x since it makes your > >filesystem giant-locked, which may also interfere with your network > >processing. >=20 > Why would QUOTA affect performance more on 6.x than 4.x ? I would like=20 > to understand because i think a system cannot be secure without QUOTA It makes filesystem writes acquire Giant, which blocks other kernel code that needs to also acquire Giant. When the need to acquire Giant was removed from the mainstream UFS code in 6.0 it was an enormous performance improvement. Kris --yrj/dFKFPuw6o+aM Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQFEUQ79Wry0BWjoQKURAuhfAKD5MB7ycP673A3ODb+Z45DwylCLyQCglcsL 0TlZzSfX8PGLZ97Zq3A+GR0= =aLfr -----END PGP SIGNATURE----- --yrj/dFKFPuw6o+aM--