From owner-freebsd-stable@FreeBSD.ORG Thu Apr 27 19:47:37 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 ABC4716A4F9 for ; Thu, 27 Apr 2006 19:47:37 +0000 (UTC) (envelope-from mikej@rogers.com) Received: from smtp105.rog.mail.re2.yahoo.com (smtp105.rog.mail.re2.yahoo.com [206.190.36.83]) by mx1.FreeBSD.org (Postfix) with SMTP id 3FF9B43D5F for ; Thu, 27 Apr 2006 19:47:31 +0000 (GMT) (envelope-from mikej@rogers.com) Received: (qmail 72082 invoked from network); 27 Apr 2006 19:47:30 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=rogers.com; h=Received:Message-ID:Date:From:User-Agent:MIME-Version:To:CC:Subject:References:In-Reply-To:Content-Type:Content-Transfer-Encoding; b=1QmKvbIkGtpx4YBsiQcNm+EoOs0ZG7WgN1wMOS45sg0Qmkr9hX5c7clwNjX5kpOVh8Pzo0PlRmG4A0YQj/9CHnLqfjU6UKxO8jilGuO0HVknvwUKzpiGx7fkVCKirKv0X0/p3QM2sJ7MBN2le16Vkmyy8tr0JlaDBPtOJuVySkI= ; Received: from unknown (HELO ?70.31.50.218?) (mikej@rogers.com@70.31.50.218 with plain) by smtp105.rog.mail.re2.yahoo.com with SMTP; 27 Apr 2006 19:47:30 -0000 Message-ID: <44511FD9.9020200@rogers.com> Date: Thu, 27 Apr 2006 15:47:37 -0400 From: Mike Jakubik User-Agent: Thunderbird 1.5.0.2 (Windows/20060308) MIME-Version: 1.0 To: Bartosz Fabianowski References: <20060427160536.M96305@atlantis.atlantis.dp.ua> <20060427181226.GA66431@xor.obsecurity.org> <44510CBE.6050102@sd2i.com> <20060427183541.GA67363@xor.obsecurity.org> <445118C8.7020603@sd2i.com> <44511E27.2070101@chillt.de> In-Reply-To: <44511E27.2070101@chillt.de> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: "ml@sd2i.com" , 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 19:47:37 -0000 Bartosz Fabianowski wrote: >> You wrote that Giant is needed in 6.0 and now you write it has been >> removed. > > In 4.x, every UFS write requires the Giant lock. In 6.x, Giant is not > normally required, making file system operations faster. When you > enable QUOTA, you basically get back to the 4.x behavior where Giant > is needed for each write. This is why in 6.x UFS will normally be > faster but if you enable QUOTA, you lose the newly gained performance > again. Why isn't QUOTA mpsafe then?