Tanti Technology

My photo
Bangalore, karnataka, India
Sandeep Kumar | Founder, Tanti Technologies At Tanti Technologies, I share practical knowledge, hands-on tutorials, and real-world solutions across Python, SQL, Docker, Kubernetes, CI/CD, AWS, Azure, Machine Learning, Generative AI, and Agentic AI. My mission is to simplify complex technologies and provide actionable insights that help developers, engineers, and businesses learn faster, build better, automate smarter, and innovate with confidence. 🚀 Learn • Build • Automate • Innovate Follow Tanti Technologies for practical technology insights and next-generation AI solutions.

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