ID #1086

Tuning the Solaris 11.x swapfs_minfree parameter

On Solaris 11.2 and later, it is recommended to raised the swapfs_minfree parameter in large-memory systems:

Prior to Solaris 11.1 SRU 11 / SRU 12, a Sun Fire X4270 M3 server with 256GB RAM installed defaulted to:
# echo swapfs_minfree/D |mdb -k

swapfs_minfree:

swapfs_minfree: 8387760

Whereas afterwards including the 11.2-CURRENT, it defaults to:

# echo swapfs_minfree/D |mdb -k

swapfs_minfree:

swapfs_minfree: 1048280

Looking at the SRU release notes regarding swapfs, the following can be found:

# grep swapfs *.txt

readme_11_1_11_4_0.txt:7183295   15803141  SUNBT7183295 swapfs_minfree should be

reworked for large systems

readme_11_1_12_5_0.txt:7183295   15803141  SUNBT7183295 swapfs_minfree should be

reworked for large systems

As a workaround, consider raising the swapfs_minfree parameter in /etc/system using the formula:

GB_RAM/32*1024*1024

For a server had 392GB RAM installed, using the formula above it should be raised to 12,845,056 KB, i.e. ~12.85 GB.

Tags: -

Related entries:

Last update: 2016-07-21 16:39
Author: Andrew Robson
Revision: 1.3

{writeDiggMsgTag} {writeFacebookMsgTag} {writePrintMsgTag} {writeSend2FriendMsgTag} {writePDFTag}
{translationForm}
Please rate this FAQ:

Average rating: 0 (0 Votes)

completely useless 1 2 3 4 5 most valuable

You cannot comment on this entry