Re: Slower performance after enabling async io on Oracle Linux

From: Mladen Gogala <>
Date: Tue, 15 May 2012 00:52:33 +0000 (UTC)
Message-ID: <>

On Mon, 14 May 2012 02:03:56 -0700, Matthias Hoys wrote:

> Hello,
> Platform is Oracle Linux 6.2 64-bit with Oracle 64-bit.
> After enabling async io, I see slower performance for data pump exports,
> RMAN backups and long-running queries (between 10 and 15% slower).
> I enabled async io with:
> 19052 and aio-max-nr is 1048576. Storage is on iSCSI.
> Anyone else with the same experience? Is extra tuning for async io
> possible on Oracle Linux?
> Thanks,
> Matthias Hoys

Matthias, I the problem may as well lie on the network side. Check netstat -s for timeouts, retransmits or packets being dropped. Depending on the hardware, you may want to use jumbo packets, increase rmem and wmem parameters. Below are two articles about tuning the network:

Problem with Linux is that it is not well instrumented, there is no wait event interface so you cannot use the same technique as with the database. You can use systemtap to explore the performance of the network layer and figure out what is taking so long. Also, hopefully your iSCSI traffic doesn't have to go through any firewall? Packet inspection can take time, just as with the customs office.

So, if you want a recipe, measure the duration of the system calls by using strace and systemtap. Check netstat -s, make sure that your network is optimally configured.

Received on Mon May 14 2012 - 19:52:33 CDT

Original text of this message