NFS server bottlenecks
Rick Macklem
rmacklem at uoguelph.ca
Sat Oct 13 02:06:01 UTC 2012
I wrote:
> Oops, I didn't get the "readahead" option description
> quite right in the last post. The default read ahead
> is 1, which does result in "rsize * 2", since there is
> the read + 1 readahead.
>
> "rsize * 16" would actually be for the option "readahead=15"
> and for "readahead=16" the calculation would be "rsize * 17".
>
> However, the example was otherwise ok, I think? rick
I've attached the patch drc3.patch (it assumes drc2.patch has already been
applied) that replaces the single mutex with one for each hash list
for tcp. It also increases the size of NFSRVCACHE_HASHSIZE to 200.
These patches are also at:
http://people.freebsd.org/~rmacklem/drc2.patch
http://people.freebsd.org/~rmacklem/drc3.patch
in case the attachments don't get through.
rick
ps: I haven't tested drc3.patch a lot, but I think it's ok?
> _______________________________________________
> freebsd-hackers at freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
> To unsubscribe, send any mail to
> "freebsd-hackers-unsubscribe at freebsd.org"
-------------- next part --------------
A non-text attachment was scrubbed...
Name: drc2.patch
Type: text/x-patch
Size: 1489 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20121012/8d2dd26f/attachment.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: drc3.patch
Type: text/x-patch
Size: 15100 bytes
Desc: not available
URL: <http://lists.freebsd.org/pipermail/freebsd-hackers/attachments/20121012/8d2dd26f/attachment-0001.bin>
More information about the freebsd-hackers
mailing list