HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- [hfs/vxfs] why ninodes can be so big?
Operating System - HP-UX
1827197
Members
2625
Online
109716
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
01-30-2003 07:52 AM
01-30-2003 07:52 AM
[hfs/vxfs] why ninodes can be so big?
Hello,
sar -v reports the value of kernel table of inodes for HFS filesystem. The only HFS fs is /stand. ninodes size is set to 15000. Ok, I know it's too big but I have believed that vxfs used this cache. It is not the case because vxfs use his own dynamic cache. So why sar -v shows high values for inod-sz?
Exemple: 11:00am sar -v says ninodes is > 11000 !
So I don't understand why inod-sz could be so big with only /stand hfs.
sar -v reports the value of kernel table of inodes for HFS filesystem. The only HFS fs is /stand. ninodes size is set to 15000. Ok, I know it's too big but I have believed that vxfs used this cache. It is not the case because vxfs use his own dynamic cache. So why sar -v shows high values for inod-sz?
Exemple: 11:00am sar -v says ninodes is > 11000 !
So I don't understand why inod-sz could be so big with only /stand hfs.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2003 08:04 AM
01-30-2003 08:04 AM
Re: [hfs/vxfs] why ninodes can be so big?
Eric,
What is your kernel's ninode value set to?
"ninode defines the number of slots in the inode table, and thus the
maximum number of open inodes that can be in memory. The inode
table is used as a cache memory. For efficiency reasons, the most
recent Ninode (number of) open inodes is kept in main memory. The
table is hashed.
Each unique open file has an open inode associated with it. Therefore,
the larger the number of unique open files, the larger ninode should
be. "
I think that's what sar is reporting, the high water mark in the table (though 11000 sounds very high).
Pete
Pete
What is your kernel's ninode value set to?
"ninode defines the number of slots in the inode table, and thus the
maximum number of open inodes that can be in memory. The inode
table is used as a cache memory. For efficiency reasons, the most
recent Ninode (number of) open inodes is kept in main memory. The
table is hashed.
Each unique open file has an open inode associated with it. Therefore,
the larger the number of unique open files, the larger ninode should
be. "
I think that's what sar is reporting, the high water mark in the table (though 11000 sounds very high).
Pete
Pete
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2003 10:41 AM
01-30-2003 10:41 AM
Re: [hfs/vxfs] why ninodes can be so big?
Clarification: ninode = HFS filesystems only. IF you have a standard installation, there is only one HFS filesystem: /stand and it has only a handful of files. ninode does not need to be bigger than 500 to 1000.
The reason that ninode is so high is that the formula has been wrong for many years. When VxFS became the standard filesystems, the formula should have been replaced but wasn't. So tell SAM to not use the formula and use a hardcoded number instead (1000). sar and Glance have never been able to properly report on the ninode table usage due to kernel problems in returning used versus reusable pointers. This cache is used to save disk I/O looking for recently opened files (inodes). Unless your system has a large number of HFS filesystems, change ninode to a fixed value.
Bill Hassell, sysadmin
The reason that ninode is so high is that the formula has been wrong for many years. When VxFS became the standard filesystems, the formula should have been replaced but wasn't. So tell SAM to not use the formula and use a hardcoded number instead (1000). sar and Glance have never been able to properly report on the ninode table usage due to kernel problems in returning used versus reusable pointers. This cache is used to save disk I/O looking for recently opened files (inodes). Unless your system has a large number of HFS filesystems, change ninode to a fixed value.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-30-2003 11:09 AM
01-30-2003 11:09 AM
Re: [hfs/vxfs] why ninodes can be so big?
Thanks Pete & Bill!
Bill, you said "sar and Glance have never been able to properly report on the ninode table usage due to kernel problems in returning used versus reusable pointers"
So it means that when sar -v reports me the current inode cache size of 11000 (the max is set to 15000), this is a bad value. OK ?
Bill, you said "sar and Glance have never been able to properly report on the ninode table usage due to kernel problems in returning used versus reusable pointers"
So it means that when sar -v reports me the current inode cache size of 11000 (the max is set to 15000), this is a bad value. OK ?
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
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP