Sponsored Content
Full Discussion: Increase for the Page space
Operating Systems AIX Increase for the Page space Post 302452155 by bakunin on Thursday 9th of September 2010 12:02:33 PM
Old 09-09-2010
First off, i ask you to discontinue whatever you do that causes the excessive formatting of your posts. Half of your text is various tags.

Quote:
Originally Posted by Mr.AIX
This is our page space , i want some information about page space and I want the good way to how to increase the page space and what's the recommended page space that need to be configured
Paging space is used as a memory-extension in cases your running programs (want to) use more memory than you actually have. In times gone memory was very expensive and it was a good idea to make it look like a system has more memory available than it actually had. Today memory is cheap and one tries to avoid paging (swapping) at all costs.

Still it won't hurt to have some virtual memory available for extraordinary situations (diskspace is even cheaper than memory and hence wasting some of it matters even less), but in day-to-day operation the system should be able to do without using this swap space (paging space) at all costs.

Having said this, the following is a rule-of-thumb suggestion and in no way an exact analysis: I would start (in a system with a today typical memory size of 4-8GB) with 2-4GB of paging space for starters and watch carefully. If this paging space i used quite often you might want to increase the memory size, depending how often paging (that is: transfer of memory content to/from the paging space) really happens.

There are processes which "sleep" in memory for the whole day, get swapped out, start to work once a day and go back to sleep again. In this case you would see some paging space consumption, but not actual paging going on (save for the process waking up and getting swapped out again some while later). In such a case you might want to increase the paging space size to still have the 2-4GB in contention but leave the memory size as it is.

Monitoring the paging space

There are two distinct areas to watch when monitoring the paging space: the paging space consumption and the paging activity itself. Use

Code:
lsps -a

to watch the consumption in percents. Do this regularily, like every 10 minutes for starters, writing the results in a file. Once you have gained some knowledge about the system you can increase the sampling rate and only execute the command every hour or even only once or twice a day. Try the following as a basis for some monitoring script:

Code:
while : ; do
     lsps -a >> /path/to/lsps.monitor."$(date '+%Y%m%d')"
     sleep 600                 # take snapshot every 600sec=10minutes
done

Watching the actual paging activity is done similarily with "vmstat", but vmstat already works contiually, so you don't need any loop:

Code:
vmstat -Itw <interval_in_seconds> >>/path/to/vmstat.monitor."$(date '+%Y%m%d')"

Notice the part titled "page" and especially the "pi" (page in) and "po" (page out) columns. These should be mostly zero. Like with "lsps" start with some small sampling rate which you can increase once you know how the system performs in general.

You will want to read up about performance tuning and monitoring in general. There are some pretty informative threads here, off the top of my memory:

AIX 5.2 performance question
https://www.unix.com/aix/45180-hard-d...y-command.html
AIX : 0 pages swappes

... and probably a dozen more I'm not aware of.

I hope this helps.

bakunin
 

9 More Discussions You Might Find Interesting

1. AIX

Increase in space in mount point.

I am working in AIX 4.3.3 , here when we are doing one activity we ran out of space in one mount point, we need to increase the space in that mout point by reducing it in another mount point, can anybody help me out in carrying this activity. Vipin (3 Replies)
Discussion started by: vipin77
3 Replies

2. UNIX for Dummies Questions & Answers

How do I increase disk space available to a directory?

I know very basic Unix commands s I would really appreacite the assistance of a Unix guru. I am installing an application on a Sun server, when attempting to install I get an error that says I do not have enough sapce allocated for my install directory. Error says it has 7235m but needs 15360m.... (2 Replies)
Discussion started by: rhack
2 Replies

3. Filesystems, Disks and Memory

Calculating Drive Space Increase

I trying to calculate drive space with RAID. I know the equation is: (n-1)/n * drive capacity but, when I use that my calculations don't come out when I compare to what I already know exists: I have 3 - 18.2gb SCSI drives that contain two logical drives C & D. Using the math, (3-1)/3 * 18.2... (1 Reply)
Discussion started by: JTalbot017
1 Replies

4. AIX

how to increase the space unix directores

Hi have IBM aix. unix my directories are full when i use $ df -k filesystem kbytes used avail capacity mounted on /dev/root 288880 288880 288880 100% / /proc 0 0 0 ... (4 Replies)
Discussion started by: raosurya
4 Replies

5. Filesystems, Disks and Memory

how to increase space NCR 4.0

Hello, I have a little problem, I would like to know how to add disk space on an NCR version 4 and above all whether it still contains vdisk space smp001-4 4.0 3.0 /dev/dsk/vdisk15 3940505 3807833 132672 97% /data in the dktab : /dev/dsk/vdisk15 mirror 2 ... (0 Replies)
Discussion started by: magnetic
0 Replies

6. AIX

How to increase space /dev/hd4?

A check disk space and find /dev/hd4 used 99%. How to increase space. Thank you for advice. /home/tecsys > df Filesystem 512-blocks Free %Used Iused %Iused Mounted on /dev/hd4 1048576 20624 99% 5977 68% / /dev/hd2 6815744 653032 91% 59194 ... (4 Replies)
Discussion started by: yapcs88
4 Replies

7. Linux

How to increase root space from another partition?

Hi OS Experts I would like to increase root partition from another partition so that I can save more documents in Home and Desktop. whether it is possible without formating root partition if so please explain here is o/p of df -h Filesystem Size Used Avail Use% Mounted on /dev/sda9... (8 Replies)
Discussion started by: Akshay Hegde
8 Replies

8. Solaris

Increase space in /var

Hi Please can I have some help in increasing /var in my solaris 10 server. At the moment the size configured is small and I need to expand it: df -h Filesystem size used avail capacity Mounted on /dev/dsk/c1t0d0s0 869M 510M 307M 63% / /devices ... (16 Replies)
Discussion started by: fretagi
16 Replies

9. Solaris

How to use space in /tmp to increase root?

Hello All, I have solaris server running, uname -a SunOS host 5.9 Generic_112233-12 sun4u sparc SUNW,Sun-Fire-280R Filesystem Size Used Available Capacity Mounted on /dev/md/dsk/d0 9.8G 8.7G 1.0G 90% / /dev/dsk/c1t1d0s3 4.3G 7.7M 4.2G ... (17 Replies)
Discussion started by: gull05
17 Replies
All times are GMT -4. The time now is 11:18 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy