Date: Wed, 27 Apr 2005 21:19:38 +0200 From: Marc Olzheim <marcolz@stack.nl> To: Brian Fundakowski Feldman <green@freebsd.org> Cc: freebsd-stable@freebsd.org Subject: Re: NFS client/buffer cache deadlock Message-ID: <20050427191938.GE6256@stack.nl> In-Reply-To: <20050427190627.GB39270@green.homeunix.org> 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>
next in thread | previous in thread | raw e-mail | index | archive | help
--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--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050427191938.GE6256>