From mboxrd@z Thu Jan 1 00:00:00 1970 X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 10c665,1600804756a0bd88 X-Google-Attributes: gid10c665,public X-Google-Thread: fc89c,1600804756a0bd88 X-Google-Attributes: gidfc89c,public X-Google-Thread: 11035d,1600804756a0bd88 X-Google-Attributes: gid11035d,public X-Google-Thread: 10650a,1600804756a0bd88 X-Google-Attributes: gid10650a,public X-Google-Thread: fee84,1600804756a0bd88 X-Google-Attributes: gidfee84,public X-Google-Thread: fb4a0,1600804756a0bd88 X-Google-Attributes: gidfb4a0,public From: interbase@aol.com (Interbase) Subject: Re: Threads on different unix systems Date: 1995/07/14 Message-ID: <3u54j7$if6@newsbf02.news.aol.com>#1/1 X-Deja-AN: 106179388 distribution: inet sender: root@newsbf02.news.aol.com references: <3tupf3$4j3@vtol.jpl.nasa.gov> organization: America Online, Inc. (1-800-827-6364) reply-to: interbase@aol.com (Interbase) newsgroups: comp.unix.internals,comp.unix.sys5.r4,comp.unix.osf.osf1,comp.unix.solaris,comp.unix.unixware,comp.unix.programmer jdickson@vtol.jpl.nasa.gov (Jeff Dickson) writes: .. To overcome the negative effects of disk I/O why not use asynchronous reads .. and writes? The aio_result_t structure whose address is passed to the read .. and write functions and returned by aiowait() could be appended with infor- .. mation that identified the particular thread from which the operation orig- .. inated. Of course not all platforms support asynchronous I/O, but it'd be .. silly to not take advantage of that if it were available. My only knowledge of Async I/O on a unix type system comes from AIX. Other experience comes from MVS and a propprietory OS - OS/32 (Concurrent nee Interdata). In AIX, it seems to be made a pretty heavyweight deal; the process doing it must be a kernel process, and must be resident. For async I/O it's entirely legitimate to pin the data area, but it does seem there is an exposure to a performance penalty for the overall system due to the reduction in pageable main storeage - IMHO (But I did just love BDAM). ========================================================= Interbase (Bryan Batten) 419 Talbert Street Playa del Rey, CA 90293 America Online: Interbase@aol.com Compuserve: 72704.1727@compuserve.com Solutions in distributed and concurrent programming