- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Would NFS be your choice?
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
01-28-2004 08:26 AM
01-28-2004 08:26 AM
Since WebShere scales horizontally, I may be dealing with a lot of A500 web servers in time. The images need to be accessible on each web server. Would you replicate the images to each web server or would you NFS mount the images from a central location? Is there a better way altogether?
In test, we have set up NFS. The current problem is the page builds slowly. Of course, the NFS mount and the UNIX servers are being blamed for the slow down.
I have plenty of nfsdâ s running on the server and I am not seeing any problems on the client â no badcalls, no badxidsâ ¦
Tonight I will look into mounting the client side with actimeo=120 to cache a little longer and see if that helps.
Both clients and server are fairly idle (all stats) during 100 user tests. There is some activity â NFS calls and such, but nothing alarmingly high. But the performance still seems slow.
How can I prove, beyond a shadow of a doubt, that NFS is not the holdup?
Is NFS the best choice here?
Can I improve NFS perform
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-28-2004 08:32 AM
01-28-2004 08:32 AM
Solutionhttp://h21007.www2.hp.com/dspp/tech/tech_TechDocumentDetailPage_IDX/1,1701,952,00.html
Rgds...Geoff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-28-2004 08:37 AM
01-28-2004 08:37 AM
Re: Would NFS be your choice?
the issue, is to get your baseline with the current configuration,
then copy the files locally, and run the tests again to compare.
Ultimately... that's the only way you'll get the point across,
whether it be for the good or bad. You may find that NFS is
indeed an issue, and then you can look into tuning or alternatives.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-28-2004 08:45 AM
01-28-2004 08:45 AM
Re: Would NFS be your choice?
Then I would check your config file /etc/rc.config.d/nfsconf to make sure you have it setup for the type of use you are going to see.
This is off my one box which serves as NFS server for 20 boxes, we have rather low usage on this b/c it is an oracle CD which was copied to an NFS mount so it would be easier to access so we could free up the CD drive.
# NUM_NFSD: Number of NFS deamons (nfsd) to start on an NFS server. Four
# has been chosen as optimal.
# NUM_NFSIOD: Number of NFS BIO daemons (biod) to start on an NFS client.
# Four has been chosen as optimal.
# PCNFS_SERVER: 1 if this node is a server for PC-NFS requests. This
# variable controls the startup of the pcnfsd(1M) server.
# See Also: pcnfsd(1M).
#
NFS_CLIENT=1 # 0 to turn off client
NFS_SERVER=1
NUM_NFSD=16
NUM_NFSIOD=16
PCNFS_SERVER=0
I would also check your Nic card speeds on both ends on all servers that have NFS mounts. In my case with 11i it is /etc/rc.config.d/hpgelanconf... Force your card to the correct speed if it is not using it.
If you havent already built the VGs for the NFS mountpoint on the server side, I would stripe them, and for better reading with a small block size say 4MB since your data is very small.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-28-2004 08:49 AM
01-28-2004 08:49 AM
Re: Would NFS be your choice?
To dispell notions of NFS bottlenecks, time some benchmarks against some local storage. You can even load the systems with non-i/o functions to prove that NFS will perform even when system is busy.
Only caveat is that your network must be sound to avoid headaches
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-28-2004 08:51 AM
01-28-2004 08:51 AM
Re: Would NFS be your choice?
I had a few servers here exhibiting a general sluggishness and HP suggest this patch which fixed the problem.
But you should still read the other respondents comments and tune your NFS accordingly. Many times performance issues are not fixed by just one thing. Tuning can be a series of steps where each one helps a little.
Good luck,
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-28-2004 08:54 AM
01-28-2004 08:54 AM
Re: Would NFS be your choice?
I would consider using CIFS/9000 instead. Samba is considered more secure and robust.
To improve NFS performance, install the latest version and all patches possible. Make sure the kernel is tuned properly.
Thats the best you can do.
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
01-28-2004 08:57 AM
01-28-2004 08:57 AM
Re: Would NFS be your choice?
Let me say that I know nothing about WebSphere or the application you will be running but if you are using a filesystem as your database then I suspect performance is always going to be a problem -- local or NFS.
Directories were never intended to be used
as search engines.
If you can retrieve your images from a database that would be my first choice. The database should be redundant or running under ServiceGuard so that it is always available.
A hybrid design is also a possibility. The database might tell you to retrieve an image from a UNIX file starting at offset 560578 and reading 8182 bytes. In that model, you would pack many images into a single file (to limit directory searches) and use a database engine to store metadata.
The problem with keeping local copies of the data is synchronization. I would look into rdist; it is made to do just that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-28-2004 09:01 AM
01-28-2004 09:01 AM
Re: Would NFS be your choice?
You can try and tune your NFS services, too, but in the end when you start accessing the central data from lots of servers, you'd better have real fast storage and a killer network..
regards
Wout
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-28-2004 09:14 AM
01-28-2004 09:14 AM
Re: Would NFS be your choice?
We are going to move 95,000 images over to one of the web servers and test local vs. nfs in a few minutes... I'll let everyone know the results...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-28-2004 09:47 AM
01-28-2004 09:47 AM
Re: Would NFS be your choice?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-28-2004 09:52 AM
01-28-2004 09:52 AM
Re: Would NFS be your choice?
I never pinned it down to a number, sorry. Probably somewhere between 5000 and 20000. I tried to get HP to talk about this, but never got beyond them admitting they knew about it. They couldn't quantify or solve it.
I then tried splitting data into multiple directories (less than 3000 in each) and performance was acceptable again.
Mic
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-28-2004 09:58 AM
01-28-2004 09:58 AM
Re: Would NFS be your choice?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-28-2004 10:02 AM
01-28-2004 10:02 AM
Re: Would NFS be your choice?
I don't have access to the setup any more, but it seemed to me that even my old-file-cleaner script, which does a stat, got veeeery slow with a large number of files.
The vendor claimed that no one had ever seen this problem before. I tend to believe it's more likely that they hadn't heard of it, since most of their customers did Solaris (and apparently it's not a problem on Solaris).
Anyway...would be interesting to prune a directory to the point where "ls" is no longer slow, then see if the app is still slow. Good luck. :)
Mic
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2004 01:10 AM
01-29-2004 01:10 AM
Re: Would NFS be your choice?
Good Luck
Todd
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2004 01:17 AM
01-29-2004 01:17 AM
Re: Would NFS be your choice?
Also, I've also read that long filenames (and long pathnames) in large directories can slow access.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-29-2004 04:53 AM
01-29-2004 04:53 AM
Re: Would NFS be your choice?
30,000 entries in one directory?!?!? EEEEEEKKK!!!!! A directory is just a flat file. You should build a directory hierarchy instead: t'will be much faster and easier to maintain.
You could load these images into a SQL Database (Oracle, for example) and get much better access times and efficiencies than just putting them out into a directory as standalone files.
I suggest you re-architect this. As you have it now, t'will eventually work. But its like "socks on a rooster"--why would you want it to? Its too ugly for words.
Chris
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2004 07:50 AM
01-31-2004 07:50 AM
Re: Would NFS be your choice?
Thanks again everyone for the excellent ideas and help!
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2004 09:32 AM
01-31-2004 09:32 AM
Re: Would NFS be your choice?
Optimizing NFS Performance: Tuning and Troubleshooting NFS on HP-UX Systems
by Dave Olker
The definitive reference on NFS for HP-UX.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-31-2004 09:51 AM
01-31-2004 09:51 AM
Re: Would NFS be your choice?
NO
Rgds,
Jeff
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-02-2004 12:07 AM
02-02-2004 12:07 AM