From: Helge Hafting <helge.hafting@aitel.hist.no>
To: Bret Towe <magnade@gmail.com>
Cc: Neil Brown <neilb@suse.de>,
Jan Engelhardt <jengelh@linux01.gwdg.de>,
linux-kernel <linux-kernel@vger.kernel.org>
Subject: Re: nfs udp 1000/100baseT issue
Date: Fri, 17 Mar 2006 10:13:09 +0100 [thread overview]
Message-ID: <441A7DA5.7070303@aitel.hist.no> (raw)
In-Reply-To: <dda83e780603161911o7c2babb7wfc6671f9bc3441e4@mail.gmail.com>
Bret Towe wrote:
>On 3/16/06, Neil Brown <neilb@suse.de> wrote:
>
>
>>There is no flow control in UDP
>>
>>
>
>is this a linux design flaw or just nature of udp?
>
>
That has nothing to do with linux at all.
"Now flow control in udp" is a udp design issue. And it is not
a flaw either - the rule is simple:
If you need flow control - use tcp.
If you don't need flow control, and don't want the
overhead of flow control - use udp.
Udp is for those cases where flow control is consideres a waste of time.
Now, the original decision to base early NFS on udp, that was
a design mistake. Again, not a linux problem but a nfs problem.
Fortunately, today a solution for this exists and is implemented
in linux - and it is nfs over tcp.
>>. If anything gets lots, the client
>>has to resend the request, and the server then has to respond again.
>>If the respond is large (e.g. a read) and gets fragmented (if > 1500bytes)
>>then there is a good chance that one or more fragments of a reply will
>>get lots in the switch stepping down from 1G to 100M. Every time.
>>
>>Your options include:
>>
>> - use tcp
>>
>>
>
>im wondering why this isnt the default to begin with
>
>
Hard to say. I guess someone thought they could get better
performance with udp - it has less overhead.,
Then didn't bother testing this idea with a somewhat congested network?
Helge Hafting
next prev parent reply other threads:[~2006-03-17 9:13 UTC|newest]
Thread overview: 10+ messages / expand[flat|nested] mbox.gz Atom feed top
2006-03-15 22:24 nfs udp 1000/100baseT issue Bret Towe
2006-03-16 20:41 ` Jan Engelhardt
2006-03-17 1:33 ` Bret Towe
2006-03-17 2:20 ` Neil Brown
2006-03-17 3:11 ` Bret Towe
2006-03-17 3:41 ` Neil Brown
2006-03-17 4:13 ` Lee Revell
2006-03-17 9:13 ` Helge Hafting [this message]
2006-03-17 11:18 ` Andrew Morton
2006-03-17 15:53 ` Trond Myklebust
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=441A7DA5.7070303@aitel.hist.no \
--to=helge.hafting@aitel.hist.no \
--cc=jengelh@linux01.gwdg.de \
--cc=linux-kernel@vger.kernel.org \
--cc=magnade@gmail.com \
--cc=neilb@suse.de \
/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