Boston Linux & UNIX was originally founded in 1994 as part of The Boston Computer Society. We meet on the third Wednesday of each month at the Massachusetts Institute of Technology, in Building E51.

BLU Discuss list archive


[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Discuss] NFS mounts



Dan Ritter wrote:
> aldo albanese wrote:
>> ...in one article someone suggested to use TCP instead in the syntax instead of UDP.
> 
> In /etc/fstab:
> 
> hostname:/share	    /local/mountpoint	nfs ro,tcp,rsize=1048576 1 1
> 
> Assuming a readonly mount for large media files.

So rsize=1048576 is going to increase efficiency for large files, but
what's the advantage for using TCP instead of UDP? Presumably NFS
already has an error correcting layer on top of UDP. And when it comes
to performance, usually UDP is superior, which is why it gets used in
most real-time protocols.

How about mounting it read-only? Just good security practice if
read-write isn't needed, or does that gain you some performance as well?

 -Tom

-- 
Tom Metro
The Perl Shop, Newton, MA, USA
"Predictable On-demand Perl Consulting."
http://www.theperlshop.com/



BLU is a member of BostonUserGroups
BLU is a member of BostonUserGroups
We also thank MIT for the use of their facilities.

Valid HTML 4.01! Valid CSS!



Boston Linux & Unix / webmaster@blu.org