Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.debian.user > #171945
| From | Stefan Monnier <monnier@iro.umontreal.ca> |
|---|---|
| Newsgroups | linux.debian.user |
| Subject | Re: Is nagle disabled? |
| Date | 2016-09-09 18:30 +0200 |
| Message-ID | <sfwQF-5jZ-3@gated-at.bofh.it> (permalink) |
| References | <sfuvv-3us-9@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
> I'm experimenting with TCP to see how long it takes to send a small amount
> of data from A to B. One would expect a latency of a few hundred
> milliseconds, but it's a few hundred microseconds instead. It is as if
> Nagle's algorithm has been disabled.
I suggest you re-read https://en.wikipedia.org/wiki/Nagle's_algorithm
Nagle only kicks in when there are un-acknowledged packets. So on the
first packet, there is no delay. There will be a delay on the *second*
packet if it's small and we haven't yet received confirmation that the
first packet was received.
Stefan
Back to linux.debian.user | Previous | Next — Previous in thread | Next in thread | Find similar | Unroll thread
Is nagle disabled? Rob van der Putten <rob@sput.nl> - 2016-09-09 16:00 +0200
Re: Is nagle disabled? Stefan Monnier <monnier@iro.umontreal.ca> - 2016-09-09 18:30 +0200
Re: Is nagle disabled? Rob van der Putten <rob@sput.nl> - 2016-09-09 20:00 +0200
Re: Is nagle disabled? Rob van der Putten <rob@sput.nl> - 2016-09-10 13:30 +0200
Re: Is nagle disabled? Nicolas George <george@nsup.org> - 2016-09-10 13:40 +0200
Re: Is nagle disabled? Rob van der Putten <rob@sput.nl> - 2016-09-10 14:00 +0200
Re: Is nagle disabled? Nicolas George <george@nsup.org> - 2016-09-10 14:10 +0200
csiph-web