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

Re: NFS: Increase performance with option "tcp"



[Ralf Gesellensetter] wrote:
> on the German user list, there has been a thorough discussion about
> performance optimization of NFS. Accordingly, udp (set by default)
> connections are slow due repeated loss of data. Therefor it was
> highly recommended to switch to TCP mode.

I have problems understanding this.  If there are a lot of IP packets
lost, I fail to understand why it is better to leave the resending to
the TCP stack instead of letting the NFS protocol take care of it.
Can anyone explain it?

> Maybe this is worth a wishlist entry?
> 
> /etc/auto.master 
> => append ",tcp" to your option list
> 
> otherwise, mount NFS shares with option "-o tcp".
> 
> Did anybody else try this?

We use TCP mounts to get past firewalls here at the university , but
have not tried it to increase performance.  I do know that it might
help to increase the block size.  Did you try this?

Friendly,
-- 
Petter Reinholdtsen



Reply to: