Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

ids11.5 enable AIO on AIX 6.1

77 views
Skip to first unread message

joe

unread,
Feb 28, 2010, 9:32:58 PM2/28/10
to
os: AIX 6.1
informix: ids11.5.fc6

Before AIX 5.x , To start ids ,It need to run 'mkdev -l aio0'.
But under AIX 6.1, there are two question bothering me.

1. can not enable AIO ,the error message is:
# /usr/sbin/mkdev -l aio0
mkdev: 0514-519 The following device was not found in the customized
device configuration database:
name = 'aio0'
2. Start ids is OK ,though failed to enable AIO.

Doug Lawry

unread,
Mar 1, 2010, 3:40:29 AM3/1/10
to
This is not necessary on AIX 6.1:

www.ibm.com/support/docview.wss?uid=swg21303183

Does "onstat -g iov" show "kio" entries? If so, it is using kernel AIO. Are
you using raw devices?

Regards,
Doug Lawry


"joe" <joec...@gmail.com> wrote in message
news:bb5467fb-51bb-4796...@c34g2000pri.googlegroups.com...

joe

unread,
Mar 1, 2010, 4:21:08 AM3/1/10
to
#onstat -g iov

IBM Informix Dynamic Server Version 11.50.FC6 -- On-Line -- Up
00:01:14 -- 501344 Kbytes

AIO I/O vps:
class/vp/id s io/s totalops dskread dskwrite dskcopy wakeups io/
wup errors tempops
fifo 7 0 i 0.0 0 0 0 0 1
0.0 0 0
msc 6 0 i 0.0 1 0 0 0 2
0.5 0 1
aio 5 0 i 2.9 214 19 145 0 214
1.0 0 0
aio 8 1 i 0.0 3 0 3 0 3
1.0 0 0
pio 4 0 i 0.0 2 0 2 0 3
0.7 0 2
lio 3 0 i 0.0 2 0 2 0 3
0.7 0 2

I used cooked device.

Art Kagel

unread,
Mar 1, 2010, 8:17:22 AM3/1/10
to joe, inform...@iiug.org
If you use COOKED device or filesystem files for chunks you will only get KAIO enabled if you include the following ONCONFIG parameter:

DIRECT_IO 1

Also, for best performance on AIX though you should set:

DIRECT_IO 2

Instead so that IDS also enables the AIX CONCURRENT IO feature.

Art

Art S. Kagel
Advanced DataTools (www.advancedatatools.com)
IIUG Board of Directors (a...@iiug.org)

See you at the 2010 IIUG Informix Conference
April 25-28, 2010
Overland Park (Kansas City), KS
www.iiug.org/conf

Disclaimer: Please keep in mind that my own opinions are my own opinions and do not reflect on my employer, Advanced DataTools, the IIUG, nor any other organization with which I am associated either explicitly, implicitly, or by inference.  Neither do those opinions reflect those of other individuals affiliated with any entity with which I am affiliated nor those of the entities themselves.



_______________________________________________
Informix-list mailing list
Inform...@iiug.org
http://www.iiug.org/mailman/listinfo/informix-list

Fernando Nunes

unread,
Mar 1, 2010, 5:18:39 PM3/1/10
to

This is a bit confusing. You are using AIO, but for that you don't need
to to anything. You may want to use KAIO, and for that, when using
cooked files you'll need to set DIRECT_IO to 1 or 2. 1 will use direct
i/o and 2 will also use concurrent I/O (latest version on AIX only if I
recall correctly).

Regards.

Fernando Nunes

unread,
Mar 1, 2010, 5:30:00 PM3/1/10
to

Ups... I should have read this more carefully. I checked the release
notes and the URL already provided. So everything is working, and the
release notes don't take 6.1 in consideration. Now You may still want to
use DIRECT_IO. Please check the manual.
Regards.

0 new messages