- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- 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
11-07-2001 12:37 AM
11-07-2001 12:37 AM
On my machine, when I issue "swapinfo -ta", I see that there is a line begins with 'memory', and the PCT USED value is greater than 0 while PCT USED for 'dev' is 0%.
I know that systems page out to swap space depends on priority. But from the output of 'swapinfo -ta', I can see the priority of dev is '1' but none for 'memory'. Why this happen? Doesn't system use 'memory' swap space after 'dev' swap space is full?
Thanks a lot
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2001 12:53 AM
11-07-2001 12:53 AM
Re: pseudo swap
The memory swap area will be used before the devices, because the disk swap space is a lot slower than the memory. If your system is going to swap on disk, you should do a performance analysis to avoid these bottlenecks.
Rgds
Alexander M. Ermes
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2001 03:19 AM
11-07-2001 03:19 AM
SolutionIf you have psuedoswap enabled, this tricks the OS into thinking that 3/4 of memory is available for reserve area. This memory really doesn't exist nor is memory really being used for swap. With psuedoswap on, you no longer (strictly) have to have as much swap as you have memory since pseudoswap will give you 3/4 memory for reserve (memory is not really taken for reserve, but the OS's requirements are met).
Hope this makes sense.
-Santosh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2001 03:27 AM
11-07-2001 03:27 AM
Re: pseudo swap
http://docs.hp.com/hpux/onlinedocs/os/memwn1_4.pdf
-Santosh
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2001 04:12 AM
11-07-2001 04:12 AM
Re: pseudo swap
That is the pseudo-swap. You have
pseudo-swap enabled on your system, which
allows part of memory to be used for swap.
(kernel parameter swapmem_on is the
setting for this).
<
Yes, that is correct, because pseudo-swap
is used first before the device swap is
used, since it is much faster to reserve
space within memory. But, on heavily used
systems you will see even device swap being
used.
<>
The priority factor is for device & filesystem swap. Pseudo-swap comes much
before that, since it is actually memory
doubling up as swap.
<
It is the reverse. If you disable
pseudo_swap then the device swap will be
used first.
-raj
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
11-07-2001 12:32 PM
11-07-2001 12:32 PM
Re: pseudo swap
actual/physical swap that has been recommended. In other words, it allows us to take advantage of systems with large amounts physical ram without configuring large swap areas.
When the system boots, the amount of pseudo swap is calculated. This calculation is 75% of physical memory and this value is a non-tunable kernel parameter. But this does not mean that memory is taken by pseudoswap. On the contrary, pseudoswap doesn't exist. When processes are swapped, they always swap to physical swap.
Tony