Account Links: Cart | Your Account | Logout

Skip to content

Red Hat Knowledgebase

Red Hat Knowledgebase Search:

Updated Within the Last:

New Solutions within the last day New Solutions within the last week New Solutions within the last month

Browse by topics:


Click to View a Topic
Red Hat Enterprise Linux > AS/ES/WS Basics > Issue <<  300 of 902 >>

Solution Tools:


Email a Solution Postcard Printer version Submit a comment on this answer Update notifications Request an answer Back

Article Reference

Article ID: 7490
Last update: 01-06-06
Issue:
Should I use TCP or UDP as a network transport protocol for NFS?
Resolution:

NFS version 3 and above allow for either TCP and UDP to be the transport protocol for NFS data.

The choice of protocol to use depends on the network conditions. The advantages of using either for using a specific protocol are outlined below.

Advantages of UDP: UDP traditionally uses less CPU and network overhead than TCP.

Advantages of TCP: NFS over TCP handles multi speed networks more efficiently (networks where the links connecting the server and the client use different speeds).

When using NFS over high latency links or links with higher levels of packet loss and congestion, the TCP protocol allows routers to be able to retransmit the lost or out of order packets, rather than the originating host.

Conclusion

The TCP protocol is considered a sensible choice for both performance and reliability across most network situations. A possible downside is that TCP may be more processor (CPU) intensive. Unless CPU usage becomes an issue, consider configuring the clients to mount the NFS server using TCP.


How well did this entry answer your question?


good wrong incomplete out of date
Red Hat Enterprise Linux > AS/ES/WS Basics > Issue <<   300  of  902  >>