Translating with DrWatson… this can take a few seconds the first time.
This is a genuine, complex translation. DrWatson protects commands, error codes, and log output while naturally translating the surrounding text. It’s translated once and saved.
Alex ran IDS 10.00.FC4 on HP-UX 11iv2 (Itanium) with KAIOON=1, the asyncdsk driver loaded, privgroup MLOCK and VPCLASS kio set, but onstat -g iov showed only aio VPs and no kio ones; onmode -p +1 kio also failed. Respondents suggested checking the chunk device files (ls -lL), noting that cooked files and block-mode raw devices never give KAIO, and querying whether kio VPs needed adding at all. Alex confirmed the cause: he had pointed the chunks at the block device rather than the character (raw) device.
Auto-generated by DrWatson from the posts below — may be imperfect; read the full thread.
I try to run Informix with async. kernel io on a HP Itanium 4 Processor
Box running HP-UX 11v2 with Raw Devices. After all configuration steps
no kio's showing in "onstat -g iov":
IBM Informix Dynamic Server Version 10.00.FC4 -- On-Line -- Up
00:00:18 -- 5702588 Kbytes
AIO I/O vps:class/vp s io/s totalops dskread dskwrite dskcopy wakeups io/wup
errors
msc 0 i 0.2 3 0 0 0 4 0.8
0
aio 0 i 6.0 108 56 11 0 109 1.0
0
aio 1 i 0.6 10 0 9 0 10 1.0
0
aio 2 i 0.1 2 0 1 0 2 1.0
0
aio 3 i 0.1 1 0 0 0 1 1.0
0
aio 4 i 0.1 1 0 0 0 1 1.0
0
aio 5 i 0.0 0 0 0 0 1 0.0
0
pio 0 i 0.0 0 0 0 0 1 0.0
0
lio 0 i 0.1 2 0 2 0 2 1.0
0
Unix kernel is configured with fs_async=1 and asyncdsk driver loaded.
The following files exist in /dev:
crw-rw-rw- 1 bin bin 101 0x000000 17. Feb., 10:59 async
crw-rw-rw- 1 bin bin 101 0x000000 8. Sept. 2004
asyncdsk
Environment variable KAIOON=1
/etc/privgroup entry looks like:
informix MLOCK
onconfig entry:
VPCLASS kio,num=2,noage
BUT, after initializing with oninit there is obviously no usage of the
kernel async driver.
The command output of "onmode -p +1 kio" trying to add more cpu vp's
says:
onmode: error when trying to change the number of kio virtual processor
by 1. The minimum number of kio virtual processor required is 1.
WATH'S WRONG???
if you want to add cpu vps
onmode -p +1cpu
assume you have char mode raw devs defined for your chunks???
a
ls -lL <yourchunks>
would be nice....
cooked files and block mode raw devs will not give KAIO!!
i would also suggest that you look at NUMAIOVPS
eq set it to a fixed value otherwise (thin ice) you may end up
with a truckload of them
Superboer.
Alex schreef:
> I try to run Informix with async. kernel io on a HP Itanium 4 Processor
> Box running HP-UX 11v2 with Raw Devices. After all configuration steps
> no kio's showing in "onstat -g iov":
>
> IBM Informix Dynamic Server Version 10.00.FC4 -- On-Line -- Up
> 00:00:18 -- 5702588 Kbytes
>
> AIO I/O vps:> class/vp s io/s totalops dskread dskwrite dskcopy wakeups io/wup
> errors
> msc 0 i 0.2 3 0 0 0 4 0.8
> 0
> aio 0 i 6.0 108 56 11 0 109 1.0
> 0
> aio 1 i 0.6 10 0 9 0 10 1.0
> 0
> aio 2 i 0.1 2 0 1 0 2 1.0
> 0
> aio 3 i 0.1 1 0 0 0 1 1.0
> 0
> aio 4 i 0.1 1 0 0 0 1 1.0
> 0
> aio 5 i 0.0 0 0 0 0 1 0.0
> 0
> pio 0 i 0.0 0 0 0 0 1 0.0
> 0
> lio 0 i 0.1 2 0 2 0 2 1.0
> 0
>
> Unix kernel is configured with fs_async=1 and asyncdsk driver loaded.
>
> The following files exist in /dev:
> crw-rw-rw- 1 bin bin 101 0x000000 17. Feb., 10:59 async
> crw-rw-rw- 1 bin bin 101 0x000000 8. Sept. 2004
> asyncdsk
>
> Environment variable KAIOON=1
>
> /etc/privgroup entry looks like:
> informix MLOCK
>
> onconfig entry:
> VPCLASS kio,num=2,noage
>
>
> BUT, after initializing with oninit there is obviously no usage of the
> kernel async driver.
>
>
> The command output of "onmode -p +1 kio" trying to add more cpu vp's
> says:
>
> onmode: error when trying to change the number of kio virtual processor
> by 1. The minimum number of kio virtual processor required is 1.
>
> WATH'S WRONG???
↪ replying to Alex
Marco Greco — — source: Usenet: comp.databases.informix
Alex wrote:
> I try to run Informix with async. kernel io on a HP Itanium 4 Processor
...
> onconfig entry:
> VPCLASS kio,num=2,noage
>
>
> BUT, after initializing with oninit there is obviously no usage of the
> kernel async driver.
>
>
> The command output of "onmode -p +1 kio" trying to add more cpu vp's
> says:
>
> onmode: error when trying to change the number of kio virtual processor
> by 1. The minimum number of kio virtual processor required is 1.
>
> WATH'S WRONG???
What makes you think that you need to add kio vps?
--
Ciao,
Marco
______________________________________________________________________________
Marco Greco /UK /IBM Standard disclaimers apply!
Structured Query Scripting Language http://www.4glworks.com/sqsl.htm
4glworks http://www.4glworks.com
Informix on Linux http://www.4glworks.com/ifmxlinux.htm
We use strictly necessary cookies to make this site work. With your
consent we’d also use optional cookies for analytics and marketing. You can accept all,
reject all, or choose. Read our Cookie Policy.