On Wednesday 30 January 2002 11:07 am, Richard B. Johnson wrote:
> When I ping two linux machines on a private link, I get 0.1 ms delay.
> When I send large TCP/IP stream data between them, I get almost
> 10 megabytes per second on a 100-base link. Wonderful.
>
> However, if I send 64 bytes from one machine and send it back, simple
> TCP/IP strean connection, it takes 1 millisecond to get it back? There
> seems to be some artifical delay somewhere. How do I turn this OFF?
This is just a guess, but it sounds to me like a scheduling issue. When
you're sending data from one network stack to another, how often the
receiving program scoops data out of the incoming file descriptor isn't too
much of a limiting factor, as long as you've got enough buffer space in the
receiving network stack that the sender doesn't have to pause.
But to bounce the data back, the program at the far end doing the receive and
resend has be woken up and handed a time slice with which to receive,
process, and return the packet.
Have you tried ingo's O(1) scheduler? :)
> Cheers,
> Dick Johnson
Rob
-
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/
This archive was generated by hypermail 2b29 : Thu Jan 31 2002 - 21:01:25 EST