kaio
[Top] [All Lists]

Re: KAIO and sockets?

To: x@xxxxxxxx (Christopher Smith)
Subject: Re: KAIO and sockets?
From: ananth@xxxxxxxxxxxxxxxxxxxx (Rajagopal Ananth)
Date: Wed, 15 Dec 1999 12:19:52 -0800 (PST)
Cc: kaio@xxxxxxxxxxx
In-reply-to: <38556B1C.226055BD@xxxxxxxx> from "Christopher Smith" at Dec 13, 99 01:54:36 pm
Sender: owner-kaio@xxxxxxxxxxx
> 
> Hi there. I've been playing around with KAIO for a few weeks. Seems very
> nice. I noticed it's aio_suspend() behavior is correct (as opposed to
> glibc :-().
> 
> Today I tried using KAIO on a socket. I didn't get any error messages,
> but I also most definitely did not succeed in either my reading or
> writing operations. I understand that I can't possibly get the
> split/phase optimization over ethernet, but I was hoping to be able to
> use KAIO as a generic replacement for Glibc's rather broken AIO. Am I
> doing something wrong or is this just not possible?
> 

I have not looked into using sockets & KAIO ...
KAIO has mostly been tested with disk I/O. On the otherhand,
I can't think of a fundamental reason why sockets won't work;
perhaps some code may need tweaking, like the odd behaviour
we ran into with PIPEs. Is it possible for you send me
a (small) piece of test code that I can use to try out
the socket-KAIO behavior?

thanks!

ananth.

PS: I just returned from a long sabbatical leave, so if any I
    didn't reply to any mail in this forum for the last 6 weeks,
    please resend it.

<Prev in Thread] Current Thread [Next in Thread>