AIX 7.1 high page faults


 
Thread Tools Search this Thread
Operating Systems AIX AIX 7.1 high page faults
# 8  
Old 11-26-2012
just an idea...

Oracle Architecture and Tuning on AIX (v 2.30).pdf

Code:
Starting with Oracle 11.2.0.2 when AIX 6.1 or AIX 7.1 is detected, Oracle will use O_CIOR option to open a file on JFS2. 
Therefore you should no longer mount the filesystems with mount option –o cio.

When Oracle is open a file in cio-mode your system will not cache this data.
Maybe you need do define a greater SGA to reach a good cache hit:

Code:
SGA_MAX_SIZE
Starting with Oracle 9i, the Oracle SGA size can be dynamically changed. It means the DBA just 
needs to set the maximum amount of memory available to Oracle (SGA_MAX_SIZE) and the initial 
values of the different pools: DB_CACHE_SIZE, SHARED_POOL_SIZE, LARGE_POOL_SIZE etc… 
The size of these individual pools can then be increased or decreased dynamically using the ALTER SYSTEM 
command, provided the total amount of memory used by the pools does not exceed SGA_MAX_SIZE. If LOCK_SGA = TRUE, 
his parameter defines the amount of memory Oracle allocates at DB startup in “one piece”! Also, 
SGA_TARGET is ignored for the purpose of memory allocation in this case.

PS: Our DB-Mashine runs "normal" with 30.000 Page Faults/sec

Last edited by -=XrAy=-; 11-26-2012 at 04:49 AM..
# 9  
Old 11-26-2012
zero filled page faults is an application behavior (e.g., malloc). Very little a system administrator can do.

File caching is automatic with AIX. Starting with AIX 6.1 the defaults for file caching behavior are pretty to very good.

Code:
              8388608 memory pages
              8058736 lruable pages
              2428935 free pages

24/84 % memory free
80/94 % memory demand pageable (least recently used "able")

Code:
              1404618 pinned pages
               384661 file pages
               384661 client pages
                 66.5 percentage of memory used for computational pages

4/84 % file caching (client == jfs2 files, files = jfs + jfs2, so (nearly) all files are jfs2
14/84 % memory pinned
computational memory is all working memory (application memory, plus program code (text))
Code:
                    5 pending disk I/Os blocked with no pbuf
                    0 paging space I/Os blocked with no psbuf
                 2228 filesystem I/Os blocked with no fsbuf
                 1537 client filesystem I/Os blocked with no fsbuf
                 4155 external pager filesystem I/Os blocked with no fsbuf

Above tells me:
* little raw disk i/o being done and/or sufficient buffers
* no paging space activity
* some jfs activity, and initial fs buffers could be tuned to higher number
* some real nfs/cd/dvd activity needing more buffers
* same for jfs2
In short, file system buffering should be checked.

ioo -a
nfso -a

commands will list the tunable variables.
# 10  
Old 11-30-2012
thanks for all the replays, but i cannot understand 1 things.

why aix tell me there is page faults when all disks are running in asm mode and no one are running with raw/jfs etc...

the vmm take count of disk not formatted with unix filesystem also or take count only with know filesystem.

thanks again
Giulio
# 11  
Old 12-01-2012
paging defined

"Paging" in AIX stands for any physical i/o. A page fault is simplyy when an application wants to access something in memory that is not there.

A "zero-page" fault is simply the first time a page (generally a 4k concept, but tuning can make frames (the in core page concept) be allocated in 64k, or much larger (16M byte iirc). So, for a zero-page fault, no physical i/o is needed when there is free memory available (as is your case).

Way back when, AIX was the the first UNIX to use "free memory" for file caching, rather than a set number of buffers. This has made dicusssions about paging difficult. On older UNIX (as I do not know if Solaris/HPUX/other *NIX, or Linux use file caching like AIX) the term paging referred to what AIX calls "paging space" i/o.

If I were to visit on-site to look at your situation I would look at, among other things, vmstat -I to see paging space and file paging activity.

Again, from the data above Ido not see a reason to link there is a physical i/o problem. ANd when no physical i/o is needed the paging stats can get quite high.

What would help me, is for your to rephrase your problem - or question. JUst to make sure wee are on the same page, as it were. Statistics alone can be very misleading/confusing.

---------- Post updated at 03:43 PM ---------- Previous update was at 03:34 PM ----------

Code:
                 2228 filesystem I/Os blocked with no fsbuf 
                 1537 client filesystem I/Os blocked with no fsbuf 
                 4155 external pager filesystem I/Os blocked with no fsbuf

My "feeling" regarding these statistics is that the system has some initial start up issues, because the fsbufs are too small initially - but AIX is automatically expanding them.

IIRC the AIX/Oracle document referenced above also talks about how to cause AIX to increase these buffers faster (look for the command ioo in the document).

Note: I could type all the commands here, but that is, imho, a false sense of security - as if all is covered. What I hope is that after reading you will have a new question or questions - and from your new questions I will also better understand your problem. In short, I believe in dialog, not "This is it...", or "wave a magic wand" kind of answers.

Last edited by MichaelFelt; 12-01-2012 at 10:48 AM.. Reason: get the CODE block to display as expected.
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. UNIX for Beginners Questions & Answers

New to AIX: How do I setup high availability on an AIX System

I am new to AIX but not new to unix. I have an interview for an AIX systems admin position and I know they want someone who has knowledge of High Availability, Failover and LPARs From my research so far, It appear powerha is used to setup high availability and failover on Power systems but is... (2 Replies)
Discussion started by: mathisecure
2 Replies

2. Solaris

Page faults on OS

Hi guys, I have a zone on a M5000 server running solaris 10. The zone has an SAP application running on it and facing some performance issues. As part of the troubleshooting, I've been recommended to look for any paging on the OS. Please advise how to look for the paging. I've been looking at... (4 Replies)
Discussion started by: frum
4 Replies

3. AIX

AIX high availability 1-3/69

Hi, Can someone help and give the answer for the following questions: 1. When PowerHA SystemMirror 7.1 is installed on AIX 7.1, what RSCT component does Cluster Aware AIX (CAA) replace? A. Group Services B. Resource Manager C. Topology Services D. Resource Monitoring and Control... (2 Replies)
Discussion started by: walterchang100
2 Replies

4. AIX

Lots of page faults on AIX mySQL lpar

Hi, OS = AIX 5.3 Large number of page faults recently start to occure on AIX 5.3 lpar with mysql database installed. I need help in setting AIX OS parameter to solve the paging problem and some guidance on interpreting my stats t Code: # vmstat... (5 Replies)
Discussion started by: crosys
5 Replies

5. AIX

Lots of page faults and free memory

Hello, I've been reading your forums for quite a while and the great amount of information I find here always come in hand.This time however, I need some specific help... I have a doubt with an AIX server which I'm failing to understand as I'm new to its concept of memory management... ... (8 Replies)
Discussion started by: flpgdt
8 Replies

6. Solaris

High Page In and Executable page In

Hi, Currently I'm experience very high page ins on my system running on solaris 10. From vmstat, the page ins figure is very high, further drill down shows the page ins are from file system and occassional spike in executable page ins. Details as follow: oracle@perch:/files>> vmstat 5... (9 Replies)
Discussion started by: srage
9 Replies

7. Solaris

Page Fault very high

Hi, We are running SUN sparc 5.8, notice frequent "Page Faults" message from our monitor s/w "ServerVantage" coming but no message display in SUN syslog or messages log. Any ideas why or what to check? thanks, Ahmad (2 Replies)
Discussion started by: Ahmad
2 Replies

8. AIX

High Page Faults

Sorry my poor english In 570 pseries nmon shows excessive page faults, ascents of something more than 30000 Page faults. System: AIX 5.2 ML5 Processor Type: PowerPC_POWER5 Number Of Processors: 2 Processor Clock Speed: 1656 MHz CPU Type: 64-bit Kernel Type: 64-bit Memory Size: 2816 MB ... (1 Reply)
Discussion started by: daviguez
1 Replies

9. HP-UX

Intransient blocking page faults

Hi, Will anybody tell me what is this 'intransient blocking page faults' in HP-UX, it is in the structure _pst_vminfo in the header file /ust/include/sys/pstat/vm_pstat_body.h? (4 Replies)
Discussion started by: sushaga
4 Replies

10. HP-UX

Copy on Write page faults

Hello Please can you tell me how to access COPY ON WRITE page faults in HP -UNIX. I found the structure in /usr/include/sys/vmmeter with the structure name vmmeter. Please tell me the function to fill the values to this structure and also the arguments for function.:: (5 Replies)
Discussion started by: manjunath
5 Replies
Login or Register to Ask a Question