Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Apr 2005 19:15:23 +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:  <20050427171523.GB5984@stack.nl>
In-Reply-To: <20050427160857.GF5789@green.homeunix.org>
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>

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

--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
> <http://green.homeunix.org/~green/nfs_client.deadlock.patch>;
> <http://green.homeunix.org/~green/nfs_client.deadlock.HEAD.patch>;

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--



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