Re: Signal driven IO

Alan Cox (alan@lxorguk.ukuu.org.uk)
Wed, 17 Nov 1999 00:08:09 +0000 (GMT)


> No. Switch to poll when enough fds are ready per loop. You want the queue
> size to be set such that you are using signals most of the time, but if you
> should fall behind, and have large numbers of fds ready, you can use the
> more efficient 'mass' poll system call.

Benchmark it for your application. For web and ftp traffic the I/O signals
are a clear winner.

Alan

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