Show Table of Contents
12.4. Tuning Asynchronous I/O for Oracle 9i and 10g
For Red Hat Enterprise Linux 3 it is recommended to set
aio-max-size to 1048576 since Oracle uses I/Os of up to 1MB. It controls the maximum I/O size for asynchronous I/Os.
Note
The
aio-max-size tuning parameter is not applicable to the 2.6 kernel on Red Hat Enterprise Linux 4 or 5.
To determine the maximum I/O size in bytes, execute:
$ cat /proc/sys/fs/aio-max-size 131072
To change the maximum number of bytes without reboot:
# echo 1048576 > /proc/sys/fs/aio-max-size
Alternatively, you can use
sysctl(8) to change it:
# sysctl -w fs.aio-max-size=1048576
To make the change permanent, add the following line to the
/etc/sysctl.conf file. This file is used during the boot process:
$ echo "fs.aio-max-size=1048576" >> /etc/sysctl.conf

Where did the comment section go?
Red Hat's documentation publication system recently went through an upgrade to enable speedier, more mobile-friendly content. We decided to re-evaluate our commenting platform to ensure that it meets your expectations and serves as an optimal feedback mechanism. During this redesign, we invite your input on providing feedback on Red Hat documentation via the discussion platform.