Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Apr 2005 22:08:45 +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:  <20050427200845.GG6256@stack.nl>
In-Reply-To: <20050427194144.GC39270@green.homeunix.org>
References:  <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> <20050427191938.GE6256@stack.nl> <20050427194144.GC39270@green.homeunix.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--l06SQqiZYCi8rTKz
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Wed, Apr 27, 2005 at 03:41:44PM -0400, Brian Fundakowski Feldman wrote:
> Alright, thanks for testing.  So the same bug exists in 4.x but may
> not actually deadlock the buffer cache in the same circumstances.
> If you feel like playing with it anymore, I would expect a certain
> write block size, maximum nfsiod, and total file size being written
> wouldn't be too hard to find that would deadlock 4.x, too.

20 is the maximum number it is willing to start. 21 and above it tells
me:

baroque:~# nfsiod -n 21 =20
nfsiod: nfsiod count 21; reset to 1
baroque:~#

:-P

Btw.: CPU time was nicely divided amoungst all of the nfsiod's when
doing the writev:

root    87373  0.0  0.0   212   32  ??  I     9:11PM   0:00.18 nfsiod -n 20
root    87372  0.0  0.0   212   32  ??  I     9:11PM   0:00.16 nfsiod -n 20
root    87371  0.0  0.0   212   32  ??  I     9:11PM   0:00.16 nfsiod -n 20
root    87370  0.0  0.0   212   32  ??  I     9:11PM   0:00.18 nfsiod -n 20
root    87369  0.0  0.0   212   32  ??  I     9:11PM   0:00.18 nfsiod -n 20
root    87368  0.0  0.0   212   32  ??  I     9:11PM   0:00.19 nfsiod -n 20
root    87367  0.0  0.0   212   32  ??  I     9:11PM   0:00.18 nfsiod -n 20
root    87366  0.0  0.0   212   32  ??  I     9:11PM   0:00.18 nfsiod -n 20
root    87365  0.0  0.0   212   32  ??  I     9:11PM   0:00.17 nfsiod -n 20
root    87364  0.0  0.0   212   32  ??  I     9:11PM   0:00.17 nfsiod -n 20
root    87363  0.0  0.0   212   32  ??  I     9:11PM   0:00.19 nfsiod -n 20
root    87362  0.0  0.0   212   32  ??  I     9:11PM   0:00.19 nfsiod -n 20
root    87361  0.0  0.0   212   32  ??  I     9:11PM   0:00.20 nfsiod -n 20
root    87360  0.0  0.0   212   32  ??  I     9:11PM   0:00.20 nfsiod -n 20
root    87359  0.0  0.0   212   32  ??  I     9:11PM   0:00.20 nfsiod -n 20
root    87358  0.0  0.0   212   32  ??  I     9:11PM   0:00.19 nfsiod -n 20
root    87357  0.0  0.0   212   32  ??  I     9:11PM   0:00.19 nfsiod -n 20
root    87356  0.0  0.0   212   32  ??  I     9:11PM   0:00.21 nfsiod -n 20
root    87355  0.0  0.0   212   32  ??  I     9:11PM   0:00.21 nfsiod -n 20
root    87354  0.0  0.0   212   32  ??  I     9:11PM   0:00.23 nfsiod -n 20

Marc

--l06SQqiZYCi8rTKz
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.1 (FreeBSD)

iD4DBQFCb/FNezjnobFOgrERAvfKAJd7ow0t5RM5+/fbiwGmLY7QMs0OAJ4nJBPp
yaelwq1g2vhvoom39f+U8g==
=JjqR
-----END PGP SIGNATURE-----

--l06SQqiZYCi8rTKz--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050427200845.GG6256>