Slow NFS when cio/dio enabled


 
Thread Tools Search this Thread
Operating Systems AIX Slow NFS when cio/dio enabled
# 1  
Old 01-11-2012
Slow NFS when cio/dio enabled

Hi,

I have a bit of a NFS problem on AiX 6.1 : When I set the mount to cio and dio - needed for a database app - Everything slows down. The following is copying 700mb, top one is a normal mount bottom one is a mount with the cio/dio option enabled :

# ./a.sh
Wed Jan 11 11:41:24 GMT 2012
Wed Jan 11 11:41:36 GMT 2012

# ./a.sh
Wed Jan 11 11:42:09 GMT 2012
Wed Jan 11 11:44:00 GMT 2012

Has anyone any ideas of how I could sort this?

Regards

Adam
# 2  
Old 01-11-2012
With A61 it should not be necessary any more to explicitly use the cio mount option.

If your db is DB2 or Oracle this should rather be activated at the db profile level, e. g. using < filesystemio_options = SETALL > for Oracle.

Simply spoken, cio and dio options are effectively bypassing filesystem caching and read-ahead logic causing severe performance hits for any 'normal' application.

Hope this helps.
Regards
Greg
# 3  
Old 01-11-2012
Hi,
dio is for JFS filesystems only - I doubt you are using jfs anywhere of your box - if you do that is part of your problem

for the cio part, - I am with Z80A - if you are using oracle, than you should use SETALL as oracle setting since Oracle 9.

If you are copying files into a cio mounted device, than thre is no filesystem buffering, as cio is switching it off. So if you copy anything, than you are saturating your disks. You are much better off, if you are mounting your filesystems without cio but with noatime options

Regards
zxmaus
# 4  
Old 01-11-2012
Hi,

Thanks for the info I have removed the dio option. I really wish this was Oracle but its not - Open Text (formally known as BASIS) db's.
# 5  
Old 01-11-2012
I do not know your DB at all but you should use cio in any case only for the real database files (.dbf on oracle) and not for binaries, dumps and similar filesystems - and I would not think you are really sharing the Database files themselves via nfs ?
# 6  
Old 01-11-2012
zxmaus - Again I wish this was oracle and I wish it was my choice but sadly not - Yes the db files are on a netapp - connected to a power 7 box running aix 6.1
Login or Register to Ask a Question

Previous Thread | Next Thread

7 More Discussions You Might Find Interesting

1. Red Hat

RHEL 5.6 Slow rsync to NFS array

Hi All, I have RHEL 5.6 with a 70GB local directory of Web content. Images, PHP scripts etc. I need to copy all this content to an NFS array thats mounted on the RHEL server. I did a baseline cp to copy the content one week ago. Since my baseline copy the local directory has grown by 8GB.... (2 Replies)
Discussion started by: general_lee
2 Replies

2. Red Hat

How to enable AIO and DIO on rhel5 64bit?

Hi Friends, Please help me to understand, how to enable async disk IO and Direct disk IO in ext3 filesystem on rhel5. Regards, Arumon (0 Replies)
Discussion started by: arumon
0 Replies

3. Red Hat

file writing over nfs very slow

Hi guys, I am trying something. I wrote a simple shell program to test something where continuous while loop writes on a file over the nfs. The time taken to write "hello" 3000 times take about 10 sec which is not right. Ideally it should take fraction of seconds. If I write on the local disk, it... (1 Reply)
Discussion started by: abhig
1 Replies

4. Red Hat

NFS writing so slow

Hi, I facing an NFS problem. I have machine1, which has diskA and diskB, and machine2, both are Mandriva 2009 Linux. When I am on machine2 and NFS mount both diskA and diskB of machine1. Writing to diskA is very fast, but writing to diskB is very slow. I tried different mount rsize and wsize... (2 Replies)
Discussion started by: hiepng
2 Replies

5. UNIX for Dummies Questions & Answers

Remote server mount slow - NFS

Hi, Following my last post I've mounted the remote server on my local server. However copying files from this mounted server is increadbily slow. If I copy files using rcp it's very fast so I assume there must be a setting somewhere? Any help appreicated. Thanks (2 Replies)
Discussion started by: AngryBunny
2 Replies

6. AIX

CIO/DIO and JFS2 read ahead

Hi Guys, I wonder if after enabling CIO/DIO at the filesystem level and assuming that CIO/DIO will bypass the JFS2 read ahead available when not using CIO/DIO my questionis what parameters I can play with to tune/improve the CIO in order to obtain similar performance for sequential reads (... (7 Replies)
Discussion started by: hariza
7 Replies

7. UNIX for Advanced & Expert Users

ls -l over NFS slow

I have an HP-UX server with a Network Appliance Filer attached over Gigabit Ethernet. I am noticing very slow response time when using "ls -l" on one directory on one of the several NFS mounted filesystems. The "ls" command by itself does not seem to be a problem. Typically I get a response within... (3 Replies)
Discussion started by: keelba
3 Replies
Login or Register to Ask a Question