Page faults on OS


 
Thread Tools Search this Thread
Operating Systems Solaris Page faults on OS
# 1  
Old 05-22-2014
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 the SWAP usage and it seems ok (df -h):

Image


regards
# 2  
Old 05-22-2014
for temporarily kill/stop the unwanted process, then see ..how it is working.
# 3  
Old 05-22-2014
this is the df -h extract for the swap:

Code:
swap                    99G   400K    99G     1%    /etc/svc/volatile
fd                       0K     0K     0K     0%    /dev/fd
swap                    99G   1.1M    99G     1%    /tmp
swap                    99G    48K    99G     1%    /var/run

# 4  
Old 05-22-2014
You probably already know this, but just in case... Paging and swapping are not the same thing and your OS could be doing one or both.

As for finding out what's going on in more detail, I'd recommend running "sar" for a few minutes to see what's going on. I don't have access to Solaris anymore so I can't be 100% certain which flags to specify to get paging or swapping related info. So try "man sar" to find the options that look interesting on your system.

But here's an example of what I'm talking about from my Ubuntu system showing paging, swapping, and some general memory activity.

Code:
$ sar -B 5 3
Linux 3.2.0-24-generic (nowhere)     05/22/2014     _x86_64_    (8 CPU)

07:42:45 AM  pgpgin/s pgpgout/s   fault/s  majflt/s  pgfree/s pgscank/s pgscand/s pgsteal/s    %vmeff
07:42:50 AM      0.00     18.40   1128.00      0.00    717.80      0.00      0.00      0.00      0.00
07:42:55 AM      0.00     24.00   1201.40      0.00   4548.00      0.00      0.00      0.00      0.00
07:43:00 AM      0.00     32.00    465.60      0.00    548.20      0.00      0.00      0.00      0.00
Average:         0.00     24.80    931.67      0.00   1938.00      0.00      0.00      0.00      0.00

$ sar -W 5 3
Linux 3.2.0-24-generic (nowhere)     05/22/2014     _x86_64_    (8 CPU)

07:45:23 AM  pswpin/s pswpout/s
07:45:28 AM      0.00      0.00
07:45:33 AM      0.00      0.00
07:45:38 AM      0.00      0.00
Average:         0.00      0.00

$ sar -R 5 3
Linux 3.2.0-24-generic (nowhere)     05/22/2014     _x86_64_    (8 CPU)

07:46:07 AM   frmpg/s   bufpg/s   campg/s
07:46:12 AM    -87.20      0.00      0.40
07:46:17 AM    -51.40      0.00      0.00
07:46:22 AM    -23.00      0.00     -0.20
Average:       -53.87      0.00      0.07

# 5  
Old 05-22-2014
You can usually also use vmstat to get this sort of info. have a look in the manual page to see which column is which. if you are getting lots of page-in activity (processes will wait) then have a look at your process memory allocation:-
Code:
ps -el|sort -nk 10

This should list processes and sort them with the largest memory allocation at the bottom (assuming that the SZ column is column 10) and you can then investigate the source of those processes.

Does that help?



Robin
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

AIX 7.1 high page faults

hi guys i hope you can help me with this situation. i have 2 lpar with aix 7.1 and oracle 11gr2 in grid mode. when i start nmon to check the current system health i notice that page fault are over 3000/s. than i have opened a case with ibm and they say that the problem is not paging nor... (10 Replies)
Discussion started by: gullio23
10 Replies

2. Shell Programming and Scripting

script for adding page number before page breaks

Hi, If there is an expert that can help: I have many txt files that are produced from pdftotext that include page breaks the page breaks seem to be unix style hex 0C. I want to add page numbers before each page break as in : Page XXXX Regards antman (9 Replies)
Discussion started by: antman
9 Replies

3. Shell Programming and Scripting

Print multiple copies page by page using lp command

Hi I have a pdf file that is being generated using the rwrun command in the shell script. I then have the lp command in the shell script to print the same pdf file. Suppose there are 4 pages in the pdf file , I need to print 2 copies of the first page, 2 copies of the second page , then 2... (7 Replies)
Discussion started by: megha2525
7 Replies

4. Web Development

Page load time- local page

Hi Is there a way to calculate the page load time, I am trying to calculate the load time of a page locally. I found tools to do this over http or https but none that work locally. Any ideas? Thanks. (4 Replies)
Discussion started by: jamie_123
4 Replies

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

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

7. Programming

Segmentation Faults

Hello...I am developing a code that wil deal with the string manipulation functions on char arrays which have been declared as char *. Now whenever I try to use these variables in functions like strcat().strcpy() ...etc,it gives me a segmentation fault error... I got a way to work around this... (4 Replies)
Discussion started by: tej.buch
4 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