Increase for the Page space


 
Thread Tools Search this Thread
Operating Systems AIX Increase for the Page space
# 1  
Old 09-07-2010
Increase for the Page space

Guy's

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


Page Space Physical Volume Volume Group Size %Used Active Auto Type Chksum

hd6 hdisk0 rootvg 512MB 19 yes yes lv 0




# 2  
Old 09-07-2010
Memory performance

Paging space

Is it enough?

Last edited by john1212; 09-08-2010 at 09:59 AM..
# 3  
Old 09-08-2010
double size of memory has always been a good setting to me

but just up to 20gb

I don't give a system 80gb swap, with 40gb of memory



to increase, check out the mkps command, as well as swapon and swapoff
# 4  
Old 09-08-2010
Default:
If real memory is less than 256 MB, paging space is two times real memory.
If real memory is greater than or equal to 256 MB, paging space is 512 MB.
# 5  
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
# 6  
Old 09-09-2010
Hi,

The implementation of the policy page-space is very complicated to make it real effective.
Sometimes, with some hardware configurations recommended the development of several page-space, one page on each local disk. Then the operations on the page space are actually performed in the area of the disk cache, avoiding a physical write to disk.
For example, a large page swap disk causes the transmission swap-memory block / limit the availability of disk space. IBM does not allow the page to swap more than 20% of disk capacity.
As for the price of IBM introduces newer SSDs. Oracle Database already knows how to use it.
As for page space even remember the versions of AIX 4.x
For example, NFS needs a lot of page space. What if almost all the disk space is available via NFS.
Applications with databases, CATIA want most memory and swap.
The real-time systems would be ideal that the system did not benefit from the swap, but it's just an idea.
Each disk operation is extremely longer time than in memory, cpu very speed, therefore, multi-tasking.
I admit that given by me default values are sometimes inadequate.
Often better to create a second page-space on the second disk than to increase an existing one. Often better to create file page-space then create or increase page-space. You can deactivate file without reboot!!!!
Bye
# 7  
Old 09-15-2010
How to increase the page space to 1GB and is this recommended ?
Login or Register to Ask a Question

Previous Thread | Next Thread

9 More Discussions You Might Find Interesting

1. 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

2. 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

3. 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

4. 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

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

7. 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

8. 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

9. 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
Login or Register to Ask a Question