- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Paging and swapping
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2002 10:59 AM
01-09-2002 10:59 AM
Paging and swapping
what is the basic difference between "pages out" and "swapout" ?
also is it possible to find out which specific processes were/are "paged" out and "swapped" out ?
Thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2002 11:07 AM
01-09-2002 11:07 AM
Re: Paging and swapping
Even if your momory is noever fully used some paging will occur of memory mapped files.
This may help:-
http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x60a572234586d5118ff00090279cd0f9,00.html
Paula
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2002 11:10 AM
01-09-2002 11:10 AM
Re: Paging and swapping
Swapping" actually refers to an old(er) memory managment mechanism wherein all "pages" of a process where rolled-out to disk when memory needed to be freed. "Paging" is the modern, more sophisticated mechanism wherein pages of memory are aged over time and so moved to disk as they become unused. Paging imposes much less overhead than the all-or-none swapping.
Loosely, the terms "swapping" and "paging" are sometimes used interchangably.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2002 11:24 AM
01-09-2002 11:24 AM
Re: Paging and swapping
Thanks so much for the clarification. I have cleared the kernel accumlation for vmstat. Now vmstat does not report any paging activity. However, sar shows swap out/swap in.
Does it mean that swapping concept overrules paging ? also is there a way to find out which specific process was swapped out /
thanks again
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2002 11:24 AM
01-09-2002 11:24 AM
Re: Paging and swapping
Try this link for more info on swap,
http://us-support3.external.hp.com/cki/bin/doc.pl/sid=1eaf0307043c197504/screen=ckiDisplayDocument?docId=200000055380056
http://us-support3.external.hp.com/cki/bin/doc.pl/sid=1eaf0307043c197504/screen=ckiDisplayDocument?docId=200000048595137
Hope this helps.
Regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2002 11:35 AM
01-09-2002 11:35 AM
Re: Paging and swapping
Thanks again
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2002 11:35 AM
01-09-2002 11:35 AM
Re: Paging and swapping
The differentiation between paging and swapping is arguable. However, the pageouts that we see may not truly indicate a bottleneck. But swapouts do.
It actually depends on three paging thresholds.
lotsfree: 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.
-Sri
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-09-2002 11:40 AM
01-09-2002 11:40 AM
Re: Paging and swapping
bigbox:root:> vmstat -s
31 swap ins
31 swap outs
0 pages swapped in
0 pages swapped out
32200473601 total address trans. faults taken
9046413 page ins
25009 page outs
226305 pages paged in
84913 pages paged out
Pageouts can happen for two reasons :-
1) System is experiencing memory pressure and as a result vhand is paging
out memory pages to make room for other processes. This is the pageout
activity that we do NOT want to see since a high pageout rate may in
this case may lead to memory bottlenecks and hence poor performance.
2) Pages could also be paged out as a result of applications using memory
mapped files via mmap() / munmap() / msync() or a mix between these and
read() / write() calls. Unfortunately such user pageout activity is
also reported in the "Paged Out" metric in glance and the equivalent
'po' column in vmstat.