Skip to contentSkip to conversation

AIX and HP NFS client behaviour

DISCUSSION Michael Thomson 1 participant 2 messages Jun 16, 2003 – Jun 23, 2003

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

Hi all,

I have been investigating a problem we have been having with some of our NFS clients.

Our setup is a large filesystem on a Linux server running kernel 2.4.20 with nfs-utils 1.0.1-2, with a number of clients each accessing their own export of a portion of this filessystem.

With the majority of the clients (Linux, Sun, OS390 etc) we get expected performance. All the clients are using NFS version 3.

With AIX 4 and HP 11.00 we get acceptable performance when just copying a file or generating a file from say /dev/zero. The networking all seems OK. When we actually run some programs that write and read from NFS we get terrible performance...

What I see when running these clients via nfsstat is:
Version 3: (548087 calls)

null                    getattr                 setattr
0 0%                    610 0%                  6 0%
lookup                  access                  readlink
416 0%                  56 0%                   0 0%
read                    write                   create
530 0%                  273763 49%              33 0%
mkdir                   symlink                 mknod
0 0%                    0 0%                    0 0%
remove                  rmdir                   rename
16 0%                   0 0%                    0 0%
link                    readdir                 readdir+
0 0%                    0 0%                    4 0%
fsstat                  fsinfo                  pathconf
0 0%                    0 0%                    0 0%

commit
272653 49%

Basically every write is followed by a commit. When looking at the tcpdump for the same run I see the same thing (as I would expect, but just wanted to confirm what nfsstat was saying)

I initially suspected sync/async issues causing constant commits but have tried many different combinations and the problem does not change.

Does anyone have any idea's of what is causing this 1:1 relationship between writes amd commits?

Does anyone know how to correct the behaviour for AIX4 and HP 11 nfs clients?

Thanks in advance for any information.
Michael Thomson

-------------------------------------------------------
This SF.NET email is sponsored by: eBay
Great deals on office technology -- on eBay now! Click here:
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs

#1 lore raw

Hello All,

I posted this question a while back.

We finally worked out what the problem was. The NFS client implementation on AIX and HP had a 'flawed' behaviour when porcessing seek commands. This caused the large number of writes and commits. HP is currently working on a new Client to 'correct' this behaviour.

We were able to change our application space useage to reduce the 'seeks' and make the problem go away.

Thanks for the replies,
Michael.

Quoted 53 lines · Michael Thomson

Hi all,

I have been investigating a problem we have been having with some of our NFS clients.

Our setup is a large filesystem on a Linux server running kernel 2.4.20 with nfs-utils 1.0.1-2, with a number of clients each accessing their own export of a portion of this filessystem.

With the majority of the clients (Linux, Sun, OS390 etc) we get expected performance. All the clients are using NFS version 3.

With AIX 4 and HP 11.00 we get acceptable performance when just copying a file or generating a file from say /dev/zero. The networking all seems OK. When we actually run some programs that write and read from NFS we get terrible performance...

What I see when running these clients via nfsstat is:
Version 3: (548087 calls)

null                    getattr                 setattr
0 0%                    610 0%                  6 0%
lookup                  access                  readlink
416 0%                  56 0%                   0 0%
read                    write                   create
530 0%                  273763 49%              33 0%
mkdir                   symlink                 mknod
0 0%                    0 0%                    0 0%
remove                  rmdir                   rename
16 0%                   0 0%                    0 0%
link                    readdir                 readdir+
0 0%                    0 0%                    4 0%
fsstat                  fsinfo                  pathconf
0 0%                    0 0%                    0 0%

commit
272653 49%

Basically every write is followed by a commit. When looking at the tcpdump for the same run I see the same thing (as I would expect, but just wanted to confirm what nfsstat was saying)

I initially suspected sync/async issues causing constant commits but have tried many different combinations and the problem does not change.

Does anyone have any idea's of what is causing this 1:1 relationship between writes amd commits?

Does anyone know how to correct the behaviour for AIX4 and HP 11 nfs clients?

Thanks in advance for any information.
Michael Thomson

Quoted 7 lines

-------------------------------------------------------
This SF.NET email is sponsored by: eBay
Great deals on office technology -- on eBay now! Click here:
http://adfarm.mediaplex.com/ad/ck/711-11697-6916-5
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs

-------------------------------------------------------
This SF.Net email is sponsored by: INetU
Attention Web Developers & Consultants: Become An INetU Hosting Partner. Refer Dedicated Servers. We Manage Them. You Get 10% Monthly Commission! INetU Dedicated Managed Hosting http://www.inetu.net/partner/index.php
_______________________________________________
NFS maillist - [email protected]
https://lists.sourceforge.net/lists/listinfo/nfs