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 so they cause

the entire process to block.

I'm trying to use kevent because using AIO with
signals 
doesn't appear to work with threads as the siginfo_t 
passed to the signal handler doesn't get filled out
in spite of the fact that SA_SIGINFO is being set.

If no one has any ideas I'll file a PR with the code
that demonstrates the various bugs. 

I'm running 20010106-CURRENT.

                        -Kip

__________________________________________________
Do You Yahoo!?
Send FREE video emails in Yahoo! Mail!
http://promo.yahoo.com/videomail/

To Unsubscribe: send mail to [EMAIL PROTECTED]
with "unsubscribe freebsd-hackers" in the body of the message

Reply via email to