- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Swap less than physical RAM
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
12-06-2005 06:43 AM
12-06-2005 06:43 AM
Swap = 4GB
Ram = 6GB
Thanks
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2005 06:45 AM
12-06-2005 06:45 AM
Re: Swap less than physical RAM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2005 06:50 AM
12-06-2005 06:50 AM
Re: Swap less than physical RAM
If you don't have "pseudo swap" enabled with the kernel parameter 'swapmem_on' then you will not be able to utilize all of your physical memory. Swap space must be reserved at process startup.
If you enable pseudo swap, then 75% of your physical memory is counted for the purposes of swap reservation. This allows more processes to start with less swap space.
Pseudo swap is ideal for large memory configurations and costs almost nothing in terms of performance. You avoid wasting disk creating device or filesystem swap space.
If you do 'swapinfo -tam' and see a line labeled "memory" then you have pseudo swap enabled.
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-06-2005 06:52 AM
12-06-2005 06:52 AM
Solution1) If you have swapmem_on=1, then the system will use approximately 4.5GB (75% of 6GB) as "pseudo-swap" (no it does not actually consume RAM, it's just a calculation), and add that to your 4GB swap so you have 8.5GB of swap space available. This will allow you to use your entire 6GB of RAM since each process that starts MUST reseve some swap space.
2) If you have swapmem_on=0, then you just have 4GB of swap space. This would only allow you to start 4GB of processes, rendering 2GB of your 6GB of RAM useless. Again, this is because EACH process that HP-UX starts MUST reserve swap space.
To see if you have swapmem_on turned on (set to 1) do a 'swapinfo -tam'. If you see a "memory" line, then swapmem_on=1. If you don't see a "memory" line then swapmem_on=0.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2005 06:48 AM
12-07-2005 06:48 AM
Re: Swap less than physical RAM
What's the advatage to set swapmem_on=0 ?
This parameter in the kernel must be a reason.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2005 07:57 AM
12-07-2005 07:57 AM
Re: Swap less than physical RAM
Mayube this link would help.
http://www1.itrc.hp.com/service/cki/docDisplay.do?docLocale=en_US&docId=200000079988773
The itrc doc id is KBRC00015724.
Hope this helps.
regds
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-07-2005 11:38 PM
12-07-2005 11:38 PM
Re: Swap less than physical RAM
Its better to have swapmem_on=1 always.
It is not advantageous in your condition. your 2GB of RAM is not used in allocation for processes. change your kernel paramter such that swapmem_on should be
swapmem_on 1 - 1
br
Thummalu
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
12-11-2005 04:44 AM
12-11-2005 04:44 AM