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
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
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
* 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
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
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
6 matches
Mail list logo