Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.debian.user > #171979

Re: Is nagle disabled?

From Nicolas George <george@nsup.org>
Newsgroups linux.debian.user
Subject Re: Is nagle disabled?
Date 2016-09-10 14:10 +0200
Message-ID <sfPgC-8sU-3@gated-at.bofh.it> (permalink)
References (1 earlier) <sfwQF-5jZ-3@gated-at.bofh.it> <sfyfL-61P-15@gated-at.bofh.it> <sfODT-80s-1@gated-at.bofh.it> <sfONz-83y-5@gated-at.bofh.it> <sfP6W-89P-23@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


[Multipart message — attachments visible in raw view] - view raw

Le quintidi 25 fructidor, an CCXXIV, Rob van der Putten a écrit :
> I use netcat6. From man nc;
> nc6 --continuous --exec cat -l -p <port>
> So the data goes from nc to cat and then back to nc.
> 
> Timestamps (epoch.microseconds) are dumped to a file on transmission and to
> an other file on reception of the 'echo'. Further check with tcpdump.
> Experiment on LAN and experiment over DSL;
> When the time between the bits of data is larger then the RTT, data is send
> at two bytes per TCP packet.

With that kind of test, the reply comes immediately, the ACK is bundled with
the reply, therefore making delayed ACK invisible.

The way you implemented the echo server, with several applications
communicating with each other, is irrelevant because it is all invisible to
the network stack.

If you want to observe delayed ACK, you need to use a kind of server where
the reply does not come immediately in the same TCP stream. A discard server
would be the simplest example.

Regards,

-- 
  Nicolas George

Back to linux.debian.user | Previous | Next — Previous in thread | Find similar | Unroll thread


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