Unsolved
This post is more than 5 years old
1 Rookie
•
22 Posts
0
833
May 25th, 2009 11:00
NFS server UPD or TCP
Hello our company has 2 ns20 one in r/w they other in r only with replication enable from one ns20 to the other ns20
we are currently migrating our linux nfs server to the ns20.
Currently the clients use udp to access nfs servers.
What is the best practice for accesing the ns20 ? tcp or udp ? what are the avantage of both methods
In production we have to revert back to udp because our linux server was no so happy with +- 2000 nfs connection in tcp.
we are currently migrating our linux nfs server to the ns20.
Currently the clients use udp to access nfs servers.
What is the best practice for accesing the ns20 ? tcp or udp ? what are the avantage of both methods
In production we have to revert back to udp because our linux server was no so happy with +- 2000 nfs connection in tcp.
No Events found!


dynamox
11 Legend
•
20.4K Posts
•
87.4K Points
1
May 25th, 2009 11:00
The advantages of using TCP include the following:
Improved connection durability, thus less NFS stale file handles messages.
Performance gain on heavily loaded networks because TCP acknowledges every packet, unlike UDP which only acknowledges completion.
TCP has better congestion control than UDP (which has none). On a very congested network, UDP packets are the first packets that are dropped. This means that if NFS is writing data (in 8K chunks) all of that 8K must be retransmitted over UDP. Because of TCP's reliability, only parts of that 8K data are transmitted at a time.
Error detection. When a TCP connection breaks (due to the server being unavailable) the client stops sending data and restarts the connection process once the server becomes available. With UDP, since it's connection-less, the client continues to pound the network with data until the server reestablishes a connection.
The main disadvantage is that there is a very small performance hit due to the overhead associated with the TCP protocol.
serge_sterck
1 Rookie
•
22 Posts
0
May 25th, 2009 13:00
because indeed i have some issue with computers that are remote since i migrate there homedirectory
from our unix server to the ns20. I've got a lot of retry when i look at the syslog
Rainer_EMC
6 Operator
•
8.6K Posts
0
May 26th, 2009 02:00
these old recommendations for UDP were from a time with slow servers clients
SKT2
2 Intern
•
1.3K Posts
0
May 26th, 2009 18:00
dynamox
11 Legend
•
20.4K Posts
•
87.4K Points
0
May 26th, 2009 20:00
serge_sterck
1 Rookie
•
22 Posts
0
June 22nd, 2009 00:00