Disable async IO at OS level


 
Thread Tools Search this Thread
Operating Systems AIX Disable async IO at OS level
# 1  
Old 01-27-2016
Disable async IO at OS level

Hi ,

User claims that report refresh is taking longer time than usual time and asking us to disable async IO at OS level.

1 DB is running in this server
This is prod server
OS -- AIX

My question is would there be an impact to database and server if we disable async IO in OS?
is this the right way to fix the issue?

I found following note from Oracle document relevant to my change. Could you please check and comment on this?
Quote:
DISK_ASYNCH_IO controls whether I/O to datafiles, control files, and logfiles is asynchronous (that is, whether parallel server processes can overlap I/O requests with CPU processing during table scans). If your platform supports asynchronous I/O to disk, Oracle recommends that you leave this parameter set to its default value. However, if the asynchronous I/O implementation is not stable, you can set this parameter to false to disable asynchronous I/O. If your platform does not support asynchronous I/O to disk, this parameter has no effect.

If you set DISK_ASYNCH_IO to false, then you can increase DB_WRITER_PROCESSES or use DBWR_IO_SLAVES to simulate asynchronous I/O.
Regards,
Maddy

Last edited by Maddy123; 01-27-2016 at 11:17 PM..
# 2  
Old 01-28-2016
I assume you're talking about Oracle DB. The version is unknown, but hopefully not elder than 10.2. Usual requirement from Oracle DBA is to switch on the async I/O on the server side. If you have Oracle 10.x or later you can enable Concurrent I/O by setting FILESYSTEMIO_OPTIONS to setall in Oracle configuration. Read e.g. this document - https://docs.oracle.com/cd/B28359_01...9/appa_aix.htm and consult Oracle support if you in doubt. I personally wouldn't switch off async I/O on AIX.
# 3  
Old 01-28-2016
Hi Agent,

Thanks for link and suggestions.

Oracle -- 11.2.0.2.0
currently filesystemio_options parameter is set to SETALL in the DB.

One of user's DBA has suggested to either to disable async IO or apply a patch as per attached document.
Could you please review it and share your thoughts on this?

Regards,
Maddy
# 4  
Old 01-29-2016
Hi,

i would recomend to read the following tuning guides.
We used this guides to successfully optimize our database servers.

https://www-03.ibm.com/support/techd...Index/WP100883

https://www-950.ibm.com/events/wwe/g...uning_2013.pdf

Code:
Use of Asynchronous I/O is strongly advised for Oracle workloads

Regards

P.S. Starting with AIX 6.1 and Oracle 11.2.0.2, Oracle DB automaticly intend to use CIO -> fastpath AIO!
# 5  
Old 01-29-2016
Quote:
Originally Posted by Maddy123
Oracle -- 11.2.0.2.0
currently filesystemio_options parameter is set to SETALL in the DB.
According to your document it is likely your DB is affected by the problem (though i am not sure, i don't understand Oracle version counting not well enough for that). Note, though, that there seems to be a fix for the Oracle software available. IMHO it would be better to apply the necessary updates (patches, fixes or what that is called in Oracle) than to disable async I/O.

In general you need asynchronous I/O to speed up disk operations which is why Oracle (and other DBs) actually demand this option to be switched on. Switching it off may solve the problem at hand but i expect it to negatively impact performance overall. (Therefore it might be better to patch Oracle than to work around the problem at OS level.)

Further, even if you decide against patching Oracle you would better switch it off in Oracle. Asynchronous I/O is a service the OS offers. You (the application) can use it but it doesn't have to do so! Your provided paper goes on to suggest to set "DISK_ASYNCH_IO = false", which is an Oracle setting, not a OS setting. Therefore:

Quote:
Originally Posted by Maddy123
One of user's DBA has suggested to either to disable async IO or apply a patch as per attached document.
Yes - I'd prefer the apply-a-patch route as stated above, but if this is - for whatever reason - not possible the DBA will simply have to switch it off themselves.

I hope this helps.

bakunin
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Programming

Async webpage read

hi i need to asynchronous connect to webpage which has only text file. need to read its content, line by line using linux socket. any samples? (1 Reply)
Discussion started by: leo2008
1 Replies

2. Red Hat

SSL certificate generation on OS level or application level

We have a RHEL 5.8 server at the production level and we have a Java application on this server. I know of the SSL certificate generation at the OS (RHEL) level but it is implemented on the Java application by our development team using the Java keytool. My doubt is that is the SSL generation can... (3 Replies)
Discussion started by: RHCE
3 Replies

3. Red Hat

SSL/TLS renegotiation DoS -how to disable? Is it advisable to disable?

Hi all Expertise, I have following issue to solve, SSL / TLS Renegotiation DoS (low) 222.225.12.13 Ease of Exploitation Moderate Port 443/tcp Family Miscellaneous Following is the problem description:------------------ Description The remote service encrypts traffic using TLS / SSL and... (2 Replies)
Discussion started by: manalisharmabe
2 Replies

4. Solaris

see if async i/o is enabled in Solaris 9

Hi guys. This may be a stupid question but I am trying to see if my Solaris 9 server has async i/o enabled... Is there a quick way to determine this? Thanks in advance. (1 Reply)
Discussion started by: jamie_collins
1 Replies

5. Solaris

Difference between run level & init level

what are the major Difference Between run level & init level (2 Replies)
Discussion started by: rajaramrnb
2 Replies

6. Red Hat

Difference between sync & async in nfs

Hi All.... This is related to exporting a file system through nfs. Just wanted to understand the significance of sync/async in nfs. We give this entry in /etc/export file. What is the difference between these two. Any hep is appreciated. Regards, Amol. (2 Replies)
Discussion started by: Amol21
2 Replies

7. UNIX for Advanced & Expert Users

How to disable application level logs in Unix?

Hi, I'm working in an application and the related Java code and the envrionment is in Unix server. We are generating the log messages using loggers of Java.util.log . But, the logs are not getting generated in the log files. We feel that the people who developed the system might have done some... (6 Replies)
Discussion started by: kelangovan
6 Replies

8. Solaris

Async DNS request

Yes, really can't find anything about this. Can anyone suggest a way, how to do it? This is really what I need for. I need for may be list of system calls to read about or probably some C\C++ sources... Please, help... (1 Reply)
Discussion started by: LocalStorm
1 Replies

9. UNIX for Dummies Questions & Answers

Async or Sync I/O on NFS ?

Solaris 2.8 I know regular filesystems use Async I/O on Solaris 2.8. Does anybody know if NFS uses Sync I/O or Async I/O ? (1 Reply)
Discussion started by: marist89
1 Replies

10. Shell Programming and Scripting

async vs sync shells

I am calling a shell script using PL/SQL stored procedures. This works great but I need the calls to be run synchronously and not asynchronously. I need the shell script to finish before returning control back to the procedure. Any ideas? (3 Replies)
Discussion started by: ted5547
3 Replies
Login or Register to Ask a Question