- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Re: Pseudo-swap
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
10-24-2008 12:14 AM
10-24-2008 12:14 AM
Pseudo-swap
I have a system with 4go of memory, swap size is equal to memory size and pseudo-swap is enable.
Mb Mb Mb PCT START/ Mb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 4096 0 4096 0% 0 - 1 /dev/vg00/lvol2
reserve - 1545 -1545
memory 3058 908 2150 30%
total 7154 2453 4701 34% - 0 -
If my process consume all my memory so all my disk swap is reserved/allocated, how pseudo-swap works in this case?
Thanks in advance for your help
Regards
- Tags:
- swapinfo
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2008 01:08 AM
10-24-2008 01:08 AM
Re: Pseudo-swap
here it's explained:
http://docs.hp.com/en/5965-4641/ch01s09.html
See also:
http://forums11.itrc.hp.com/service/forums/questionanswer.do?threadId=1234961
Volkmar
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-24-2008 03:39 AM
10-24-2008 03:39 AM
Re: Pseudo-swap
>>If my process consume all my memory so all my disk swap is reserved/allocated
No, All your swap area is not yet reserved, because pseudoswap is enabled.
>> If you have got 1 GB of swap and 4 GB of available memory. Can you start a 2 GB process?
Yes, With Pseudoswap Enabled
Swap1 GB Device (+) Swap3 GB Pseudo Swap (75% of 4GB)= 4 GB ReservableSwap.
No, With Pseudoswap Disabled.
1 GB Device + Swap0 GB Pseudo Swap = 1 GB ReservableSwap
Rgds
Sreekanth
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-06-2008 07:16 AM
11-06-2008 07:16 AM
Re: Pseudo-swap
If pseudo-swap is active, when a new process is forked with free memory low and swap device fully reserved, what the system does to allow its creation?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-06-2008 08:29 AM
11-06-2008 08:29 AM
Re: Pseudo-swap
Consider this...
You have 100GB of memory in high end server. Theoritically you need minimum 100GB of swap space. If the running applications never need swap then it is going to be waste of space.
With the help of pseudo-swap you can logically consider 75% of memory as swap along with device swap. This way you can save the disk space.
>>If pseudo-swap is active, when a new process is forked with free memory low and swap device fully reserved, what the system does to allow its creation?<<<
It will allow. Here kernel is going to handle this situation. From application point of view enough swap space is available. But kernel will do the manipulation by moving the data from device swap.
I agree new process will not be started if no swap spce to reserve. But the situation will not arise as long as we will be having total swap space is more than physical memory.
Total swap = Device swap + 75% of memory.
Ganesh.