From owner-freebsd-stable@FreeBSD.ORG Wed Apr 27 19:19:40 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 15DFD16A4CE; Wed, 27 Apr 2005 19:19:40 +0000 (GMT) Received: from mailhost.stack.nl (vaak.stack.nl [131.155.140.140]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6295943D49; Wed, 27 Apr 2005 19:19:39 +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 714C11F118; Wed, 27 Apr 2005 21:19:38 +0200 (CEST) Received: by hammer.stack.nl (Postfix, from userid 333) id 586ED61A0; Wed, 27 Apr 2005 21:19:38 +0200 (CEST) Date: Wed, 27 Apr 2005 21:19:38 +0200 From: Marc Olzheim To: Brian Fundakowski Feldman Message-ID: <20050427191938.GE6256@stack.nl> References: <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> <20050427171523.GB5984@stack.nl> <20050427183435.GA39270@green.homeunix.org> <20050427184203.GD6256@stack.nl> <20050427190627.GB39270@green.homeunix.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="juZjCTNxrMaZdGZC" Content-Disposition: inline In-Reply-To: <20050427190627.GB39270@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 19:19:40 -0000 --juZjCTNxrMaZdGZC Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Apr 27, 2005 at 03:06:27PM -0400, Brian Fundakowski Feldman wrote: > > How can I tell whether it uses transactions ? >=20 > I am not sure -- it should with NFSv3 though. Does "mount -v" tell > you anything more detailed? I suppose that nfsstat may also be used > -- the "commit" count should only increase when it does an NFSv3 > commit operation. >=20 > > The NFS server is mounted with: > >=20 > > mount_nfs -c -P -a 0 -r 8192 -w 8192 -i -o rw,noatime,nointr host:/path= /nfs/host/path >=20 > So the only really visible difference is 6 nfsiod versus 20 nfsiod. I > think if you increased the nfsiod on that 4.x box to something much > higher it would deadlock the same, then, assuming that all else is > equal. Well, I took on that challenge and although it seems that the machine completely hangs itself up for a while, it snaps out of it after it is done. tehethereal tells me it is NFSv3, and the commits increase: baroque:/se3/spiderbak>nfsstat=20 Client Info: Rpc Counts: Getattr Setattr Lookup Readlink Read Write Create Re= move 15272 20119 3401842 82797 548076917 594394 43551 4= 2697 Rename Link Symlink Mkdir Rmdir Readdir RdirPlus Ac= cess 13077 27 11573 2957 2959 17178 0 2493= 8388 Mknod Fsstat Fsinfo PathConf Commit GLease Vacate E= vict 0 61788 14 0 191593 0 0 = 0 Rpc Info: TimedOut Invalid X Replies Retries Requests 0 0 210711 330710 577517143 Cache Info: Attr Hits Misses Lkup Hits Misses BioR Hits Misses BioW Hits Mi= sses 376190541 24213879 94021997 3401840 325304623 545060579 699854 59= 4394 BioRLHits Misses BioD Hits Misses DirE Hits Misses 3051125 82797 88340 17145 42013 0 Server Info: Getattr Setattr Lookup Readlink Read Write Create Re= move 0 0 0 0 0 0 0 = 0 Rename Link Symlink Mkdir Rmdir Readdir RdirPlus Ac= cess 0 0 0 0 0 0 0 = 0 Mknod Fsstat Fsinfo PathConf Commit GLease Vacate E= vict 0 0 0 0 0 0 0 = 0 Server Ret-Failed 0 Server Faults 0 Server Cache Stats: Inprog Idem Non-idem Misses 0 0 0 0 Server Lease Stats: Leases PeakL GLeases 0 0 0 Server Write Gathering: WriteOps WriteRPC Opsaved 0 0 0 baroque:/se3/spiderbak>/home/marcolz/src/writev 100 foo0 nfsstat baroque:/se3/spiderbak>nfsstat Client Info: Rpc Counts: Getattr Setattr Lookup Readlink Read Write Create Re= move 15272 20119 3401879 82797 548082677 607194 43552 4= 2697 Rename Link Symlink Mkdir Rmdir Readdir RdirPlus Ac= cess 13077 27 11573 2957 2959 17178 0 2493= 8698 Mknod Fsstat Fsinfo PathConf Commit GLease Vacate E= vict 0 61788 14 0 193252 0 0 = 0 Rpc Info: TimedOut Invalid X Replies Retries Requests 0 0 210711 331410 577537710 Cache Info: Attr Hits Misses Lkup Hits Misses BioR Hits Misses BioW Hits Mi= sses 376195207 24214181 94022936 3401877 325306477 545066339 699854 60= 7194 BioRLHits Misses BioD Hits Misses DirE Hits Misses 3051125 82797 88340 17145 42013 0 Server Info: Getattr Setattr Lookup Readlink Read Write Create Re= move 0 0 0 0 0 0 0 = 0 Rename Link Symlink Mkdir Rmdir Readdir RdirPlus Ac= cess 0 0 0 0 0 0 0 = 0 Mknod Fsstat Fsinfo PathConf Commit GLease Vacate E= vict 0 0 0 0 0 0 0 = 0 Server Ret-Failed 0 Server Faults 0 Server Cache Stats: Inprog Idem Non-idem Misses 0 0 0 0 Server Lease Stats: Leases PeakL GLeases 0 0 0 Server Write Gathering: WriteOps WriteRPC Opsaved 0 0 0 baroque:/se3/spiderbak> Marc --juZjCTNxrMaZdGZC Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.1 (FreeBSD) iD8DBQFCb+XKezjnobFOgrERAsxsAJ9xsevc8uu5syZyuHU/MkQqB6JgxQCgpNsM qgk7CM3luO2KeEAHXxeNUu4= =UKjC -----END PGP SIGNATURE----- --juZjCTNxrMaZdGZC--