From: Olof Johansson <olof@austin.ibm.com>
To: Bogdan Costescu <bogdan.costescu@iwr.uni-heidelberg.de>
Cc: trond.myklebust@fys.uio.no, nfs@lists.sourceforge.net
Subject: Re: [PATCH] SVC sockets don't disable Nagle
Date: Wed, 30 Apr 2003 09:58:58 -0500 [thread overview]
Message-ID: <3EAFE4B2.1080707@austin.ibm.com> (raw)
In-Reply-To: <Pine.LNX.4.44.0304301356400.15733-100000@kenzo.iwr.uni-heidelberg.de>
Bogdan Costescu wrote:
> On Tue, 29 Apr 2003, Olof Johansson wrote:
>
>
>>There is a chance that small requests and replies (~100 bytes) will not
>>be aggregated into the same segments but instead sent out separately.
>
> Although I haven't looked at the code recently, I think that what you said
> is true when this is the only request from the client. But what happens
> when there are several requests or when GETATTR calls happen at the same
> time with some data transfer (which is normally the case for a multiuser
> NFS client) ?
This is exactly what I meant. There is a chance that the GETATTR (or
other small request and/or reply) will be sent out in an individual
segment instead of being aggregated. This will give some additional
network overhead, but give latency improvement. Actually, for a busy NFS
connection the small requests/replies will still be aggregated without
Nagle. At least that's what I've been seeing here.
>>In essence, this will result in some additional network overhead due to
>>headers, but the response times will be perceived as faster even for
>>slower networks.
>
> True, until the network becomes too slow, then you see "server not
> responding" messages...
I can't see how disabling Nagle would lead to RPC timeouts:
Lower network overhead during congestion is taken care of automatically:
As the network throughput decreases, TCP segments will be sent out at a
lower pace and/or smaller size (due to window sizes going down). There
will be more time to wait for more data to fill the segment with, even
without having Nagle enabled.
>>I think it would just clutter the documentation and list of options,
>
>
> Yes, but Samba has this option and many others and still lots of people
> are using it :-)
I didn't say that Samba is better than NFS :-)
Seriously: Samba has a configuration file, while NFS needs to stuff all
the options into a line or two of export and/or mount options. Option
bloat is not as big a problem when you have a large configuration file.
>>since I don't forsee any practical scenarios in which anyone would have
>>a positive performance impact from having Nagle enabled.
>
> Well, my previous message included this question: "What is the impact of
> this change for a slower/congested network ?" So I'll rephrase it: do you
> have some data to show that disabling Nagle does not have a negative
> impact ?
No, this would be to prove a negative which is always hard. But the same
reasoning as above regarding congested networks apply. Actually, it
applies to any scenario where the machine can process requests faster
than the network can send the replies.
>>On a side note: As far as I know, most (all?) other NFS implementations
>>out there already disable Nagle.
>
> I didn't say that the other NFS implementations are better than the Linux
> implementation :-)
I'm of the humble opinion that there is still a bit of room for
improvement in the Linux implementation, but it's continuosly getting
better. :-)
-Olof
--
Olof Johansson Office: 4E002/905
pSeries Linux Development IBM Systems Group
Email: olof@austin.ibm.com Phone: 512-838-9858
All opinions are my own and not those of IBM
-------------------------------------------------------
This sf.net email is sponsored by:ThinkGeek
Welcome to geek heaven.
http://thinkgeek.com/sf
_______________________________________________
NFS maillist - NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs
prev parent reply other threads:[~2003-04-30 14:59 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-04-29 22:03 [PATCH] SVC sockets don't disable Nagle Olof Johansson
2003-04-29 22:42 ` Bogdan Costescu
2003-04-30 0:07 ` Olof Johansson
2003-04-30 12:06 ` Bogdan Costescu
2003-04-30 12:45 ` Trond Myklebust
2003-04-30 14:58 ` Olof Johansson [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=3EAFE4B2.1080707@austin.ibm.com \
--to=olof@austin.ibm.com \
--cc=bogdan.costescu@iwr.uni-heidelberg.de \
--cc=nfs@lists.sourceforge.net \
--cc=trond.myklebust@fys.uio.no \
/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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.