- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - OpenVMS
- >
- poor NFS performance when retrieving directories W...
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
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
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
07-23-2007 03:41 AM
07-23-2007 03:41 AM
Re: poor NFS performance when retrieving directories WITH attributes
to begin with: Welcome to the OpenVMS Forum.
>>>
the share may contain up to 3000 directory entries in root level.
<<<
Have you tried an unqualified DIR vs directory/date/size/owner/prot of the NFS mount anchor in VMS itself?
DIR only reads the INDEXFILE.SYS, where /DATE and /SIZE have to READ the file HEADER, and /OWN and /PROT have to use info from the header to tranlate it using the RIGHTSLIST.
And for a (directory-) file with 3000 entries, that DOES make a difference.
Although I would not expect THAT big.
Still, I am curious about the amount caused by the extra file access, and the amount caused by NFS.
fwiw,
Proost.
Have one on me.
jpe
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2007 08:16 PM
07-23-2007 08:16 PM
Re: poor NFS performance when retrieving directories WITH attributes
How is the performance if you report on files created by a Unix box from the VMS system?
I suspect the /ADF option plays a significant roles. It forces the read of a 'helper' file for each file. This helper file holds the VMS file attributes which Unix does NOT have, for example something as 'simple' as a file creation date.
Unix has only a handfull (11 ? see fstat()) file attributes which are quickly retrieved from the directory (inode). VMS has many more attributes, but they are slow to retreive using an extra IO or two from the file headers in INDEXF.SYS on a VMS box, or from the .$ADF$file files on an NFS server.
Still 20 minutes seems excessive even if an extra file IO per file is needed
fwiw,
Hein.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2007 08:31 PM
07-23-2007 08:31 PM
Re: poor NFS performance when retrieving directories WITH attributes
WSdef: 131072
WSquo: 262144
WSextent: 393216
I'll next follow the adf issue, but I actually don't know, if its needed by anyone. as it is really productive, I have to take care :-(
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2007 08:58 PM
07-23-2007 08:58 PM
Re: poor NFS performance when retrieving directories WITH attributes
You can try TCPTRACE to see who is delaying the communication.
Your quotas are fine. 20 minutes means about 3 files per sec. That is terribly slow.
Wim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2007 10:33 PM
07-23-2007 10:33 PM
Re: poor NFS performance when retrieving directories WITH attributes
tracing this is easy with tcpdump:
$ @SYS$MANAGER:TCPIP$DEFINE_COMMANDS
$ tcpdump host mynetapp and port nfs
Between 2 VMS systems, the first plain DIR command will exchange lots of 'lookup' NFS packets. When invoking the plain DIR command the second time, all it does is exchange a couple of 'readdir' messages. And that's much faster. For 2000 files, elapsed time drops from 1 minutes to less than 1 second on successive attempts.
The full DIR command always exchanges lots of 'getattr' NFS packets. When invoked a 2nd or 3rd time (without remounting the NFS device), it still is faster (about twice as fast). Elapsed time drops from 1 minute to about 30 seconds for successive attempts.
Tested with a directroy of 2107 files between Alpha with TCPIP V5.5 (NFS server) and rx2600 with TCPIP V5.5 (NFS client)
As some caching is certainly involved here (NFS server ? client ? file system ?), it makes predicting the performance a little bit hard.
Volker.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2007 11:14 PM
07-23-2007 11:14 PM
Re: poor NFS performance when retrieving directories WITH attributes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-23-2007 11:32 PM
07-23-2007 11:32 PM
Re: poor NFS performance when retrieving directories WITH attributes
if you are interested in isolating the problem, you need to compare the data between the 'good' and the 'bad' performance case.
Comparing the tcpdump data, which can be easily collected on the VMS system - as I've shown - would be a first step.
An easily spottable difference may be in the no. of messages exchanged or in their timing/sequence.
As with all communication problems, you need a systematic approach to try to pin down the problem.
With the VMS to VMS case that I've tested, there is about a factor of 100 between the time for a subsequent DIR and a DIR/SIZ/...
Volker.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2007 12:01 AM
07-24-2007 12:01 AM
Re: poor NFS performance when retrieving directories WITH attributes
As I am not able to read this data, I'll open a call at HP now, thanks to all who contributed their ideas.
brgds
alex
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-24-2007 12:33 AM
07-24-2007 12:33 AM
Re: poor NFS performance when retrieving directories WITH attributes
It seems that if changes are taking place the directory is reread every 30 secs. And file attributes remain in the cache for 15 secs. So, after 20 min you start again from scratch.
Wim
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-25-2007 05:35 PM
07-25-2007 05:35 PM
Re: poor NFS performance when retrieving directories WITH attributes
- « Previous
-
- 1
- 2
- Next »