Bad write performance, Linux NFS client & Solaris NFS server
Subsystems (2)
Hi,
I hope you can help, trying to use a Linux system as an NFS client to a Solaris server, read performance is great, but write performance is dreadfully slow. I have tried everything I can try & searched the web where I see this probem reported frequently but never a real solution.
Here's what I have:
Client: Xeon 3.6Ghz, 4Gb RAM, Redhat Enterprise workstation update 3, Network interface at 100 Mbit Full duplex forced
Sever: Sun V880, 6Gb RAM, Solaris 8,Gigabit interface, huge fast LSI disk array system on fibre channel.
The test I am running involves copying a 500Mbyte file to and from the server, which I believe is representitive of an application performance problem I am seeing. All I'm doing is copying the file from the server to the client /tmp directory and then copying it back to another filesystem on the server. Here's what I see: 45 sec to read the file from the server, 1min:15 to copy the file back to the server.
Using the same file and directories I used FTP to put and get the file and got indentical times for read and write of 46 seconds. So I know my network and filesystems are not the bottle neck, it seems to be specific to NFS write.
I have tried every mount option available, tcp,udp, v2,v3, I have changed rsize and wsize from 8192 to 32768. I have changed buffer sizes etc but it makes no difference to the problem.
I repeated the tests with a Solaris client system and it took identical times for both read and write tests, 50 seconds. And this is an old Ultra 60 system with 1Gb of RAM.
I repeated the tests but this time using a Linux system as the NFS server and write performance was great, read and write took the same time.
What gives, are Linux and Solaris incompatible from and NFS performance standpoint?
Surely I can't be the first person to encounter this problem. I tried logging a call with RedHat but they said they didn't support using Linux as an NFS client to Solaris...
I would really appreciate any advice on this one
Regards
Robin
---------------------------------
ALL-NEW Yahoo! Messenger - all new features - even more fun!