-CURRENT AIO bug Re: How well does EVFILT_AIO work?

2002-01-17 Thread k Macy
It turns that this problem is specific to AIO in -CURRENT. I wrote a simple program that uses the three different completion mechanisms (polling with aio_error, polling with kevent, and using SIGIO) to fill up a file by writing 8kb at a time to the file and then reading 8kb at a time from the

Re: How well does EVFILT_AIO work?

2002-01-13 Thread Doug White
On Sat, 12 Jan 2002, k Macy wrote: Has anybody used AIO in conjunction with kevent? I am seeing as much as a 12 second latency between when I do an 8k aio_write to a file on local disk and kevent returning its completion (I'm calling kevent every ~20ms). Using regular writes works fine, but

Re: How well does EVFILT_AIO work?

2002-01-13 Thread Julian Elischer
the threads package doesn't do file IO asynchronoulsy in fact there ahve been several people threatenning to use AIO to make the threads package to that asychronously too. On Sun, 13 Jan 2002, Doug White wrote: On Sat, 12 Jan 2002, k Macy wrote: Has anybody used AIO in conjunction with

Re: How well does EVFILT_AIO work?

2002-01-13 Thread Alfred Perlstein
* Julian Elischer [EMAIL PROTECTED] [020113 16:20] wrote: the threads package doesn't do file IO asynchronoulsy in fact there ahve been several people threatenning to use AIO to make the threads package to that asychronously too. ;) SIGFAULT as well. :) -Alfred To Unsubscribe: send mail to

Re: How well does EVFILT_AIO work?

2002-01-13 Thread Terry Lambert
Julian Elischer wrote: the threads package doesn't do file IO asynchronoulsy in fact there ahve been several people threatenning to use AIO to make the threads package to that asychronously too. Which is incredibly funny, if you think about it, since there are two ways to implement a call

How well does EVFILT_AIO work?

2002-01-12 Thread k Macy
Has anybody used AIO in conjunction with kevent? I am seeing as much as a 12 second latency between when I do an 8k aio_write to a file on local disk and kevent returning its completion (I'm calling kevent every ~20ms). Using regular writes works fine, but this is a multi-threaded application