Kernel-Managed Swap Facility (KMSF) Manual

Managing KMS Files
Kernel-Managed Swap Facility (KMSF) Manual425824-005
3-11
Altering Your KMSF Configuration
Altering Your KMSF Configuration
Alter your configuration as necessary to ensure proper system operation. Using
NSKCOM, you can resize swap files, add and delete swap files, and change the
threshold at which EMS messages are generated.
Writing Your Own Operator Guidelines
Because KMSF is vital to system operations, consider writing your own operator
instructions for altering the KMS configuration. You might want to provide guidelines for
the conditions under which to increase the amount of swap space, on which disks to
add swap files, and when it is permissible to resize a swap file.
Preparing for Change
You may need to alter your configuration to improve process creation or to prepare for
a change that might consume a large amount of swap space. In general, consider
altering your configuration by increasing the processor’s swap space in the following
situations:
If you increase the number of processes running in a processor.
If you add a program that requires large amounts of memory.
Adding Swap Files
Use the NSKCOM ADD command to create swap files and add them to your KMSF
configuration. The swap files are not enabled for use until you enter the START
command or load the processor. See Section 4, NSKCOM Command Reference, for
attributes that you can specify. In Example 3-8, the ADD command is used to add a
swap file for CPU 1 with a threshold of 75 percent.
Example 3-8. Adding a Swap File
NSK-ADD SWAPFILE $SWAP.KERSWAP.CPU01B CPU 1, THRESHOLD 75
File $SWAP.KERSWAP.CPU01B was added to ZSYSCFG
ADD was successful: $SWAP.KERSWAP.CPU01B
NSK-