1843047 Members
2870 Online
110212 Solutions
New Discussion

excessive paging

 
SOLVED
Go to solution
Alan Buenaventura
Occasional Contributor

excessive paging

Hi,

How do you monitor excessive paging? What is the reference value to say that execessive paging is occuring?

Thanks
-Alan
8 REPLIES 8
Leif Halvarsson_2
Honored Contributor

Re: excessive paging

Hi
You can use vmstat with an argument (sample interval) to monitor paging.
Example: vmstat 5
See the man page for vmstat.
Alexander M. Ermes
Honored Contributor

Re: excessive paging

Hi there.
command is 'swapinfo -a'.
Shows, whether your machine is swapping on devices. If yes, think about the structure of the applications / databases you run.
Or buy more memory.
Rgds
Alexander M. Ermes
.. and all these memories are going to vanish like tears in the rain! final words from Rutger Hauer in "Blade Runner"
Alan Buenaventura
Occasional Contributor

Re: excessive paging

Thanks Leif & Alexander, but how can I tell whether excessive paging is occuring, like from vmstat output, what would be the reference value of the page-in/page-out rate for normal and/or excessive paging.

-Alan
U.SivaKumar_2
Honored Contributor

Re: excessive paging

Hi,
What is your dbc_max_pct and dbc_min_pct kernel
paramters values ?
Paging may not present as serious a problem as swapping, because an entire program does not have to reside in memory in order to run. A small number of page-outs may not noticeably affect the performance of your system.

To detect excessive paging, run measurements during periods of fast response or idle time to compare against measurements from periods of slow response.

Use vmstat to monitor paging.
added to the free list by page-out activity(po). This value should be zero.
If your system consistently has excessive page-out activity, consider the following solutions:

1)install more memory
2)move some of the work to another system
3)configure your kernel to use less memory by
tuning dbc_max_pct and dbc_min_pct

regards,
U.SivaKumar
Innovations are made when conventions are broken
Leif Halvarsson_2
Honored Contributor

Re: excessive paging

As U.SivaKumar already have told there should be very low (or zero) po activity if evrything is OK. If you want a more "user-friendly" tool to monitor your system you can use the GlancePlus. This is licensed but there is a 60 days trial version on the HP-UX media.
John Bolene
Honored Contributor

Re: excessive paging

You can also use top to see if swapper is using more than 1% of CPU. If it is up to 5 or 10%, there is a lot of memory swapping going on.

This solution does not require any money to be spent.
It is always a good day when you are launching rockets! http://tripolioklahoma.org, Mostly Missiles http://mostlymissiles.com
Bill Hassell
Honored Contributor
Solution

Re: excessive paging

The most important value is po (page out). pi (page in) counts program starts as well as page in from swap and there is no way to separate the two, so ignore page in. The absolute numbers are typically: less than 10, ignore it, paging is very low. Between 10 and 50, the page out numbers are getting high but is it steady? Having a page out rate of 75 once every hour isn't of much concern, but a page out rate of 25 that is always occurring means you are out of RAM most of the time.

Numbers in the 100's indicate a fair amount of paging and more RAM is definitely advised but as always, a large burst once a day may be acceptable.


Bill Hassell, sysadmin
Alan Buenaventura
Occasional Contributor

Re: excessive paging

Thanks Bill, that's an enlightenment.
Thanks to all who helped. Now for the points.... :-)

-Alan