Date: Mon, 23 Jul 2012 00:51:43 -0700 From: Julian Elischer <julian@freebsd.org> To: Robert Watson <rwatson@freebsd.org> Cc: Matthew Jacob <mj@feral.com>, freebsd-arch@freebsd.org Subject: Re: aio in GENERIC? Message-ID: <500D028F.2040904@freebsd.org> In-Reply-To: <alpine.BSF.2.00.1207221752310.83786@fledge.watson.org> References: <3CE55F29-A5B2-44A7-8854-1ED38BAE6F16@FreeBSD.org> <50075072.5050906@gmail.com> <500752CD.9030107@feral.com> <alpine.BSF.2.00.1207221752310.83786@fledge.watson.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On 7/22/12 9:53 AM, Robert Watson wrote: > > On Wed, 18 Jul 2012, Matthew Jacob wrote: > >> What practically does aio offer that is not achieved via pthreads >> other than slightly simpler code? > > Although the VFS side of the AIO code blocks kernel threads during > in-progress I/O, the socket side is able to do fully asynchronous > I/O down the stack without committing a kernel thread to it. As > such, it probably is actually significantly more scalable, allowing > larger numbers of simultaneous outstanding I/Os in the network > layer, and more efficiently than simply using threads. this is the reason that the cisco web security appliance uses aio and kevent but is generally not threaded... > > Robert > _______________________________________________ > freebsd-arch@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-arch > To unsubscribe, send any mail to "freebsd-arch-unsubscribe@freebsd.org" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?500D028F.2040904>