Managing Systems and Workgroups: A Guide for HP-UX System Administrators

Administering a System: Managing Disks and Files
Managing Swap and Dump
Chapter 6666
1. Enter the amount of the physical memory currently on the local
machine. At a minimum, swap space should equal that amount. Enter
the amount in KB.
————
2. Determine the swap space required by your largest application (look in
the manual supplied with your application or check with the
manufacturer; 1MB = 1,024KB = 10,248 bytes). If you will be running
several applications concurrently, you should add their swap space
requirements together.
————
TOTAL local swap space needed (in KB): sum of 1 and 2
————
Server Swap Space Needs For a system that has local swap and also
serves other systems with swap space, make a second estimation in
addition to the one above.
1. Include the local swap space requirements for the server machine,
based on the estimation from above.
————
2. Add up the total swap space you estimate each client requires. At a
minimum, this number should equal the sum of physical memory for
each client.
————
TOTAL server swap space (in KB): sum of 1 and 2
————
Adjusting Swap Space System Parameters
The default maximum amount of swap space you can configure, for both
device swap and file system swap combined, is approximately 512MB.
The tunable system parameter
maxswapchunks
controls this maximum.
The parameter
maxswapchunks
(default value of 256) limits the number
of swap space chunks. The default size of each chunk of swap space is 2
MB.