From owner-freebsd-stable@FreeBSD.ORG Wed Apr 27 17:15:25 2005 Return-Path: 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 904C216A4CE; Wed, 27 Apr 2005 17:15:25 +0000 (GMT) Received: from mailhost.stack.nl (vaak.stack.nl [131.155.140.140]) by mx1.FreeBSD.org (Postfix) with ESMTP id C430543D58; Wed, 27 Apr 2005 17:15:24 +0000 (GMT) (envelope-from marcolz@stack.nl) Received: from hammer.stack.nl (hammer.stack.nl [IPv6:2001:610:1108:5010::153]) by mailhost.stack.nl (Postfix) with ESMTP id CE5F81F10A; Wed, 27 Apr 2005 19:15:23 +0200 (CEST) Received: by hammer.stack.nl (Postfix, from userid 333) id B55DE6149; Wed, 27 Apr 2005 19:15:23 +0200 (CEST) Date: Wed, 27 Apr 2005 19:15:23 +0200 From: Marc Olzheim To: Brian Fundakowski Feldman Message-ID: <20050427171523.GB5984@stack.nl> References: <20050420173859.GA99695@stack.nl> <20050426140701.GB5789@green.homeunix.org> <20050426151751.GB68038@stack.nl> <20050426155043.GC5789@green.homeunix.org> <20050426160609.GA68511@stack.nl> <20050426162549.GD5789@green.homeunix.org> <20050426164346.GA68763@stack.nl> <20050426193602.GE5789@green.homeunix.org> <20050427081746.GA66441@stack.nl> <20050427160857.GF5789@green.homeunix.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="9zSXsLTf0vkW971A" Content-Disposition: inline In-Reply-To: <20050427160857.GF5789@green.homeunix.org> X-Operating-System: FreeBSD hammer.stack.nl 5.4-STABLE FreeBSD 5.4-STABLE X-URL: http://www.stack.nl/~marcolz/ User-Agent: Mutt/1.5.9i cc: Marc Olzheim cc: freebsd-stable@freebsd.org Subject: Re: NFS client/buffer cache deadlock X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Apr 2005 17:15:25 -0000 --9zSXsLTf0vkW971A Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Apr 27, 2005 at 12:08:57PM -0400, Brian Fundakowski Feldman wrote: > > Yes, a single writev(). Just like in the kern/79207 PR. > >=20 > > It doesn't have to be superfast (why would I use NFS otherwise), just as > > long as it's threadsafe / atomic. >=20 > Alright, this will do synchronous, instead of short, writes (also, > of course, not deadlock the system) if you are trying to use an > excessively large buffer size. >=20 > > Great! This seems to do the trick and isn't that slow (about 2.8 MB/sec over 100 MBit, writing 600 * 1MB, 4.x gets about 5.5 MB/sec on the same system); it's fast enough for me and more importantly, it doesn't lock the system down anymore. ;-) Thanks a lot! Marc --9zSXsLTf0vkW971A Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQFCb8irezjnobFOgrERAjj4AJ4vD+GytxecSZSwHOqfiaHVJVKGhwCZAQ6u p/p88ZFKAaHcD9YFpZFejSs= =cRNQ -----END PGP SIGNATURE----- --9zSXsLTf0vkW971A--