Professional Documents
Culture Documents
13 Paging Space
13 Paging Space
Copyright IBM Corporation 2004 Course materials may not be reproduced in whole or in part without the prior written permission of IBM.
3.1
Unit Objectives
After completing this unit, you should be able to: Define why paging space is required in AIX List and monitor the paging space utilization of the system Perform corrective actions to rectify too little or too much paging space scenarios
RAM Usage
Operating System Database TCP/IP 8 MB FREE
4 KB
4 KB
Paging Space
Copyright IBM Corporation 2004
Paging Space
Is a secondary storage area for over-committed memory Holds inactive 4 KB pages on disk Is not a substitute for real memory
hd6
paging00
paging01
Paging Space
List Paging Activity
# Isps -a
Page Space Physical VolumeVolume Group Size hd6 paging00 hdisk0 hdisk2 rootvg rootvg %Used Active Auto yes yes yes yes Type lv lv 64 MB 43% 64 MB 20%
Total RAM
# Isattr -El sys0 -a realmem realmem 262144 Amount of usable physical memory in KB False
Paging Space Activated at startup # cat /etc/swapspaces hd6: dev = /dev/hd6 paging00: dev = /dev/paging00
Copyright IBM Corporation 2004
Volume group name SIZE of paging space (in logical partitions) PHYSICAL VOLUME name Start using this paging space NOW? Use this paging space each time system is RESTARTED?
# + + +
F4=List F8=Image
Paging space name Volume group name Physical volume name NUMBER of additional logical partitions Or NUMBER of logical partitions to remove Use this paging space each time system is RESTARTED?
# # +
F4=List F8=Image
Checkpoint
1. What problems can you conclude from the following listing?
Page Space hd6 Physical Volume hdisk0 Volume Group rootvg rootvg rootvg Size 64 MB 64 MB 16 MB %Used Active 43% 7% 89% yes yes yes Auto Type yes yes yes lv lv lv
___________________________________________________ ___________________________________________________ ___________________________________________________ ___________________________________________________ ___________________________________________________ ___________________________________________________ 2. The size of paging00 (in the above example) can be dynamically decreased. True or false? ___________________________________________________
Copyright IBM Corporation 2004
Unit Summary
Paging space is a requirement in AIX for the system to boot up. The default paging space is /dev/hd6. The percent utilization of all the paging spaces should be regularly monitored to ensure that the system has the correct amount of page space defined. The lsps command can be used to do this. Paging space can be inactivated and the size can be increased or decreased dynamically.