Tanti Technology

My photo
Bangalore, karnataka, India
Multi-platform UNIX systems consultant and administrator in mutualized and virtualized environments I have 4.5+ years experience in AIX system Administration field. This site will be helpful for system administrator in their day to day activities.Your comments on posts are welcome.This blog is all about IBM AIX Unix flavour. This blog will be used by System admins who will be using AIX in their work life. It can also be used for those newbies who want to get certifications in AIX Administration. This blog will be updated frequently to help the system admins and other new learners. DISCLAIMER: Please note that blog owner takes no responsibility of any kind for any type of data loss or damage by trying any of the command/method mentioned in this blog. You may use the commands/method/scripts on your own responsibility. If you find something useful, a comment would be appreciated to let other viewers also know that the solution/method work(ed) for you.

Thursday, 7 November 2013

Paging Space: in aix


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="">

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