- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- swapin, swapout, pagein and page out
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
Discussions
Discussions
Discussions
Forums
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
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
тАО06-28-2004 04:22 PM
тАО06-28-2004 04:22 PM
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-28-2004 04:55 PM
тАО06-28-2004 04:55 PM
Re: swapin, swapout, pagein and page out
pageout: pages paged out per second
swapin: pages swapped in per second
swapout: pages swapped out per second
sks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-28-2004 05:01 PM
тАО06-28-2004 05:01 PM
Re: swapin, swapout, pagein and page out
swapin and swapout is used to swap files/devices to or from swap memory devices / location.
They are the counts of swap IO to do swaping of the files/devices operation to or from swap memory.
pagein and pageout are used for the Virtual Memory initiated IO and operation on file-system memory.
They are the counts for VMIO without considering where the operation is done at file-system memory or swap memory.
Regards,
Muthukumar.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-28-2004 05:12 PM
тАО06-28-2004 05:12 PM
SolutionUsing demand paging, an OS (HP-UX) brings portions of a process into memory as needed, and pushes pages that haven't been recently referenced out to disk.
The kernel always tries to maintain a threshold of free pages in order to keep the system running effectively. As long as this threshold is maintained, no paging occurs.
When the number of free pages drops below this threshold, vhand daemon selects pages that haven't been referenced, copied them out to swap (page-out) and adds pages to the free page list.
A page fault occurs when a process tries to access a page that is not currently in memory. The page will then be copied into RAM via a page-in.
When the free memory falls below another threshold (minfree), the swapper daemon deactivates processes which prevents them from running and thus reduces the rate at which new pages are accessed.
This gives vhand an opportunity to send the unreferenced pages out to swap and free pages in physical memory.
Two much of swapping affects system performance as most of the time CPU is busy doing this kind of activity leaving little time to complete the running processes. Response time is badly affected.
sks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-30-2004 11:03 AM
тАО06-30-2004 11:03 AM
Re: swapin, swapout, pagein and page out
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-30-2004 02:30 PM
тАО06-30-2004 02:30 PM
Re: swapin, swapout, pagein and page out
NOTE: page out is the only metric of interest. Page in always includes the startup of new programs as well as pssible pages returning from swap back to memory. Therefore, page in is virtually useless as a performance metric.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-30-2004 02:54 PM
тАО06-30-2004 02:54 PM
Re: swapin, swapout, pagein and page out
# man chatr
The +pd and +pi options only provide a hint for the virtual memory
page size. The actual page sizes may vary. Under certain conditions,
page size hints of L may result in better performance, depending on
the specific memory requirements of the application.
you might study the performance behavior of lazy swap:
chatr:
see size of: Data pages
see size of: Instr pages.
chatr:
+z Enable lazy swap on all data segments (using PA32 chatr
or PA64 chatr FORMAT 1) or on a specific segment (using
PA64 ELF chatr FORMAT 2). May not be used with non-
data segments.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО06-30-2004 03:27 PM
тАО06-30-2004 03:27 PM
Re: swapin, swapout, pagein and page out
page-out === The system's free memory is less than a threhsold "lotsfree" and vhand daemon used "LFU" algorithm to move some unused / least used pages to the swap area.
page-in === One process which is running requested for a page that is not in the current memory (page-fault), vhand daemon is bringing it's pages to memory.
swap-out === System is thrashing and swapper daemon has de-activated a process and it's memory pages are moved into the swap area.
swap-in === A deactivated process is back to work and it's pages are being brought into the memory.
Regds,
Kaps
These are the words from Rahman's certification guide