Re: > 15,000 Simultaneous Connections

Jamie Lokier (lkd@tantalophile.demon.co.uk)
Mon, 6 Sep 1999 19:29:29 +0200


Andreas Schwab wrote:
> |> The main cost of select and poll, on the kernel side, is scanning
> |> the fds to see what is ready. The way select and poll are usually
> |> used we want a means to express an interest in an fd and then
> |> receive a stream of "events" as fds change state.
>
> That's what SIGIO is for.

And in case anyone didn't notice, F_SETSIG & SIGIO can be used
efficiently using rt_sigtimedwait. At least in theory :-)
(I haven't tried).

-- Jamie

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