tmpfs:tmpfs_maxkmem
Parameter
- Description
-
Defines the maximum amount of kernel memory that TMPFS can use for its data structures (tmpnodes and directory entries).
- Data Type
-
Unsigned long
- Default
-
One page or 4 percent of physical memory, whichever is greater.
- Range
-
Number of bytes in one page (8192 for sun4v systems, 4096 for all other systems) to 25 percent of the available kernel memory at the time TMPFS was first used.
- Units
-
Bytes
- Dynamic?
-
Yes
- Validation
-
None
- When to Change
-
Increase if the following message is displayed on the console or written in the messages file:
tmp_memalloc: tmpfs over memory limit
The current amount of memory used by TMPFS for its data structures is held in the
tmp_kmemspace
field. This field can be examined with a kernel debugger. - Commitment Level
-
Unstable