Re: TCP acking too fast

Mika Liljeberg (Mika.Liljeberg@welho.com)
Sun, 14 Oct 2001 12:15:24 +0300


"David S. Miller" wrote:
>
> From: Mika Liljeberg <Mika.Liljeberg@welho.com>
> Date: Sun, 14 Oct 2001 11:39:22 +0300
>
> [Otherwise a sender can force us into a permanent quickack mode
> simply by setting PSH on every segment.]
>
> "A sending TCP can send us garbage so bad that it hinders
> performance."
>
> So, your point is? :-) A sensible sending application, and a sensible
> TCP should not being setting PSH every single segment.

Like apache and linux? :-)

> And we're not
> coding up hacks to make the Linux receiver handle this case better.

By the same logic we could throw away Nagle and SWS avoidance! Whatever
happened to "be conservative in what you send" (i.e. acks, in this
case)?

Frankly, I see no reason for acking PSH segments immediately. What's the
rationale for doing so? Looks like a hack to me...

I don't mean to be a pest, but it would be nice to get some technical
grounds for this behavour, since you're obviously convinced that there
are some. Please?

> You'll have much better luck convincing us to implement ECN black hole
> workarounds :-)

Oh, no. I'm not going to be dragged into that discussion! :) [Do we have
such workarounds for PMTUD detection, I wonder...]

Cheers,

MikaL
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/