- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- NFS timeo values
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-02-2006 08:40 AM
тАО02-02-2006 08:40 AM
----------------------------------------
From the HP website ( http://docs.hp.com/en/5991-1811/ch02s03.html#bghdijij
)
----------------------------------------
The timeout, in tenths of a second, for NFS requests (read and write requests to mounted directories). If an NFS request times out, this timeout value is doubled, and the request is retransmitted. After the NFS request has been retransmitted the number of times specified by the retrans option (see below), a soft mount returns an error, and a hard mount retries the request. The maximum timeo value is 30 (3 seconds).
Try doubling the timeo value if you see several server not responding messages within a few minutes. This can happen because you are mounting directories across a gateway, because your server is slow, or because your network is busy with heavy traffic.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-02-2006 09:17 AM
тАО02-02-2006 09:17 AM
SolutionAre you using NFS over UDP or TCP? Timeouts are handled differently based on the transport protocol you're using.
Dave
I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-07-2006 12:27 AM
тАО02-07-2006 12:27 AM
Re: NFS timeo values
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-07-2006 03:14 AM - last edited on тАО06-18-2021 04:25 AM by Ramya_Heera
тАО02-07-2006 03:14 AM - last edited on тАО06-18-2021 04:25 AM by Ramya_Heera
Re: NFS timeo values
Hi Dean,
In my opinion, the timeo option should *never* be used with NFS/TCP mounts.
One of the main benefits of using a reliable transport like TCP is the automatic handling of data that is not responded to in a timely manner. TCP uses sequence and acknowledgement numbers, scaling windows and intelligent backoff algorithms to ensure that if a packet is lost between the client and server systems it will be retransmitted in a very timely fashion - usually based on the calculated round-trip time on the specific connection.
This is a far more accurate and sensible mechanism to use than a hard-coded timeout value.
The timeo mount option was developed in the early days of NFS, when the only supported transport was UDP. Since UDP is inherently unreliable and makes no guarantees of data delivery, any application using UDP (in this case, NFS) needed to be responsible for handling situations where data didn't make it from systemA to systemB. This is why NFS uses a request/reply design, where if a request is sent and not replied to in a reasonable amount of time it is the client's responsibility to resend the request. The thinking was that since UDP didn't guarantee delivery, there was no way to know whether the request ever made it to the destination.
With TCP, the transport protocol is designed to acknowledge the receipt of data, so TCP knows when a request, or a response to that request, has been fully "received" by the remote system. Again, this built-in functionality negates the need for a timeo option.
The *danger* of using a timeo option with NFS/TCP is that it can still affect the overall behavior of an NFS/TCP filesystem, and in most cases will very negatively affect the behavior and performance.
When used with NFS/TCP, the timeo option really means "I don't care how much data has been sent or acknowledged for this request, when my timer pops you will re-send the entire request from the beginning". If the request was something small like a LOOKUP or GETATTR this isn't a big deal. However, when this is a READ or WRITE or READDIRPLUS request where there is potentially 32KB of data (and in the future potentially much more than 32KB of data) in a request or reply packet, this tells the client or server - resend the entire payload.
This can be very damaging to performance - especially in situations where the network or the server is under heavy load. If the network or server is overloaded, this would explain why requests/replies are taking a long time. By using the timeo option and overriding the TCP graceful retransmission algorithms, you can make a bad situation much worse by forcing the systems to re-send chunks of data that had already successfully made it from systemA to systemB - thereby making the network and server even more overloaded.
That's the brief explanation of why I hate the timeo option.
For more details on timeo and the potential negative effects it can have on NFS/TCP, pick up a copy of my book: "Optimizing NFS Performance" published by Prentice Hall.
I also included a discussion of the timeo option in my NFS Performance techcnial paper found here:
http://docs.hp.com/en/1435/NFSPerformanceTuninginHP-UX11.0and11iSystems.pdf
Hope this helps,
Dave
I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-07-2006 03:18 AM
тАО02-07-2006 03:18 AM
Re: NFS timeo values
This could be helpful,
http://www.unix.org.ua/orelly/networking_2ndEd/nfs/ch18_01.htm
-Arun