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

2002-01-19 Thread Alan L. Cox
k Macy wrote: 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

-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

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