From owner-freebsd-current Mon Dec 1 14:14:50 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id OAA25272 for current-outgoing; Mon, 1 Dec 1997 14:14:50 -0800 (PST) (envelope-from owner-freebsd-current) Received: from ns.mt.sri.com (sri-gw.MT.net [206.127.105.141]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id OAA25264 for ; Mon, 1 Dec 1997 14:14:47 -0800 (PST) (envelope-from nate@mt.sri.com) Received: from mt.sri.com (rocky.mt.sri.com [206.127.76.100]) by ns.mt.sri.com (8.8.8/8.8.8) with SMTP id PAA22977; Mon, 1 Dec 1997 15:14:15 -0700 (MST) (envelope-from nate@rocky.mt.sri.com) Received: by mt.sri.com (SMI-8.6/SMI-SVR4) id PAA12892; Mon, 1 Dec 1997 15:14:12 -0700 Date: Mon, 1 Dec 1997 15:14:12 -0700 Message-Id: <199712012214.PAA12892@mt.sri.com> From: Nate Williams MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit To: "John S. Dyson" Cc: nate@mt.sri.com (Nate Williams), current@FreeBSD.ORG Subject: Re: FYI: usage of new AIO calls In-Reply-To: <199712012202.RAA07400@dyson.iquest.net> References: <199712012154.OAA12784@mt.sri.com> <199712012202.RAA07400@dyson.iquest.net> X-Mailer: VM 6.29 under 19.15 XEmacs Lucid Sender: owner-freebsd-current@FreeBSD.ORG X-Loop: FreeBSD.org Precedence: bulk > > One more question. AIO == Asynchronous I/O, but LIO? > > > AIO == Asynchronous I/O. > LIO == List (directed) I/O. > > LIO essentially allows for multiple AIO requests to be batched into > a single system call. It is kind of like writev/readv, except you > can intermix read and write system calls with LIO. With LIO, you can > specify a signal to post when it is fully done. signanosleep(2) is > especially useful in conjunction with LIO. Cool, but it sounds pretty complicated to keep straight. I suppose it's a bit more effecient than multiple AIO calls, but I'd be the type that would do multiple calls at first just because my head would get all screwed up if I tried making LIO effecient. :) Nate