2009-10-16 07:17:24

by Harald Dunkel

[permalink] [raw]
Subject: Solaris NFSv3 client to Linux server

Hi folks,

I see a pretty poor NFSv3 performance for my Solaris10 machines
(sparc) connected to the Linux (amd64, 2.6.29.6) servers,
especially on removing a lot of files. Sample:

% time rm -rf linux-2.6.31.4/Documentation
real 0m45.268s
user 0m0.044s
sys 0m44.334s

Please note the high sys value. Using a Solaris 10 NFSv3 server
and the same client I get this instead:

% time rm -rf linux-2.6.31.4/Documentation
real 0m22.712s
user 0m0.029s
sys 0m0.330s

It is still not a brilliant time, but the sys value is much
closer to what one would expect.

The usual optimizations about attribute caching and wsize/rsize
etc. did not improve the poor performance. Not to mention that
NFSv4 is _much_ faster for both servers.

Of course I understand that this is a Solaris issue, but maybe
you have some insight? Did somebody investigate this?


Regards

Harri