- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Is "swap" partition is necessary
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
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
тАО03-19-2009 04:50 AM
тАО03-19-2009 04:50 AM
Swap is used as virtual memory.
Swap memory used when our system needs more memory over physical memory if we are running bigger programs.
so If i am running smaller programs swap will not be used.
so is "swap" partition is needed?
pls explain me.
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-19-2009 04:51 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-19-2009 05:04 AM
тАО03-19-2009 05:04 AM
Re: Is "swap" partition is necessary
Bill Hassell, sysadmin
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-19-2009 05:06 AM
тАО03-19-2009 05:06 AM
Re: Is "swap" partition is necessary
So it is neccessary to have swap allocated on the system.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-19-2009 05:07 AM
тАО03-19-2009 05:07 AM
Re: Is "swap" partition is necessary
http://www.docs.hp.com/en/1218/mem_mgt.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-19-2009 05:54 AM
тАО03-19-2009 05:54 AM
Re: Is "swap" partition is necessary
Yes you need swap.
HP-UX requires swap to be present at a minimum of 50% of ram. I once had a customer that cut swap using the command line after install.
Then they called and asked why the system was unstable.
Even with a ton of memory each process reserves swap at start time, in case it might need to swap.
If there is no swap to reserve, the process will fail with an out of memory error.
There is no way around this.
SEP
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-19-2009 06:29 AM
тАО03-19-2009 06:29 AM
Re: Is "swap" partition is necessary
Read this to know "what is swap space"
http://docs.hp.com/en/B2355-90672/ch06s02.html
Ganesh.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО03-19-2009 06:37 AM
тАО03-19-2009 06:37 AM
Re: Is "swap" partition is necessary
There is a question arise..
"Why purchase a lot of swap space if the system is not expected to page
or swap?"
Here comes "psedue swap" concept.
Pseudo swap is HP's solution for large memory customers who do not wish to
purchase a large amount of swap space.
Pseudo swap is swap space which the operating systems recognizes, but in
reality it does not exist. Pseudo swap is make-believe swap space. It does not
exist in memory, it does not exist on disk, it does not exist anywhere.
However, the operating system does recognize it, which means more swap space
can be reserved than physically exists.
The purpose of pseudo swap is to allow more processes to run in memory, than
could be supported by the swap device(s). Swap devices refer to both device
swap or filesystem swap. It allows the operating system(specifically the kernel
variable swap_avail) to recognize more swap space, thereby allowing additional
processes to start when all of the physical swap has been reserved. By having
the operating system recognize more swap space than physically exists, large
memory customers can now operate without having to purchase large amounts of
swap space which they will most likely never use.
The size of pseudo swap is dependent on the amount of memory in the system.
Specifically, the size is 75% of physical memory
Pseudo swap is enabled through the tunable kernel parameter called swapmem_on.
If the value for swapmem_on is 1, then psuedo swap is turned on or enabled
Ganesh.