VxFS caches inodes in an inode table. The tunable for VxFS to determine the number of entries in its inode table is vxfs_ninode
.
VxFS uses the value of vxfs_ninode
in /etc/system
as the number of entries in the VxFS inode table. By default, the file system uses a value of vxfs_ninode
, which is computed based on system memory size. To increase the value, make the following change in /etc/system
and reboot:
set vxfs:vxfs_ninode =
new_value
It may be necessary to tune the dnlc (directory name lookup cache) size to keep the value within an acceptable range relative to vxfs_ninode
. It must be within 80% of vxfs_ninode
to avoid spurious ENFILE errors or excessive CPU consumption, but must be more than 50% of vxfs_ninode
to maintain good performance. The variable ncsize determines the size of dnlc. The default value of ncsize is based on the kernel variable maxusers. It is computed at system boot time. This value can be changed by making an entry in the /etc/system
file:
The new ncsize is effective after you reboot the system.