- Community Home
- >
- Servers and Operating Systems
- >
- Legacy
- >
- Operating System - Tru64 Unix
- >
- the swap mode
Operating System - Tru64 Unix
1753339
Members
5335
Online
108792
Solutions
Forums
Categories
Company
Local Language
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Discussions
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- 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
09-27-2003 06:40 PM
09-27-2003 06:40 PM
the swap mode
Hi all,
who can tell me the two swap mode:laze and
eager.thanks!
who can tell me the two swap mode:laze and
eager.thanks!
1 REPLY 1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
09-28-2003 05:13 AM
09-28-2003 05:13 AM
Re: the swap mode
RTFM! Or Google! or Manpage or Online Doc.!
Did you simply google +lazy +eager +unix? You'll get plenty of explanations.
One place to read up on this on the system is under "man swapon"... if you know what to look for as it is called "deferred mode" and "immediate mode" there.
Also check sysconfig.
-- http://www.ptc.com/partners/hardware/2000i2/faq/dec_faq.htm#3a :
Tru64 Unix has two swap modes; the default is called "eager" mode and the alternate is called
"overcommit" or "lazy" swap mode. In eager swap mode, the operating system reserves swap
space for a process whenever it makes a request for memory. That way if it ever needs to be
swapped out, it has somewhere to store it's pages in the swap area(s). In "lazy" swap mode, swap
space is used by a process only when it needs to be paged to disk.
What are the advantages and disadvantages?
In "eager" swap mode, a process always has a place to go if it needs to be paged out. In "lazy"
mode, if a process needs to be paged out and there is no place in the swap area to go, the OS will
start killing off other idle processes to make room for the active process to go to the swap
partition(s). This can be dangerous and it is for this reason that it is generally not recommended
to run in "lazy" swap mode. This is especially true for multi-user servers where users' processes
could be killed off seemingly at random. However, for single user workstations, this can be more
of an acceptable risk. If you are getting a lot of "Swap space below 10% free" messages in the
console window and do not have any additional free disk space to add more swap, switching to
"lazy" mode can usually alleviate these messages. This is because in "eager" swap mode, the
virtual memory of the system is essentially equal to the amount of swap space configured (every
process reserves it's space). In "lazy" swap mode, virtual memory = physical RAM + swap space
(swap isn't used until it's needed). "Lazy" swap mode also seems to have a slight performance
advantage because the OS doesn't have to reserve swap space for a process whenever it asks for
more memory.
Did you simply google +lazy +eager +unix? You'll get plenty of explanations.
One place to read up on this on the system is under "man swapon"... if you know what to look for as it is called "deferred mode" and "immediate mode" there.
Also check sysconfig.
-- http://www.ptc.com/partners/hardware/2000i2/faq/dec_faq.htm#3a :
Tru64 Unix has two swap modes; the default is called "eager" mode and the alternate is called
"overcommit" or "lazy" swap mode. In eager swap mode, the operating system reserves swap
space for a process whenever it makes a request for memory. That way if it ever needs to be
swapped out, it has somewhere to store it's pages in the swap area(s). In "lazy" swap mode, swap
space is used by a process only when it needs to be paged to disk.
What are the advantages and disadvantages?
In "eager" swap mode, a process always has a place to go if it needs to be paged out. In "lazy"
mode, if a process needs to be paged out and there is no place in the swap area to go, the OS will
start killing off other idle processes to make room for the active process to go to the swap
partition(s). This can be dangerous and it is for this reason that it is generally not recommended
to run in "lazy" swap mode. This is especially true for multi-user servers where users' processes
could be killed off seemingly at random. However, for single user workstations, this can be more
of an acceptable risk. If you are getting a lot of "Swap space below 10% free" messages in the
console window and do not have any additional free disk space to add more swap, switching to
"lazy" mode can usually alleviate these messages. This is because in "eager" swap mode, the
virtual memory of the system is essentially equal to the amount of swap space configured (every
process reserves it's space). In "lazy" swap mode, virtual memory = physical RAM + swap space
(swap isn't used until it's needed). "Lazy" swap mode also seems to have a slight performance
advantage because the OS doesn't have to reserve swap space for a process whenever it asks for
more memory.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP