Re: POSIX aio vs completion ports

Alan Cox (alan@lxorguk.ukuu.org.uk)
Mon, 13 Sep 1999 10:28:34 +0100 (BST)


> > > alan, you can detect an overflow, but recovering from one is another
> > > matter.
> >
> > poll()
>
> Well, that brings the discussion full circle. It started with the performance
> limitations of poll() with lots of fds, and now poll() is presented as a
> solution to a solution. There's a hole in my bucket, dear Lisa, dear Lisa.....

However

1. A properly tuned system doesn't run out of signal queue space, so
the poll case almost never occurs.
2. If it does then probably most ports have events anyway so poll
is no more than annoying, as is checking each port

So we go very fast 99.99% of the time. I can live with 1 in 10,000 buckets
having a leak..

-
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/