When ever real memory fill or more than 80% using then paging space coming to sense.
Paging space is called swap space nothing but a logical volume.
To view the current paging spaces:
# lsps – a
What is logical volume for paging space?
# lsvg –l rootvg
Hd6 (this is the default logical volume)
If real memory is <256 2="" can="" create="" mb="" memory="" of="" paging="" real="" space.="" span="" the="" then="" times="" you="">256>
If real memory is >= 256 MB then you can create 75% of the real memory paging space.
To create the paging space:
# mkps –s 2 rootvg
“2” no of LVs
# mkps –s 2 pagingDB1 rootvg
“paggingDB1” name for paging space.
To automatic activate paging space:
# chps –a y pagingOO
To increase paging space:
# chps –s 5 pagingOO
To decrease paging space:
# chps –d 5 pagingOO
paging space attributes can be stored in /etc/swapspaces file
To remove paging space:
# rmps –pagingOO
Before removing the paging space you have to deactivate paging space to remove;
To deactivate the paging space # swapoff pagingOO
entries will be removed from /etc/swapspaces file
To activate the paging space # swapon -a pagingOO
You can also create/ change paging space using with smit
# smit mkps
# smit chps
Rules to create paging space to best performance:
1) Create one paging space per one disk
2) Please make sure the size of both paging spaces created on two different disks.
3) In case of two paging spaces then that are should be in rootvg
4) Do not put paging space on currently heavily utilized disks.
No comments:
Post a Comment