From: Trond Myklebust <trond.myklebust@fys.uio.no>
To: Caleb Epstein <cae@bklyn.org>
Cc: linux-kernel@vger.kernel.org
Subject: Re: NFS client code slow in 2.4.3
Date: 03 Apr 2001 22:00:47 +0200 [thread overview]
Message-ID: <shsn19xpxcg.fsf@charged.uio.no> (raw)
In-Reply-To: <20010403145615.C1049@hagrid.bklyn.org> <20010403150852.A1310@hagrid.bklyn.org>
In-Reply-To: Caleb Epstein's message of "Tue, 3 Apr 2001 15:08:52 -0400"
>>>>> " " == Caleb Epstein <cae@bklyn.org> writes:
> On Tue, Apr 03, 2001 at 02:56:15PM -0400, Caleb Epstein wrote:
>> I am having problems with timeouts and generaly throughput in
>> the 2.4.3 NFS client side code which are not present in the
>> 2.4.2 kernel running in the same configuraiton on the same
>> hardware. The machines are on a 100 Mbit switched local
>> network with essentially no other trafic.
> On second thought, it looks like 2.4.2 may also exhibit the
> same behaviro after a little while. Now that the machine has
> been up for a half hour or so, NFS traffic has become slow on
> my 2.4.2 client again. I am seeing messages like this in my
> kernel log:
> Apr 3 15:01:54 hagrid kernel: nfs: server tela not responding,
> still trying Apr 3 15:01:54 hagrid kernel: nfs: server tela OK
The above is a generic message that simply is stating that NFS traffic
is congested because the server isn't responding for whatever reason.
In 99% of all cases, this means that the server is not seeing all the
packets that the client is sending it. This forces the client to
throttle back the number of requests it can have on the fly, and then
to wait until the given packet times out, and then to resend.
Try checking whether or not the server is seeing all the packets that
the client is sending by comparing the output of tcpdump/ethereal
between the client and the server.
If the packet loss is large, try fiddling with the hardware: typically
stuff such as overriding the NIC autoconfiguration, swapping the NIC,
checking for noisy cables,...
If you're unable to trace the problem, try playing around with
rsize/wsize, timeo and retrans (man 5 nfs). The smaller the packet,
the less the chances are of UDP fragments getting lost.
You might also want to try out the NFS ping patch from
http://www.fys.uio.no/~trondmy/src/2.4.2
Cheers,
Trond
prev parent reply other threads:[~2001-04-03 20:01 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-04-03 18:56 NFS client code slow in 2.4.3 Caleb Epstein
2001-04-03 19:08 ` Caleb Epstein
2001-04-03 20:00 ` Trond Myklebust [this message]
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=shsn19xpxcg.fsf@charged.uio.no \
--to=trond.myklebust@fys.uio.no \
--cc=cae@bklyn.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