A temporary form of data storage is swap space. It should be noted that HP-UX does not "swap" any more, it pages and, as a "last resort" deactivates processes. The process of deactivation replaces what was formerly known as swapping entire processes out.
While executing a program, data and instructions can be paged (copied) to and from secondary storage, if the system load warrants.
Swap space is initially allocated when the system is configured. HP-UX supports two types of swap space: device swap and file system swap. Device swap is allocated on a disk "outside" of any file system space and can be:
- A entire disk
- An area on a disk
- A logical part of a physical disk
If the entire disk hasn't been designated as swap, the remaining space on the disk can be used for a file system. File system swap space is allocated from a mounted file system and can be added dynamically to a running system. Device swap can also be added dynamically to a running system. Sam or the swapon() command can be used to enable device or file system swap.
Pages in category "Swap"
The following 4 pages are in this category, out of 4 total.