1833883 Members
1855 Online
110063 Solutions
New Discussion

swapping vs. paging

 
Sanjeev gupta_2
Frequent Advisor

swapping vs. paging

Hi
What is difference between "page out rate"/"swap out rate" and "page in rate"/"swap in rate"

Thx
Sanjeev Gupta
5 REPLIES 5
Muthukumar_5
Honored Contributor

Re: swapping vs. paging

check this,

http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=135098

HTH.
Easy to suggest when don't know about the problem!
Muthukumar_5
Honored Contributor

Re: swapping vs. paging

Sanjeev,

Just a note to you. You can get repeated questions from

search with ITRC forums(hp) with required keyword there.

Some more advanced options also given there. Try with your keywords and do get more informations.

HTH.
Easy to suggest when don't know about the problem!
Sridhar Bhaskarla
Honored Contributor

Re: swapping vs. paging

Hi Sanjeev,

swapout and pageouts are usually interchanged. The pageout/swapout activity depends on three thresholds.

otsfree: There may be a lot of free memory pages and it is the upper bound below which the paging will not occur.

desfree: This is the number of free pages desired. This is actually the limit where the pageouts will begin. This is the lower bound to page outs.

minfree: The minimum amount of free pages. If the memory available falls below this line, it indicates thrashing and you can see the entire processes getting deactivated. And this is usually termed as swapping outs.

So, in the nut shell, we call 'pageouts' when the most inactive pages are pagedout and 'swapouts' when the entire processes are swapped out. The reversal of this activity is 'in's.

Memory mapped activity can also be seen as paging activity. The best way to figure out if it is really paging or not is to keep track of 'free memory'. You can see both pageouts and free memory using 'vmstat' command.

-Sri

You may be disappointed if you fail, but you are doomed if you don't try
Geoff Wild
Honored Contributor

Re: swapping vs. paging

Attached is a text whitepaper on HP-UX swap.


Rgds...Geoff
Proverbs 3:5,6 Trust in the Lord with all your heart and lean not on your own understanding; in all your ways acknowledge him, and he will make all your paths straight.
Ted Buis
Honored Contributor

Re: swapping vs. paging

HP-UX and most system really page. But since old habits are hard to break, people often say swap, even when they know that the system really is paging. HP-UX will only page-in what is needed, so page-ins are okay and expected. It is the page-out rate that should be zero or very close to it. Page-outs indicate that there is memory pressure and you either need to make more efficient use of what you have, buy more, or live with the likely poor performance.
Mom 6