Paging


 
Thread Tools Search this Thread
Operating Systems AIX Paging
# 1  
Old 03-31-2011
MySQL Paging

Hi ,

I have 8Gb memory in my JS21 server. When I run svmon it shows 3655Mb memory is utilized and 4344Mb free. I have configured 8Gb paging space and 14% is utilized which is 1Gb. I dont have memory issues but just want to know Why 1gb paging is utilized when my almost 4Gb real memory is free? Can anyone give some input...
# 2  
Old 04-01-2011
Hi,
several possible reasons - is this AIX 5.3 ? If so - what are the values of minperm, maxperm and lru_file_repage ? Is your box running DBs or webapplications ?

Regards
zxmaus
# 3  
Old 04-04-2011
Is it still true that AIX will always page out? Even when there is no memory shortage? I recall from AIX 4 days that AIX would always page out "less import" memory pages even if the system had enough free memory.
# 4  
Old 04-04-2011
Quote:
Originally Posted by petervg
Is it still true that AIX will always page out?
No. I suppose this is the background of zxmaus asking which OS-version you are running in this box.

Still, without answering her questions it is quite impossible to answer yours, so you might consider answering them.

bakunin
# 5  
Old 04-04-2011
@petervg:
No, it should only page out when there is RAM shortage these days. There is an early and late/deferred Paging Space allocation mode, that you can export with some env variable to control OS/applications behaviour in terms of Paging Space usage.

@vjm:
As zxmaus said, several reasons. It might be also interessting to have 24/7 monitoring of Paging Space up and running, like a
Code:
nohup vmstat -wtI 2 & >> /somedir/vmstat.log 2>&1

It could be, that the box is not paging at all on day time when you can have a glimpse on it, but at night while running backups or batch jobs etc., it might occure.

When this line above runs for some days, you could check (choose a filesystem for the log that has enough space and isn't critical!) it, if there is any Paging Space Ins or Outs occuring with:
Code:
awk '/kthr/ && !h {print; getline; print; h=1} $1 ~ /^[0-9]+$/ && ( $8 != 0 || $9 != 0 )' vmstat.log

which would produce the following (example) output:
Code:
   kthr            memory                         page                       faults                 cpu             time
----------- --------------------- ------------------------------------ ------------------ ----------------------- --------
  2   0   0     245267      31399     0     1     20     0     0      0    32    852   449  3  3 93  0  0.02   9.5 12:27:32
  6   0   0     245267      31399     0     0     0      8     0      0    30    454   384  1  2 97  0  0.01   5.4 12:27:44
  1   0   0     245459      31204     0     0     22     0     0      0    30    659   416  1  3 96  0  0.01   6.9 12:28:10


Last edited by zaxxon; 04-04-2011 at 08:24 AM.. Reason: marked the page ins and outs bold and underlined
# 6  
Old 04-06-2011
Paging

@zxmaus

oslevel is 5300-07-01-0748

minperm%6 = 20
maxperm% = 80
lru_file_repage = 1

my box is running sybase.
# 7  
Old 04-06-2011
Thank you ...

Try following settings:

vmo -p -o minperm%=3
vmo -p -o maxperm%=90
vmo -p -o lru_file_repage=0

and reboot. I am pretty sure your paging space utilization will stop afterwards.

Regards
zxmaus
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. Shell Programming and Scripting

Output (Paging)

how to get output of a file which is large screen by screen (1 Reply)
Discussion started by: mayur_verma
1 Replies

2. AIX

Paging space

Hi, I have paging size 2048M showed from topas and 10240M showed from "lsps -a", can anyone tell what is the difference? and how to change the PAGING SIZE (showed in topas) to 8192M? Can you please tell in detail step? Thanks! Victor #topas Topas Monitor for host: egsprc01dev ... (10 Replies)
Discussion started by: victorcheung
10 Replies

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

4. AIX

Paging Rate

Hi Friends, Can you please answer the following questions. 1) What is Paging rate ? 2) How to Calculate Paging rate from the following topas command output? Faults 206 Real,MB 28671 Steals 311 % Comp 71.1 PgspIn 1 % Noncomp 28.8 ... (3 Replies)
Discussion started by: deshaipet
3 Replies

5. Red Hat

How to find paging

Hi, What is the command to know paging in RedHat? vmstat talks about swapping but not paging. Also how much paging should be tolerated in the system and how to reduce paging. Thanks in advance. (1 Reply)
Discussion started by: ssuhaib
1 Replies

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

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

8. Shell Programming and Scripting

paging

I need a script which sends a mail when paging is happening and which process is causing paging? (5 Replies)
Discussion started by: jayaramanit
5 Replies

9. Filesystems, Disks and Memory

Paging and Swapping

Hi Guys: Would like to know how to check system swapping and paging and some theory on how they function. I am an oracle dba and my environment is 8171 on AIX 433. We have a 1GB of RAM on the box and I am educating myself to see how much more SGA can be accommodated on the box and what are the... (2 Replies)
Discussion started by: ST2000
2 Replies

10. UNIX for Dummies Questions & Answers

Paging

Hi all, Is there a paging utility in UNIX, when we can page some one for some condition Best Regards Omran (1 Reply)
Discussion started by: omran
1 Replies
Login or Register to Ask a Question