Skip to content
Home ยป AIX ยป How to Enable AIX IOCP

How to Enable AIX IOCP

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
Smitty - I/O Completion Ports
Smitty - I/O Completion Ports

Press Enter to enter the first option Change / Show Characteristics of I/O Completion Ports.

Simtty - I/O Completion Ports - Change / Show Characteristics
Simtty - I/O Completion Ports - Change / Show Characteristics

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.

4 thoughts on “How to Enable AIX IOCP”

  1. 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’

Leave a Reply

Your email address will not be published. Required fields are marked *