1834009 Members
2161 Online
110063 Solutions
New Discussion

Re: memory page swapping

 
Gary Yu
Super Advisor

memory page swapping

Hi, I'm going to tuning the Buffer cache of Oracle running on my HPUX 11.0 box. Oracle suggest to increase the buffer cache it uses as much as possible, as long as it doesn't cause frequent page swaping on the system. I just wantto know, how can I check the memory page swapping information, like the freqency or percentage ...

thanks in advance
5 REPLIES 5
Helen French
Honored Contributor

Re: memory page swapping

The best tool would be GlancePlus:

# gpm
Life is a promise, fulfill it!
Sandip Ghosh
Honored Contributor

Re: memory page swapping

You can look at swapinfo -tm.
Look for the device Swap. In ideal condition it should be zero.

Sandip
Good Luck!!!
Vincent Fleming
Honored Contributor

Re: memory page swapping

As a general rule, you should ignore the page-in metrics because most modern UNIXes will actually start programs by paging in the first page, then as it executes, demand pages in the rest of the program. I'm not sure about HP-UX, however. SVR4 does this for sure.

So, watch the page-out parameters... if this is more than just single-digits, you're paging.

Good luck!
No matter where you go, there you are.
MANOJ SRIVASTAVA
Honored Contributor

Re: memory page swapping

Hi

export DISPLAY=10.2.10.30:0.0
gpm &

or just glance in the text version ,


Manoj Srivastava
Wodisch
Honored Contributor

Re: memory page swapping

Hi Gary,

don't do that (increasing your UNIX buffer cache)!
If possible to the oppposite.
If you have the "Advanced JFS" (=Online VxFS) then actually reduce your UNIX buffer cache to at most 300-400MB, and use the special mount options "convosync=direct,mincache=direct" for the filesystems containing the Oracle data-files (but ONLY those).
The freed RAM use to increase your SGA (espcecially the "shared pool").

Just my $0.02,
Wodisch