maxswapchunks

maxswapchunks sets the maximum amount of swap space that can be configured, system-wide.

Acceptable Values:

Minimum
1
Maximum
16384
Default
256

Specify integer value. For more information, see Specifying Parameter Values.

Description

maxswapchunks specifies the maximum amount of configurable swap space on the system. The maximum swap space limit is calculated as follows:

Selecting Values

The amount of swap space available on system disk devices is determined by the contents of file /etc/fstab, and is not affected by kernel configuration.

On a stand-alone system or on a cluster client with local swap space, maxswapchunks should be set to support sufficient swap space to accommodate all swap anticipated. Set the parameter large enough to avoid having to reconfigure the kernel.

For a server node, set the parameter to include not only the server's local swap needs, but also sufficient swap for each client node that will use the swap. At a minimum, allot swap space equal to the amounts of memory used by each client.

Related Parameters

The total configurable swap space is defined by:

maxswapchunks times swchunk times 1024 bytes

System-imposed maximum total swap space is approximately 34 Gbytes.

Additional Information