delayed_ack and Nagle's algorithm interaction
Andriy Gapon
avg at FreeBSD.org
Mon Mar 3 15:05:04 UTC 2014
Guys,
my knowledge of TCP and our TCP/IP stack is quite basic.
It seems that we are running into a problem described here or something with
very similar symptoms:
http://www.stuartcheshire.org/papers/NagleDelayedAck/
At least, if I either disable delayed_ack or use TCP_NODELAY option, then the
problem goes away. Otherwise, we see quite significant extra latencies.
Maybe an important detail: the problem is observed for communication between a
local host client and a server in a jail. So, all traffic is local (via
loopback interface).
I have a pcap file that captures the problem.
Ideas, suggestion, etc are welcome.
Thanks!
--
Andriy Gapon
More information about the freebsd-net
mailing list