Operating System - HP-UX
1832210 Members
2784 Online
110040 Solutions
New Discussion

Asynchronous IO (KAIO) on 11i & Oracle9

 
Alzhy
Honored Contributor

Asynchronous IO (KAIO) on 11i & Oracle9

We're still battling whether to yield to our DBA's demand to use RAW over cooked VxFS filesystems on our 11i (PARISC -rp8400's, SD's) systems. The rationale is they must use AIO and only RAW and Veritas QIO (which is out of the que$tion) can do this.

A DBA friend of mine mentioned that with 11.0 it is quite possible to do AsynchIO on Filesystems and is documented in the attached document.

My Questions:
1.\ Can something similar be done on 11i? Meaning Asynch IO on Filesystems (VxFS)?

2.\ Any white papers/links/hard facts to support that on 11i, RAW performance canbe achieved/exceeded with:
a. Properly tuned Filesystems (VxFS)
b. Disable Dynamic Buffer caching and limit it
c. Large SGA's.

Hakuna Matata.
5 REPLIES 5
Steven E. Protter
Exalted Contributor

Re: Asynchronous IO (KAIO) on 11i & Oracle9

Please read A. Clay's response in this thread, forgiving the stupid cubs remarks I made.

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=234347

A Clay has collected data and found no performance impact raw versus cooked on 11i.

I believe with proper tuning you can get the throughput you need with cooked filesystems.

I consider A. Clay's research to be valid. I used that thread in a meeting on the same topic yesterday.

SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
doug mielke
Respected Contributor

Re: Asynchronous IO (KAIO) on 11i & Oracle9

Just a note to your DBA.
As the world goes to centralized storage, the raw vs cooked question becomes moot. Performance may dictate AIO on Sans as the fabric fills, and once the intellegence of large arrays gets involved, Sync. I/O at the processor level becomes meaningless, and control over raw filesystes impossible.

My 1.5 cent's worth.

Re: Asynchronous IO (KAIO) on 11i & Oracle9

Nelson,

Orcale have this to say aboout AIO onb HPUX filesystems:

The kernel parameter fs_async can be set to allow asynchronous writes to file systems. However, write calls can return without the data being physically written to disk (the write sits in the UNIX buffer cache). The data in question is file-system metadata such as free space lists, blocks and inodes. A system crash would potentially lose this data, and leave the filesystem in an inconsistent state, causing database corruption. Oracle still opens files with the O_DSYNC flag (see 'tusc' snipet below), which insists that writes are physically written: open("/oracle/datafiles/system01.dbf", O_RDWR|O_LARGEFILE|O_DSYNC, 0) = 19 In summary, fs_async is ignored for datafiles(due to open() with O_DSYNC). However, filesystem metadata may be lost, potentially causing datafile corruption. Oracle does not recommend setting fs_async to '1'.

So thats a no to the your first question then.

As to your second question, the stuff Steven has pointed you to has arguments on raw vs. cooked, but what you really need is someone who has actually tested raw/async vs. cooked/sync - now maybe Clay did that, but he doesn't say in his post - can you elaborate Clay?

HTH

Duncan

I am an HPE Employee
Accept or Kudo

Re: Asynchronous IO (KAIO) on 11i & Oracle9

Actually the Oracle metalink note I pulled the above snippet from (doc ID 139272.1 on metalink if your DBAs want to look at it), give an alternative to using async IO - using multiple DBWR processes - have your DBAs already exhausted this avenue?

HTH

DUncan

I am an HPE Employee
Accept or Kudo
Hemanth Gurunath Basrur
Honored Contributor

Re: Asynchronous IO (KAIO) on 11i & Oracle9

Hi Nelson,

Refer to the foll. links for info.

http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/5971-4772/5971-4772_top.html&con=/hpux/onlinedocs/5971-4772/00/00/25-con.html&toc=/hpux/onlinedocs/5971-4772/00/00/25-toc.html&searchterms=performance%7cRAW&queryid=20031105-203738

http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/36217-90401/36217-90401_top.html&con=/hpux/onlinedocs/36217-90401/00/02/229-con.html&toc=/hpux/onlinedocs/36217-90401/00/02/229-toc.html&searchterms=performance%7cRAW&queryid=20031105-203738

http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/5187-1879/5187-1879_top.html&con=/hpux/onlinedocs/5187-1879/00/00/70-con.html&toc=/hpux/onlinedocs/5187-1879/00/00/70-toc.html&searchterms=performance%7cRAW&queryid=20031105-203738

http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/5187-2216/5187-2216_top.html&con=/hpux/onlinedocs/5187-2216/00/00/62-con.html&toc=/hpux/onlinedocs/5187-2216/00/00/62-toc.html&searchterms=performance%7cRAW&queryid=20031105-203738

http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/36217-90401/36217-90401_top.html&con=/hpux/onlinedocs/36217-90401/00/02/230-con.html&toc=/hpux/onlinedocs/36217-90401/00/02/230-toc.html&searchterms=performance%7cRAW&queryid=20031105-203738

http://docs.hp.com/cgi-bin/fsearch/framedisplay?top=/hpux/onlinedocs/5187-1879/5187-1879_top.html&con=/hpux/onlinedocs/5187-1879/00/00/71-con.html&toc=/hpux/onlinedocs/5187-1879/00/00/71-toc.html&searchterms=performance%7cRAW&queryid=20031105-203738

HTH.

Regards,
Hemanth