Re: TCP/IP Speed

Gregory Maxwell (greg@linuxpower.cx)
Wed, 30 Jan 2002 13:24:42 -0500


On Wed, Jan 30, 2002 at 12:07:17PM -0600, Corey Minyard wrote:
> Zwane Mwaikambo wrote:
> >You didn't make that explicit in your previous email, and anyway what kind
> >of resolution can you expect from gettimeofday...
> >
> Depending on the processor, gettimeofday has very high resolution.
> If I remember correctly, the TCP stacks put in delays for small sends so
> they can pack multiple things together. I think there are ways to work
> around this via some type of flush, but memory fails me on exactly how.

Please! People, if you don't know exactly what you are talking about, at
least keep your replies off list.

The problem he's having is caused by nagle, I replied to him off list
because not knowing the API to disable a perfectly standard TCP behavior is
not related to kernel development.

I get enough traffic from this list without having a dozen blind people
trying to lead the blind.

It's great that you are trying to be helpful, but please do it off list,
unless it's actual pertinent to kernel development.

[For future archive searchers: The solution is to set the TCP_NODELAY socket
option]
-
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/