Oracle FAQ | Your Portal to the Oracle Knowledge Grid |
Home -> Community -> Mailing Lists -> Oracle-L -> RE: Asynchronous I/O on Solaris
Hi, Steve,
I wonder if we can simply determine whether the OS supports AIO by sysconf(_SC_ASYNCHRONOUS_IO). The following is run on Solaris 2.6 for SPARC:
$ cat q.c
#include <unistd.h>
#include <stdio.h>
main()
{ printf("%ld\n", sysconf(_SC_ASYNCHRONOUS_IO));
}
$ gcc q.c
$ ./a.out
1
I assume if it returns 1, it supports it.
Yong Huang
yong321_at_yahoo.com
you wrote:
> Hi All,
>
> It seems that the issue of asynchronous I/O on Solaris is
> still alive and kicking. Here is an attempt to pull the
> threads together.
>
> Oracle 7 had an 'async_write' parameter that used to default
> to TRUE. If set to FALSE, Oracle would use the standard
> 'write()' system call to
[snipped]