From owner-freebsd-fs@FreeBSD.ORG Mon Apr 10 14:49:15 2006 Return-Path: X-Original-To: freebsd-fs@freebsd.org Delivered-To: freebsd-fs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 3673516A404 for ; Mon, 10 Apr 2006 14:49:15 +0000 (UTC) (envelope-from kostikbel@gmail.com) Received: from fw.zoral.com.ua (ll-227.216.82.212.sovam.net.ua [212.82.216.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id B605043D58 for ; Mon, 10 Apr 2006 14:49:11 +0000 (GMT) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (root@deviant.kiev.zoral.com.ua [10.1.1.148]) by fw.zoral.com.ua (8.13.4/8.13.3) with ESMTP id k3AEn5ue092052 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 10 Apr 2006 17:49:05 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: from deviant.kiev.zoral.com.ua (kostik@localhost [127.0.0.1]) by deviant.kiev.zoral.com.ua (8.13.6/8.13.6) with ESMTP id k3AEn5K6009060; Mon, 10 Apr 2006 17:49:05 +0300 (EEST) (envelope-from kostikbel@gmail.com) Received: (from kostik@localhost) by deviant.kiev.zoral.com.ua (8.13.6/8.13.6/Submit) id k3AEn5WW009059; Mon, 10 Apr 2006 17:49:05 +0300 (EEST) (envelope-from kostikbel@gmail.com) X-Authentication-Warning: deviant.kiev.zoral.com.ua: kostik set sender to kostikbel@gmail.com using -f Date: Mon, 10 Apr 2006 17:49:04 +0300 From: Kostik Belousov To: Nicolas KOWALSKI Message-ID: <20060410144904.GC1408@deviant.kiev.zoral.com.ua> References: <20060329152608.GB1375@deviant.kiev.zoral.com.ua> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="5G06lTa6Jq83wMTw" Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.1i X-Virus-Scanned: ClamAV version 0.88, clamav-milter version 0.87 on fw.zoral.com.ua X-Virus-Status: Clean Cc: freebsd-fs@freebsd.org Subject: Re: [patch] giant-less quotas for UFS X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 10 Apr 2006 14:49:15 -0000 --5G06lTa6Jq83wMTw Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Mon, Apr 10, 2006 at 04:16:27PM +0200, Nicolas KOWALSKI wrote: > Hello, >=20 > Kostik Belousov writes: >=20 > > I already mailed about my development of the patch that > > allows for UFS with quotas to operate without Giant. Sorry if the > > repeat would be annoying. >=20 > Does this patch improve the performance of a file server, using > multiple disks, controlled by quotas, exported by NFS/Samba ? >=20 > If so, I would be really interested: our file server (4.11, but > perhaps 6.x soon), has some major slowdowns when one or multiple > user/s exceed her/his quota ; this impact every user, even those > working on another disk. I don't think that patch shall have effect on this situation (quota exceede= d). Probably, you have some other issues, esp. for 4.x, where only one process can progress in kernel mode anyway. Just guessing: do you have slow (serial) console ? Yes, I expect patch to improve overall system performance for 6.x/7 when quotas are compiled in the kernel compared with the same kernel config without patch. This was the reason for developing the change. I do not have a numerical measurement of improvement, though. I will be very glad for testing/stress testing/performance measurement for the patch. BUT, PLEASE BEWARE. Don't apply the patch for non-test machines. Kris Kennaway said the system deadlocks with patch applied. I still cannot reproduce it (and debug). In my defense I could say that I did found two issues since Kris' report. Both are fixed. Best regards, Kostik Belousov. --5G06lTa6Jq83wMTw Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.3 (FreeBSD) iD8DBQFEOnBgC3+MBN1Mb4gRAsjkAJ9B+/z7Vbh35dj+Mh8HNcD6Y56srACg1HeU yAxUdsu7R9JRUbyej4u3XWE= =XEMk -----END PGP SIGNATURE----- --5G06lTa6Jq83wMTw--