Re: Linux 2.2.5: write() atomic but not fair.

Jim Nance (jnance@nortelnetworks.com)
Tue, 27 Jul 1999 09:08:35 -0400


On Mon, Jul 26, 1999 at 10:28:21PM -0400, Kevin O'Connor wrote:
>
> Specifically, we are porting a program that runs multiple "reader"
> threads that all send output to a single outbound TCP/IP socket. When the
> traffic on this multi-threaded program becomes high, several of the reader
> threads become starved, and only one (or perhaps two) are able to continue
> writing to the outbound socket. The system load on the machine also goes
> up dramatically until it quickly peaks at a solid 1.0 load average.

I think I have a testcase for a similar problem described at:

http://sailboat.mis.uncwil.edu/~jlnance/read.html

Jim

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