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 the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.