- 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
07-27-2001 10:33 AM
07-27-2001 10:33 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2001 10:42 AM
07-27-2001 10:42 AM
SolutionPaging is the act of moving portions of active processes to disk in order to reclaim physical memory. Swapping is moving entire processes to disk to reclaim their space. In HP-UX, you have "swap" space, but in the modern versions HP is doing paging, using the swap space.
Does that help any?
JP
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2001 10:47 AM
07-27-2001 10:47 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.
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2001 10:50 AM
07-27-2001 10:50 AM
Re: paging and swapping
Process of paging and swaping are interchangebly used.
But there is a difference between then:
1. Paging : Is the process of removing only one page from virtual space into physical memory and this is called "Page in", and removing only one page from physical memory into the virtual space and this is called "page out".
2. Swapping : Is the process of removing all of a process's pages from physical memory to virtual space and called "Swap out", and removing all of a process's pages from virtual space to physical memroy and it is called "Swap in".
Conclusion :
Paging : Only one page.
Swapping : the entire pages belonging to a process.
Magdi
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2001 10:51 AM
07-27-2001 10:51 AM
Re: paging and swapping
In paging, HP-UX first deactivates processes which aren't really doing anything (ie, waiting on input) when memory gets full. Then, when a new process like vi comes along, a small portion of the deactivated process is written to swap (just a few megs) and when it's time to reactivate the big process, only the missing pages need to be returned. Hence the name: paging.
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2001 11:04 AM
07-27-2001 11:04 AM
Re: paging and swapping
When process executing, a program's pages of data and instructions are copied to and from secondary storage as needed. The kernel always tried to maintain a threshold of free pages in order to keep the system running efficiently. As long as this threshold is maintained, no paging occurs. When the number of free ages drops below this threshold, page out will occur.
Swapping
Swap space is an area on a high-speed storage device, reserved for use by the virtual memory system for paging processes. It is a method that managed physical memory resources by moving entire processes between main memory and secondary storage. However, paging is a more efficient memory resource management mechanism for virtual memory.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-27-2001 11:07 AM
07-27-2001 11:07 AM