1833174 Members
3103 Online
110051 Solutions
New Discussion

Re: Programming KAIOs

 
Christof Schoeman
Frequent Advisor

Programming KAIOs

Hi there

I've been looking all over for information about kernelized async I/Os on HP-UX. What I found is how to set the system up so that kaio is available, and how to make Oracle use kaio.

However, now that my system (HP-UX 11.23) is prep'ed for kaio, I want to write my own programs to use kaio.

Where do I start? What system calls do I make?

Hope you can help, or point me in the right direction.

Ciao
2 REPLIES 2
Steven E. Protter
Exalted Contributor

Re: Programming KAIOs

Christof Schoeman
Frequent Advisor

Re: Programming KAIOs

Thanks, SEP. I have already spent a long time at Dr. Google's office.

You'll notice that the last link you gave, points to forum post made by yours truly :-) So, I basically understand where kaio fits into the picture and the internal mechanisms involved.

However, the last time I programmed async I/Os was on OpenVMS, and I remember that there was a seperate set of system function calls that facilitated it.

Is it the same on HP-UX? Which functions do I use to do a kaio? Do I poll for I/O completion? Do I wait for the interrupt?

Oh yes, I want to do my kaio to raw volumes.