- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - Linux
- >
- Re: NFS poor performance
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2006 02:04 AM
08-26-2006 02:04 AM
NFS poor performance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2006 05:23 AM
08-26-2006 05:23 AM
Re: NFS poor performance
Define unreasonable? If it is resulting in user complaints, then its really is a problem.
There is further analysis that can be done on the switch.
NFS problems in general come from two places. Poor server performance and network issues.
Since you've posted your Linux thread to HP-UX, I'll give you the right diagnostics. ethtool eth0 Are you getting the speed you expect? If not you have a network configuration problem and should correct it.
You may wish to look at /var/log/messages and see what is going on there. tcpdump might help you if there is a non NFS congestion issue that is makeing things slow.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-26-2006 08:22 AM
08-26-2006 08:22 AM
Re: NFS poor performance
I did an ftp of that file between the NFS server and the client and transmission rate was appx 11MB/sec (it's a 100MB nic). So if we do the math, (160MB/sec)/(11MB/sec), we get appx 14.5 seconds.
It's taking the client appx 15-16 seconds to "vi -R
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-27-2006 02:34 AM
08-27-2006 02:34 AM
Re: NFS poor performance
Hope this helps
UNIX because I majored in cryptology...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-27-2006 03:07 AM
08-27-2006 03:07 AM
Re: NFS poor performance
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-27-2006 01:59 PM
08-27-2006 01:59 PM
Re: NFS poor performance
I agree that 9-11 MB/sec is about right for a 100MB NIC to run, especially for NFS traffic.
If you really want to test your NFS throughput I recommend you grab a copy of iozone (http://www.iozone.org) and use it to measure your throughput. Iozone is a very powerful and flexible benchmarking tool capable of generating almost any type of I/O requests. I use it constantly in my NFS performance role.
I recommend starting with a sequential WRITE test and then doing a sequential READ test to see what kinds of numbers you get before you start branching out into other tests (like random I/O, mmap, etc.). I also suggest using a record size of 32K since that's what most NFS clients use. Finally, be sure to unmount and remount your NFS filesystem between tests in order to nullify any benefits of caching (in other words, you want your NFS requests to go over-the-wire and not be satisfied locally from cache).
You can find the documentation for iozone on the iozone.org web site, but if you have any problems using it feel free to post your questions.
Regards,
Dave
I work at HPE
HPE Support Center offers support for your HPE services and products when and how you need it. Get started with HPE Support Center today.
[Any personal opinions expressed are mine, and not official statements on behalf of Hewlett Packard Enterprise]

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
08-28-2006 01:10 AM
08-28-2006 01:10 AM
Re: NFS poor performance
So now you need to better define the nfs problem. When you say it takes x number of seconds ( and since you only listed numbers and no units for those numbers, one can only assume it was 20-30 seconds in your first post ) to open a file.....you need to understand that for any connection there is a handshake then a file open if it is a file access and then the transfer if a file is being moved.
So when you say it takes 20-30 seconds to open a file, do you really mean it took that long to transfer the file or simply to open it ? If so, how long did it actually take to transfer the file ?
You might want to consider using tcpdump to monitor the connection from estabishment to file transfer completion and close. Compare this to the system that is working as per your expectations.
Look for duplicate acks, dropped packets, and delays in responses on either side.
You may need to adjust some of the mount parameters, like timeo, retrans and packet sizes both read and write. You might also want to mount the directory using tcp rather than udp to see if it makes any difference.
Try this and post your results.