HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- HPUX Directory Structures
Operating System - HP-UX
1835673
Members
2973
Online
110082
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
05-18-2007 04:45 AM
05-18-2007 04:45 AM
HPUX Directory Structures
In my previous life as an OpenVMS admin, I found that the file lookup method used would cause the system do go from indexed lookups to sequential if we exceeded a certain number of files in a directory. This had rather severe performance implications. Is there a similar issue on HPUX systems, where either depth of directories and/or number of files per directory can affect performance? If so, does anyone know what those limitations are and where I can get documentation of them?
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-18-2007 04:59 AM
05-18-2007 04:59 AM
Re: HPUX Directory Structures
Depth of directories is no problem but number of files per directory is. All directory searches are linear so that average access is directly proportional to n. If you are having to ask this question then you are probably approaching the limits. In any event, if you are considering more than a few thousand files per directory, you are also considering a bad design. This is not to say that the filesystem will not support millions of files per directory, it will but directory searches are going to take longer and longer. The newest vxfs filesystems handle large directories better so look in docs.hp.com for version 5 vsfs documentation
but in this context "better" does not mean good. Directory tree's are very poor substitutes for databases.
but in this context "better" does not mean good. Directory tree's are very poor substitutes for databases.
If it ain't broke, I can fix that.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-18-2007 04:59 AM
05-18-2007 04:59 AM
Re: HPUX Directory Structures
Depth of directories is no problem but number of files per directory is. All directory searches are linear so that average access is directly proportional to n. If you are having to ask this question then you are probably approaching the limits. In any event, if you are considering more than a few thousand files per directory, you are also considering a bad design. This is not to say that the filesystem will not support millions of files per directory, it will but directory searches are going to take longer and longer. The newest vxfs filesystems handle large directories better so look in docs.hp.com for version 5 vsfs documentation
but in this context "better" does not mean good. Directory trees are very poor substitutes for databases.
but in this context "better" does not mean good. Directory trees are very poor substitutes for databases.
If it ain't broke, I can fix that.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP