RE: PROBLEM: select() on TCP socket sleeps for 1 tick even if data available

From: David Schwartz (davids@webmaster.com)
Date: Sat Jan 20 2001 - 20:29:29 EST


> ...and I still don't understand why the identical program, but using one
> socket instead of 2 sockets, IS CPU bound, and gets on the order of
> 10K/sec. on the same HW. Diffs to produce 10K/sec. 1 socket version from
> my previous sample follow...

        It's really this simple -- this isn't what TCP is intended for.

        DS

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



This archive was generated by hypermail 2b29 : Tue Jan 23 2001 - 21:00:23 EST