Paging space


 
Thread Tools Search this Thread
Operating Systems AIX Paging space
# 8  
Old 04-25-2010
Quote:
Originally Posted by Scrutinizer
Hi, paging space should most certainly be mirrored.
You are right. The paging space contains program code that does not fit into RAM. Imagine what would happen if the single disk that contains the paging space fails. The effect would be as if you lose a memory chip. Therefore you definitely mirror your paging space if you mirror your rootvg already.
Quote:
Originally Posted by Scrutinizer
IMO mirroring paging space will not impact performance very much and may even improve performance in some cases.
I do not know what your AIX background is but as you answer questions about AIX memory management you must be experienced. However, I think here you took the wrong turn.
If you use dedicated SCSI disks for you rootvg those disks usually deliver about 150 to 300 IOPS. With those the disks turn to 100% busy and from then on your GHz Power CPUs (with currently around 4.000.000.000 cycles per second) sit there idle. Improve performance? Well... probably in a micropartion environment you manage to completely deactivate the CPU cycles for the server paging and transfering the cycles to other LPAR - these might then indeed improve their performance. Smilie

If you use SAN disks for the rootvg you may get a higher number of IOPS but never get close to anything taking place in RAM. More likely using the SAN that way will interfere with other servers that use the same physical disks in the underlying SAN boxes. So again the impact on performance is huge.

Therefore you do not want the paging space being used. Mind that I do not say that there must be no paging space. But paging space is meant as a last resort in case an unexpected request for more memory appears. An AIX administrator will always strieve for calculating how much memory the server's applications need so that it runs in RAM and make that amount of RAM available. An AIX server that uses paging space all the time is not sized correctly.
# 9  
Old 04-25-2010
@shockneck: I understand Scrutinizer comment to be about mirrored vs unmirrored pagination performance, not about pagination vs RAM.
# 10  
Old 04-26-2010
Hi,

from a performance point of view, paging space should be spread across as many disks as possible. Unfortunately it is as well true, that the OS needs paging space to work properly - and if a paging space disk fails, the system will halt, on reboot the paging space will be disabled. So the best solution is to create more than one paging space - each one on a separate disk - keep them mirrored or proteced by a raid5 or vio-paired storage. Each paging area should be same size - and AIX will use the least busy one at any given moment.

Hope that helps
kind regards
zxmaus

Last edited by zxmaus; 04-26-2010 at 07:55 AM..
# 11  
Old 04-26-2010
Quote:
Originally Posted by zxmaus
Each paging area should be same size
Absolutely true and - sadly - very often neglected!

The reason is that AIX is trying to use available paging space parts in a "round-robin" schema per default (and, to my knowledge, this default behaviour is not changeable).

If the system has uniformly sized paging space chunks available then the round-robin usage will result in some sort-of stripeset (with stripes the size of LPs), while unevenly sized paging spaces will measurably slow down the allocation/deallocation process.

To take heed of this was more important when "disk" was a physical device and employing all the disks available improved paging performance (if only on a low level). Today the possible gain from having multiple paging spaces is minimal most times, because "disk" is many times a SAN share through a VIO-Server and spreading the paging load across several of these shares will gain not much at all.

For the reasons given above (and in case the conditions are met) it is therefore in most cases better to have only one paging space instead of several ones nowadays - and to not having to use it.

I hope this helps.

bakunin
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

No Paging Space Available

Whilst perfoming some tests on lvm's I managed to crash our test box. No real problem as it is only used by our tech team. however I would like to know why this was actually caused as the task being performed at the time was one which I though would not have any impact. Using dd I was... (5 Replies)
Discussion started by: tugger
5 Replies

2. AIX

LV without Paging Space

Hello dear friends, We have VG filevg which consists of 2 PVs when I rechecked the VG there is no Pagingspace LV.. The VG is usually Highly loaded because much reads and writes.. Is this a must to create Paging space on the specified LV? (2 Replies)
Discussion started by: Vit0_Corleone
2 Replies

3. AIX

paging space

Hello everyone I have a doubt about how many paging space can have in the same disk. lsps -a Page Space Physical Volume Volume Group Size %Used Active Auto Type paging00 hdisk0 rootvg 3072MB 1 yes yes lv hd6 hdisk0 ... (4 Replies)
Discussion started by: lo-lp-kl
4 Replies

4. AIX

reduce used paging space

Hi I have used gzip on AIX and the used paging space has jumped from 7% to 20%. The gzip process is finished since a long time. But the used paging space is still the same. How to release this space ? (1 Reply)
Discussion started by: bfarah
1 Replies

5. AIX

Paging space

Hello everyone I have 4g of paging space in my rootvg disk I´m going to reduce them to 1gb in my rootvg disk and add 3gb of paging space on my san disk. My rootvg disk is mirror. My question is I can do this on line ? and I can do with the mirror ? or I need to unmirror first my... (2 Replies)
Discussion started by: lo-lp-kl
2 Replies

6. UNIX for Dummies Questions & Answers

Paging space definition

sorry for this silly question, I am new to UNIX, what is meant by paging space and what is its purpose? what is also meant by hd6 paging space? (2 Replies)
Discussion started by: docaia
2 Replies

7. AIX

paging space out high

Hello, we have a problem with lpar with AIX 5.3, the issue is that has high level paging space with: _sqlsrv2 and its incremented continously (1 Reply)
Discussion started by: lo-lp-kl
1 Replies

8. AIX

How to distribute paging space among multiple PV

Greetings I have an older box (H50) that has it's paging space setup the following way: $ lsps -a Page Space Physical Volume Volume Group Size %Used Active Auto Type paging00 hdisk0 rootvg 224MB 1 yes yes lv hd6 hdisk0 ... (4 Replies)
Discussion started by: outtacontrol
4 Replies

9. AIX

Paging Space per process

This is my first post, and I am new to the UNIX world. Hopefully this question won't be too lame. I know that I can use topas to see the paging space used by some processes. I would like to script something that can add up the paging space used by process owned by or associated with an... (1 Reply)
Discussion started by: alntht
1 Replies

10. AIX

swap space / paging space

how do you get the paging space reduced without rebooting the machine ? the os is aix (2 Replies)
Discussion started by: aaronh
2 Replies
Login or Register to Ask a Question