- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- sar displays "0" for cached inodes
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-23-2002 05:25 AM
01-23-2002 05:25 AM
HP-UX hpguru B.11.00 U 9000/800 01/23/02
00:00:00 text-sz ov proc-sz ov inod-sz ov file-sz ov
00:10:00 N/A N/A 361/4000 0 0/20000 0 2194/40010 0
00:20:00 N/A N/A 356/4000 0 0/20000 0 2123/40010 0
00:30:00 N/A N/A 357/4000 0 0/20000 0 2082/40010 0
00:40:00 N/A N/A 348/4000 0 0/20000 0 2067/40010 0
00:50:00 N/A N/A 346/4000 0 0/20000 0 2063/40010 0
ninode in kernel is set to 20000, and nfile at 40000. What is up with this output, on N class boxes with same parameters I don't have this issue.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2002 05:48 AM
01-23-2002 05:48 AM
Re: sar displays "0" for cached inodes
This is why
While using sar -v 5 5 to periodically check the threshold of the
nfile and nproc parameters, it is not uncommon to see the inode-sz
column showing 100% utilization. When this occurs with the file-sz or
the proc-sz columns this indicates that the limits of nfile and
nproc have been reached. In those cases system problems are encountered.
This does not seem to be the case when inode-sz shows 100% utilization.
Is this measuring the threshold for ninode? If so, does seeing this
column "maxed out" indicate a problem with the system? Below is a sample output
from sar -v 5 5:
09:14:29 text-sz ov proc-sz ov inod-sz ov file-sz ov
09:14:34 N/A N/A 345/1500 0 10000/10000 0 4014/28010 0
09:14:39 N/A N/A 343/1500 0 10000/10000 0 4012/28010 0
09:14:44 N/A N/A 343/1500 0 10000/10000 0 4012/28010 0
09:14:49 N/A N/A 343/1500 0 10000/10000 0 4013/28010 0
09:14:54 N/A N/A 343/1500 0 10000/10000 0 4015/28010 0
RESOLUTION
It is not uncommon to see what appears to be a ???maxed out??? value for
inode-sz column. The number to the left of the / is the number of
inodes open in the inode table cache and the number on the right is the maximum
number of inodes that can be open in the inode table cache determined from the
value of ninode in the running kernel. The HP-UX OS actually tries to
keep this value at the maximum for performance reasons. As more inodes are
cached, the inode retrievals (on average) will be faster. Seeing this value in
inode-sz to be equal to your ninode value is not something to be overly
concerned about. The system will maintain the cache and add/delete inode
entries as needed. This is unlike the proc-sz and file-sz columns
from the sar output which show hard limits. When these limits are
reached, new processes cannot not be started or additional files cannot be
opened. The inode-sz column refers to a cached table, and it is expected
that having this value ???maxed out??? should not prevent users on the system from
extracting inode information from inodes not available in the cache. That
being said, tuning ninode to be a smaller or larger value to allow for a
smaller or larger inode cache table can have a neglibile effect on performance
in some environments.
Steve Steel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2002 05:55 AM
01-23-2002 05:55 AM
Re: sar displays "0" for cached inodes
Was there a problematic sar, or a patch that mucked with the kernel counters for inodes?
Here goes sar -v 5 5 output: (notice the "0" in number of cached inodes.
hpguru:/home/hpguru> sar -v 5 5
HP-UX hpguru B.11.00 U 9000/800 01/23/02
07:57:59 text-sz ov proc-sz ov inod-sz ov file-sz ov
07:58:04 N/A N/A 536/4000 0 0/20000 0 5779/40010 0
07:58:09 N/A N/A 534/4000 0 0/20000 0 5776/40010 0
07:58:14 N/A N/A 535/4000 0 0/20000 0 5778/40010 0
07:58:19 N/A N/A 535/4000 0 0/20000 0 5740/40010 0
07:58:24 N/A N/A 535/4000 0 0/20000 0 5690/40010 0
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2002 06:28 AM
01-23-2002 06:28 AM
SolutionSorry . My fault.
Problem: 11.0 sar -v and glance show ninode usage as 0 .
HP-UX lancelot B.11.00 C 9000/800 02/22/01
18:51:28 text-sz ov proc-sz ov inod-sz ov file-sz ov
N/A N/A 171/4116 0 0/9948 0 801/114558 0
N/A N/A 171/4116 0 0/9948 0 799/114558 0
Resolution: This will occur when jfs3.3 drivers are configured in the kernel.
The following version of the jfs3.3 patch should solve this.
Current version is
Patch Name: PHKL_21938
Patch Description: s700_800 11.00 JFS 3.3 perf, memory leak, corruption & hang
Creation Date: 00/07/05
Post Date: 00/07/13
Hardware Platforms - OS Releases:
s700: 11.00
s800: 11.00
There are some bad patches higher than this number.
Steve Steel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2002 06:34 AM
01-23-2002 06:34 AM
Re: sar displays "0" for cached inodes
This is a known problem with JFS 3.3. I think this patch can help you to solve the problem
PHKL_23773
Best regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2002 06:44 AM
01-23-2002 06:44 AM
Re: sar displays "0" for cached inodes
FYI
hp-ux_patches/s700_800/11.X/PHKL_23773 :JFS:3.3:performance:cumulative:VxFS:
Target: 11.00
1Liner: s700_800 11.00 JFS 3.3 perf, memory leak, corruption & hang
Status: General Bad
Rating: s700: 11.00: 2: 01/05/12:
s800: 11.00: 2: 01/05/12:
This patch has been withdrawn and there is not yet a replacement .As I indicated
Patch Name: PHKL_21938
Patch Description: s700_800 11.00 JFS 3.3 perf, memory leak, corruption & hang
Creation Date: 00/07/05
Post Date: 00/07/13
Is the current version and does not yet contain the fix.
Steve Steel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2002 07:27 AM
01-23-2002 07:27 AM
Re: sar displays "0" for cached inodes
I think the latest JFS 3.3 cumulative patch contains the fix for this problem:
PHKL_25021
---------
sar -v and glance show ninode usage(count of active inodes
on the system) as 0.
---------------
Best regards.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2002 07:46 AM
01-23-2002 07:46 AM
Re: sar displays "0" for cached inodes
Guys I did check
hp-ux_patches/s700_800/11.X/PHKL_25021 :VxFS:JFS:3.3:
Target: 11.00
1Liner: s700_800 11.00 VxFS 3.3
Status: General Bad
Steve Steel
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2002 09:11 AM
01-23-2002 09:11 AM
Re: sar displays "0" for cached inodes
some of sar's columns are zeroed out on HP-UX11i...
And second, the output of "sar -v" shows the kernel's table for HFS-inodes, but you are certainly using only very few of those (/stand being the only HFS file system, I guess), and the VxFS/JFS inodes are NOT kept in that table, anyway!
You are probably just wasting kernel space (=RAM) there...
Just my $0.02,
Wodisch