Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 22 Dec 1997 09:31:41 -0800 (PST)
From:      "J. Weatherbee - Senior Systems Architect" <jamil@acroal.com>
To:        Mike Smith <mike@smith.net.au>
Cc:        hackers@FreeBSD.ORG
Subject:   Re: Am I off my rocker? (/dev/tick device) 
Message-ID:  <Pine.BSF.3.96.971222092648.3294A-100000@acroal.com>
In-Reply-To: <199712220950.UAA00717@word.smith.net.au>

next in thread | previous in thread | raw e-mail | index | archive | help
> > 2) On the vectorized i/o, think about processes multiplexing
> > with say 1000 - 2000 descriptors.
> 
> So?  Async I/O is *more* efficient, not less.

It is not an issue of asynchronous versus synchronous i/o.  As in both
cases you are still going to need to use a select() or poll() call (in the
signal handler).   Rather, it is an issue of going through the call gate x
number of times, in the case of a large number of descriptors.  And aside
from that (mikey) signals are expensive to catch [Leffler et al. 1989]
(Check Richard Stevens, Unix Network Programming, 1990, p. 328.







Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.971222092648.3294A-100000>