Swap Space

For all practical purposes, swapping can be ignored in Solaris 2. The time-based soft swapouts that occur in SunOS 4 are no longer implemented. vmstat -s will report total numbers of swap-ins and swap-outs, which are almost always zero. Prolonged memory shortages can trigger swap-outs of inactive processes. Swapping out idle processes helps performance of machines with less than 32 Mbytes of RAM. The number of idle swapped-out processes is reported as the swap queue length by vmstat. This measurement is not explained properly in the manual page since that measure used to be the number of active swapped-out processes waiting to be swapped back in. As soon as a swapped-out process wakes up again, it will swap its basic data structures ...

Get Sun Performance and Tuning: Java™ and the Internet, Second Edition now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.