Re: NFS server not responding

Steve Dickson
2003-12-04T19:10:48Z

[-- Attachment #1: Type: text/plain, Size: 769 bytes --]

Trond Myklebust wrote:

>>>>>>" " == Steve Dickson <SteveD@redhat.com> writes:
>>>>>>
>>>>>>
>
> > linux-2.4.20-nfs-ia64-EIO.patch - increase RPC_RTO_MIN to
> > HZ/30
>
>Err.. That's a decrease...
>
>
Well... it was in increase at the time I posted the patch.
If remember correctly... there was actually some discussion
that 1/30th of a second was a bit too long...

>You are setting the minimum timeout value at 1/30th of a second
>instead of 1/10th of a second.
>
>
Right... I did miss this "minor" detail when I did the port....

>This might indeed explain why people are seeing an increase in resends
>and 'server not responding' messages.
>
>
Most definitely... Here is the patch that should take care of the problem...

SteveD.

[-- Attachment #2: linux-2.4.33-nfs-rtomin.patch --]
[-- Type: text/plain, Size: 336 bytes --]

--- linux-2.4.22/net/sunrpc/timer.c.org 2003-12-04 10:47:01.000000000 -0500
+++ linux-2.4.22/net/sunrpc/timer.c 2003-12-04 13:46:01.000000000 -0500
@@ -8,7 +8,7 @@

#define RPC_RTO_MAX (60*HZ)
#define RPC_RTO_INIT (HZ/5)
-#define RPC_RTO_MIN (HZ/30)
+#define RPC_RTO_MIN (HZ/10)

void
rpc_init_rtt(struct rpc_rtt *rt, long timeo)