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
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
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