From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: f7344,47a06d19e281eb8d X-Google-Attributes: gidf7344,public X-Google-Thread: 1164f8,47a06d19e281eb8d X-Google-Attributes: gid1164f8,public X-Google-Thread: f6134,47a06d19e281eb8d X-Google-Attributes: gidf6134,public X-Google-Thread: 111731,47a06d19e281eb8d X-Google-Attributes: gid111731,public X-Google-ArrivalTime: 1994-03-11 14:38:44 PST Xref: gmd.de comp.org.decus:2943 comp.os.vms:42216 comp.sys.dec:14244 comp.unix.advocacy:1088 Path: gmd.de!newsserver.jvnc.net!nntpserver.pppl.gov!princeton!att-in!csn!magnus.acs.ohio-state.edu!math.ohio-state.edu!cs.utexas.edu!swrinde!elroy.jpl.nasa.gov!nntp-server.caltech.edu!SOL1.GPS.CALTECH.EDU!CARL From: carl@SOL1.GPS.CALTECH.EDU (Carl J Lydick) Newsgroups: comp.org.decus,comp.os.vms,comp.sys.dec,comp.unix.advocacy Subject: Re: Does UNIX do async i/o? Date: 11 Mar 1994 22:38:44 GMT Organization: HST Wide Field/Planetary Camera Distribution: world Message-ID: <2lqrtk$99p@gap.cco.caltech.edu> References: <1994Feb26.204059.4068@mixcom.mixcom.com> <11MAR199400234346@hearts.aces.com> <1994Mar11.144337.13745@inmos.co.uk>,<1994Mar11.190110.20289@integrity.uucp> Reply-To: carl@SOL1.GPS.CALTECH.EDU NNTP-Posting-Host: sol1.gps.caltech.edu In article <1994Mar11.190110.20289@integrity.uucp>, jcrowe@zaphodmpd.tandem.com (Joseph Crowe) writes: = I agree that most UNIX versions at this point do not provide async i/o =capabilities at the user level. My question is....so what? Why should the =user concern h(er|im)self with the intricacies of scatter/gather i/o at =the API level when it automatically gets handled in a hopefully optimal =way on h(er|is) behalf by the kernel and device drivers. Or am I missing =something. You're missing the fact that doing async I/O on most Unix systems is simply impossible. Sure, you could spawn a subprocess for each I/O request you want to make, have each subprocess issue a synchronous I/O request, then signal the parent when it completed. Seems like a fair amount of additional overhead to do something that could be incorporated in the system I/O routines. -------------------------------------------------------------------------------- Carl J Lydick | INTERnet: CARL@SOL1.GPS.CALTECH.EDU | NSI/HEPnet: SOL1::CARL Disclaimer: Hey, I understand VAXen and VMS. That's what I get paid for. My understanding of astronomy is purely at the amateur level (or below). So unless what I'm saying is directly related to VAX/VMS, don't hold me or my organization responsible for it. If it IS related to VAX/VMS, you can try to hold me responsible for it, but my organization had nothing to do with it.