Skip Navigation Links | |
Exit Print View | |
Oracle Solaris Tunable Parameters Reference Manual Oracle Solaris 10 8/11 Information Library |
1. Overview of Oracle Solaris System Tuning
2. Oracle Solaris Kernel Tunable Parameters
Where to Find Tunable Parameter Information
General Kernel and Memory Parameters
fsflush and Related Parameters
SPARC System Specific Parameters
Solaris Volume Manager Parameters
4. Internet Protocol Suite Tunable Parameters
5. Network Cache and Accelerator Tunable Parameters
A. Tunable Parameters Change History
Defines the number of entries in the directory name look-up cache (DNLC). This parameter is used by UFS, NFS, and ZFS to cache elements of path names that have been resolved.
The DNLC also caches negative look-up information, which means it caches a name not found in the cache.
Signed integer
(4 x (v.v_proc + maxusers) + 320) + (4 x (v.v_proc + maxusers) + 320 / 100
0 to MAXINT
DNLC entries
No
None. Larger values cause the time it takes to unmount a file system to increase as the cache must be flushed of entries for that file system during the unmount process.
You can use the kstat -n dnlcstats command to determine when entries have been removed from the DNLC because it was too small. The sum of the pick_heuristic and the pick_last parameters represents otherwise valid entries that were reclaimed because the cache was too small.
Excessive values of ncsize have an immediate impact on the system because the system allocates a set of data structures for the DNLC based on the value of ncsize. A system running a 32-bit kernel allocates 36-byte structures for ncsize, while a system running a 64-bit kernel allocates 64-byte structures for ncsize. The value has a further effect on UFS and NFS, unless ufs_ninode and nfs:nrnode are explicitly set.
Unstable
For information, see ncsize (Solaris 10 Releases).
Enables large directory caching
Note - This parameter has no effect on NFS or ZFS file systems.
Unsigned integer
1 (enabled)
0 (disabled) or 1 (enabled)
Yes, but do not change this tunable dynamically. You can enable this parameter if it was originally disabled. Or, you can disable this parameter if it was originally enabled. However, enabling, disabling, and then enabling this parameter might lead to stale directory caches.
No
Directory caching has no known problems. However, if problems occur, then set dnlc_dir_enable to 0 to disable caching.
Unstable
Specifies the minimum number of entries cached for one directory.
Note - This parameter has no effect on NFS or ZFS file systems.
Unsigned integer
40
0 to MAXUINT (no maximum)
Entries
Yes, this parameter can be changed at any time.
None
If performance problems occur with caching small directories, then increase dnlc_dir_min_size. Note that individual file systems might have their own range limits for caching directories. For instance, UFS limits directories to a minimum of ufs_min_dir_cache bytes (approximately 1024 entries), assuming 16 bytes per entry.
Unstable
Specifies the maximum number of entries cached for one directory.
Note - This parameter has no effect on NFS or ZFS file systems.
Unsigned integer
MAXUINT (no maximum)
0 to MAXUINT
Yes, this parameter can be changed at any time.
None
If performance problems occur with large directories, then decrease dnlc_dir_max_size.
Unstable
Defines the maximum amount of memory that is used for the fast-access file system cache. This pool of memory is subtracted from the free memory list.
Unsigned integer
12 percent of free memory at system startup time
2 MB to 100 percent of physmem
% of physical memory
No
None
If heavy file system activity is expected, and sufficient free memory is available, you should increase the value of this parameter.
Unstable