On 8/19/2011 2:49 PM, [email protected] wrote:
On 8/19/11 8:04 PM, Patrick M. Landry wrote:


------------------------------------------------------------------------

    *From: *"Alexander J. Maidak" <[email protected]>
    *To: *"Patrick M. Landry" <[email protected]>
    *Cc: *[email protected]
    *Sent: *Wednesday, August 17, 2011 9:07:12 PM
    *Subject: *Re: [lopsa-tech] Poor NFS performace from CentOS5
    client to Oracle (Sun) Unified Storage NAS

    Is the filer more then 80% full?  Is it slow for writes and reads or
    just writes?  How slow is slow and what do you expect "fast" to be?

It is not more than 80% full. The speed problem is most noticeable when
asking for a listing in the directory with the 7000 subdirectories. It is not
uncommon for that command to take 30 seconds to a minute or more to
complete from the CentOS5 hosts. It doesn't take more that 5 seconds
on the Solaris hosts.

Are you sure this is a NFS problem? Are you using LDAP for user lookups? With that many directories, I can see there being slowness in having to translate those UIDs/GIDs. This would definitely result in some of the delays you are seeing.

Also, have you tried tuning the default mount options on the CentOS client? The default rsize and wsize values are rather small for servers on a gigabit LAN. Increasing them will give you substantially better performance. Depending on your network, you may have slightly better performance with UDP as well.

On this point, try starting up nscd. Should see a reduction in the time it takes to do ls. I generally find nscd causes more hassles than it resolves in the long run, though.
_______________________________________________
Tech mailing list
[email protected]
https://lists.lopsa.org/cgi-bin/mailman/listinfo/tech
This list provided by the League of Professional System Administrators
 http://lopsa.org/

Reply via email to