Solaris File System Tuning
This section discusses changes that can be made for le system tuning, and includes topics that
address the following issues:
■
“High File System Page-In Rate” on page 93
■
“Reduce File System Housekeeping” on page 93
■
“Long Service Times on Busy Disks or Volumes” on page 93
Please read the descriptions of the following parameters carefully. If the description matches
your situation, consider making the adjustment.
High File System Page-In Rate
If you are seeing high le system page-in rates on Solaris 8 or 9, you might benet from
increasing the value of segmap_percent. This parameter is set by adding the following line to
the /etc/system le:
set segmap_percent=25
segmap_percent adjusts the percentage of memory that the kernel maps into its address space
for the le system cache. The default value is 12; that is, the kernel reserves enough space to map
at most 12% of memory for the le system cache. On a heavily loaded machine with 4 GB of
physical memory, improvements have been seen with values as high as 60. You should
experiment with this value, starting with values around 25. On systems with large amounts of
physical memory, you should raise this value in small increments, as it can signicantly increase
kernel memory requirements.
Reduce File System Housekeeping
UNIX le system (UFS) volumes maintain the time that each le was accessed. Note that the
following change does not turn o the access time updates when the le is modied, but only
when the le is accessed. If the le access time updates are not important in your environment,
you could turn them o by adding the noatime parameter to the data volume's mount point in
/etc/vfstab. For example:
/dev/dsk/c0t5d0s6 /dev/rdsk/c0t5d0s6 /data0 ufs 1 yes noatime
Long ServiceTimes on Busy Disks or Volumes
Web Server's responsiveness depends greatly on the performance of the disk subsystem. Use the
iostat utility to monitor how busy the disks are and how rapidly they complete I/O requests
SolarisFileSystemTuning
Chapter4 • Platform-SpecicIssuesandTips 93