- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Pseudo-swap prevents device 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
01-19-2001 03:07 PM
01-19-2001 03:07 PM
Pseudo-swap prevents device swap?
On this system it appears that device swap is *never* used while pseudo-swap is enabled. Should I turn off pseudo?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-19-2001 04:19 PM
01-19-2001 04:19 PM
Re: Pseudo-swap prevents device swap?
First:
http://us-support2.external.hp.com/cki/bin/doc.pl/sid=bdd1a3e61c6fe22e29/screen=ckiDisplayDocument?docId=200000048117948
Now read:
http://us-support2.external.hp.com/cki/bin/doc.pl/sid=44f9c5fd0f523aa87b/screen=ckiSearchResults?mode=id&searchString=UNX1000195
/rcw
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-19-2001 04:27 PM
01-19-2001 04:27 PM
Re: Pseudo-swap prevents device swap?
It it very possible that you are not lean on overall swapspace but rather need to increase the kernel's 'maxdsiz' parameter.
http://docs.hp.com/hpux/onlinedocs/os/KCparam.MaxDsiz.html
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2001 09:41 AM
01-23-2001 09:41 AM
Re: Pseudo-swap prevents device swap?
There are several issues regarding swap configuration that can be confusing, these concern the interleaving and the priority setting. Better documentation might be helpful. Is your D-class on 10.20? This may have issues where 11.X would not.
The way things are documented (Sys Admin Tasks, man pages) you get the impression that no matter how you configure your swap, the OS will attempt to interleave efficiently, but when unequal sized swap devices are used, it will still be able to use all the configured space even when normal interleave strategy is no longer possible. In practice, it may not work this way in some configurations.
Possibly because HP-UX systems are configured by-and-large to avoid a 'real' swap space requirements, not much concern exists about how it actually works. If you enable swap_mem, this dedicates a percentage of physical memory, which is a fixed size. Does your D-class have relatively small memory compared to your 1Gb swap device? If so, it may be using SOME of the physical swap, but only up to the size of the swap_mem limit, refusing to use more because of interleave concerns. That's not how it is supposed to work, but may be the problem. Is this where James Ferguson's advice on setting maxdsiz would be of help?
It may also be an issue where you have multiple swap devices, and the primary is configured relatively small for fast reboot and crash recovery.
It may just be coincidence, but on systems I can look at that both actually use any of the physical swap AND have swap_mem on, where memory is the LARGEST available area as shown in 'swapinfo -at', the rest of the devices seem to get interleaved PROPORTIONAL to their size. Where memory and primary (vg00) swap are both smaller than the largest secondary device, the interleave is not proportional to size and seems to be capped by the small primary and attempts to allocate above the interleave limit generate 'out of memory' errors even though quite a few megs are free on the larger secondary devices. I am only seeing this on 10.20, I don't have any 11.X in similar configurations. As a coincidence, these have default maxdsiz at 64Mb, and that is also the size of primary swap. Any relation?
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-23-2001 10:31 AM
01-23-2001 10:31 AM
Re: Pseudo-swap prevents device swap?
(maxdsize=16k) and it's too many processes/chunks that are the problem. Swapinfo indicates primary device swap is never used. HPRC suggested I increase maxswapchunks from 4096 to 8192. I will post results after we reboot the system.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
01-24-2001 04:44 AM
01-24-2001 04:44 AM
Re: Pseudo-swap prevents device swap?
Pseudo swap is used for systems with large memory to avoid wasting diskspace on swapspace.
ie. when you have 4Gb ram, you should have (2,5*4GB) 10Gb swap space. To avoid this you can use a 4Gb swap space. However you will not be able to start more processes when the 4 Gb swap is all reserved(note that there has been no swapping at all at that time). Pseudo swap will allow processes to start even the physical swap is all reserved. To be able to 'squeeze' down the available swap pseudo swap pretents like swap is consumed. however this is just a trick to reduce the available amount of pseudo swap.
In your case your (pseudo)swap configuration looks OK, you may need to change one of your other kernel parameters.
Regards,
Mark
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-16-2001 06:07 AM
05-16-2001 06:07 AM
Re: Pseudo-swap prevents device swap?
Have you managed to fix your pb with increasing maxswapchunks parameter.
I have the same pb, my device swap is never used.
Thanks
Valerie Romanet