Operating System - HP-UX
1825748 Members
2477 Online
109687 Solutions
New Discussion

ninode mem usage seen in kmeminfo output

 
SOLVED
Go to solution
Dan Copeland
Regular Advisor

ninode mem usage seen in kmeminfo output

What bucket would ninode cache fall into -- sample output attached.

tia,
Dan

8 REPLIES 8
Jeff Schussele
Honored Contributor

Re: ninode mem usage seen in kmeminfo output

Hi Dan,

Although I'm not 100% sure, I believe it's in the kernel-text/static bucket.
It's defined by the vx_ninode kernel parameter which is quite frequently overlooked when tuning the kernel to minimize kernel memory requirements. It defaults to 0 which causes the usage to be determined by total memory installed in the system. Which could cause the value generated to be several hundred thousand on systems with lots of memory. And that's a waste of kernel memory.
Realistically I've *never* seen a system that needed more than 40,000.

Rgds,
Jeff
PERSEVERANCE -- Remember, whatever does not kill you only makes you stronger!
Scot Bean
Honored Contributor
Solution

Re: ninode mem usage seen in kmeminfo output

Dan Copeland
Regular Advisor

Re: ninode mem usage seen in kmeminfo output

being told to reduce ninode kernel parm to save system memory...just trying to make sure it's even worth doing.

ninode is set pretty high (40000)

Dan
Scot Bean
Honored Contributor

Re: ninode mem usage seen in kmeminfo output

Try 'bdf -t hfs' to see how many HFS filesystems you have.

"The value of ninode can be lowered on systems with small or no mounted HFS file systems, to reduce memory consumption."
Dan Copeland
Regular Advisor

Re: ninode mem usage seen in kmeminfo output

i believe that nfs also contributes to this usage -- that's where we get some usage.

Dan
Scot Bean
Honored Contributor

Re: ninode mem usage seen in kmeminfo output

I would agree about NFS, but only if the NFS files being shared are on HFS filesystems.

Since 11.0, most folks use HFS only for /stand and if this is true on your machine, I would say 40000 is way too high.
Scot Bean
Honored Contributor

Re: ninode mem usage seen in kmeminfo output

Try to see how many of your HFS inodes are in use. 2 ways:

- sar -v 1 1

- Glance, under pulldown menu
Reports, System Info, System Tables Report
Scot Bean
Honored Contributor

Re: ninode mem usage seen in kmeminfo output

Here's a popular whitepaper on kernel tuning:

http://h21007.www2.hp.com/dspp/ddl/ddl_Download_File_TRX/1,1249,280,00.pdf

It DOES reflect your concern about cross-impacts against the NFS Client cache.