AIX IOCP Enabling
Some software like Oracle clusterware (grid) and database require that I/O completion ports (IOCP) to be enabled to handle multiple asynchronous I/O requests in a program and can improve overall system performance.
Let's check whether I/O completion ports is enabled or not.
[root@primary01 /]# lsdev -c iocp
iocp0 Defined I/O Completion Ports
As we can see, the feature is defined, but not enabled. Now we have 2 ways to enable it.
Chdev
A single command can switch the value from defined into available.
[root@primary01 /]# chdev -l iocp0 -P -a autoconfig='available'
We need to reboot the system to bring it effect.
[root@primary01 /]# reboot
Rebooting . . .
Let's check the current setting again.
[root@primary01 /]# lsdev -c iocp
iocp0 Available I/O Completion Port
The above command string may be hard to remember, we can use smitty instead.
Smitty
We can also use smitty, a text-based user interface to change the status.
[root@primary01 /]# smitty iocp
Press Enter to enter the first option Change / Show Characteristics of I/O Completion Ports.
Use Tab to switch the value from defined into available. Then press Enter to commit the change.
Don't forget to reboot the system to take it effect.
Hi,
You don’t need to reboot the partition, “cfgmgr” work as well ๐
Thanks, I’ll update it later.
No reboot required, just do
# lsdev -Cc iocp
iocp0 Defined I/O Completion Ports
# mkdev -l iocp0
iocp0 Available
# chdev -l iocp0 -P -a autoconfig=’available’
It’s way better. Thanks!