Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 26 Jan 2014 19:23:38 -0800
From:      John-Mark Gurney <jmg@funkthat.com>
To:        Rick Macklem <rmacklem@uoguelph.ca>
Cc:        freebsd-net@freebsd.org, Adam McDougall <mcdouga9@egr.msu.edu>
Subject:   Re: Terrible NFS performance under 9.2-RELEASE?
Message-ID:  <20140127032338.GP13704@funkthat.com>
In-Reply-To: <1629593139.16590858.1390789014324.JavaMail.root@uoguelph.ca>
References:  <52DC1241.7010004@egr.msu.edu> <1629593139.16590858.1390789014324.JavaMail.root@uoguelph.ca>

next in thread | previous in thread | raw e-mail | index | archive | help
Rick Macklem wrote this message on Sun, Jan 26, 2014 at 21:16 -0500:
> Btw, thanks go to Garrett Wollman for suggesting the change to MJUMPAGESIZE
> clusters.
> 
> rick
> ps: If the attachment doesn't make it through and you want the patch, just
>     email me and I'll send you a copy.

The patch looks good, but we probably shouldn't change _readlink..
The chances of a link being >2k are pretty slim, and the chances of
the link being >32k are even smaller...

In fact, we might want to switch _readlink to MGET (could be conditional
upon cnt) so that if it fits in an mbuf we don't allocate a cluster for
it...

-- 
  John-Mark Gurney				Voice: +1 415 225 5579

     "All that I will do, has been done, All that I have, has not."



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