From: Trond Myklebust <trond.myklebust@fys.uio.no>
To: Jamie Lokier <jamie@shareable.org>
Cc: Trond Myklebust <trond.myklebust@fys.uio.no>,
linux-kernel@vger.kernel.org
Subject: Re: NFS client problems in 2.4.18 to 2.4.20
Date: Sun, 7 Sep 2003 12:03:40 -0400 [thread overview]
Message-ID: <16219.22236.521008.199583@charged.uio.no> (raw)
In-Reply-To: <20030907154238.GK19977@mail.jlokier.co.uk>
>>>>> " " == Jamie Lokier <jamie@shareable.org> writes:
>> This is not an issue for tapes, etc. NFS has an alternative
>> mechanisms for dealing with this in the form of the
>> NFSERR_JUKEBOX error.
> Oh, cool. Perhaps the server should send these automatically,
> when I/O operations are taking a little bit too long?
Yes. Needs a patch to knfsd, but would be very useful for people that
want to export tapes, CD exchangers, etc...
>> By setting 'retrans=6' (5 + 1 to compensate for the bug),
>> therefore, people can ensure that we retry for at least 6
>> seconds before timing out. The question is: is this an adequate
>> default?
> That would be a big improvement. I take it you have
> effectively clamped the retransmit time at a minimum of 1/10
> second, then? (I didn't understand what you meant earlier).
Yes. When we calculate the timeout value, we add the estimated error*4
to the estimated round trip time. I've set a floor on the former value
so that the minumum timeout will be 1/10second.
> Last time I used a soft mount, I was seeing the first
> retransmit after some time smaller than a millisecond. (I
> don't remember, but 0.1ms sounds about right). If that is the
> retransmit time, then retrans=6 won't be enough - retrans=16
> would be needed. I don't think a good correct retrans=xxx
> setting should depend on the network like that. Setting a
> minimum retransmit time is one way to fix that.
It is already in 2.6.0. I'm expecting to put it into 2.4.23 too, but I
want to know that this (together with a patch to 'mount' to change the
retrans default) really does solve the problem for people...
Cheers,
Trond
next prev parent reply other threads:[~2003-09-07 16:03 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-09-05 20:44 Joshua Weage
2003-09-05 21:51 ` Trond Myklebust
2003-09-06 16:29 ` Joshua Weage
2003-09-06 17:09 ` Trond Myklebust
2003-09-06 21:22 ` Joshua Weage
2003-09-06 23:14 ` Jamie Lokier
2003-09-07 1:54 ` Trond Myklebust
2003-09-07 2:02 ` Trond Myklebust
2003-09-07 14:27 ` Jamie Lokier
2003-09-07 15:18 ` Trond Myklebust
2003-09-07 15:42 ` Jamie Lokier
2003-09-07 16:03 ` Trond Myklebust [this message]
2003-09-10 18:37 ` Wouter Vlothuizen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=16219.22236.521008.199583@charged.uio.no \
--to=trond.myklebust@fys.uio.no \
--cc=jamie@shareable.org \
--cc=linux-kernel@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox
all inboxes | Powered by JetHome®