Mostly.
That's not the problem I'm talking about here. The problem I'm seeing
is that if your burst of messages is too small to fill the MTU, the
network stack will just sit there and stare at you for precisely 40 ms
(an eternity for a financial app) before transmitting. Andi may be
correct that it's actually the delayed ACK we're seeing, but I can't
figure out where that 40 ms magic number is coming from.
The easiest way to see the problem is to open a TCP socket to an echo
daemon on loopback, make a bunch of small writes totaling less than your
loopback MTU (accounting for overhead), and see how long it takes to get
your echoes. You can probably do this with netcat, though I haven't
tried. People don't expect loopback to have 40 ms latency when the box
is lightly loaded, so they'd really like to tweak that down when it's
hurting them.
-- Chris
--
To unsubscribe from this list: send the line "unsubscribe netdev" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html