HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- psuedo swap and device swap
Operating System - HP-UX
1834586
Members
3527
Online
110069
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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-14-2005 08:40 PM
03-14-2005 08:40 PM
i have a system, rp8420 with 8cpu and 16G mem,
I configure 32G LV as swap deivce.and the swapmem_on is set to 1.
here is the swapinfo:
#swapinfo
Kb Kb Kb PCT START/ Kb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 32768000 0 32768000 0% 0 - 1 /dev/vg00/lvol2
reserve - 2732488 -2732488
memory 12950280 3157972 9792308 24%
the device swap is not used any more, question:
should i set the swapmem_on to off, close the psdeo_swap?
will the psuedo_swap be released after the process be started.
I configure 32G LV as swap deivce.and the swapmem_on is set to 1.
here is the swapinfo:
#swapinfo
Kb Kb Kb PCT START/ Kb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 32768000 0 32768000 0% 0 - 1 /dev/vg00/lvol2
reserve - 2732488 -2732488
memory 12950280 3157972 9792308 24%
the device swap is not used any more, question:
should i set the swapmem_on to off, close the psdeo_swap?
will the psuedo_swap be released after the process be started.
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-14-2005 09:00 PM
03-14-2005 09:00 PM
Re: psuedo swap and device swap
Dear Sir
I would leave it as is since this machine is running well.
See
ftp://eh:spear9@hprc.external.hp.com/memory.htm
For more details
The memory is sufficient
You could reduce dbc_max_pct to the equivalent of 20% or 400MB
Steve Steel
I would leave it as is since this machine is running well.
See
ftp://eh:spear9@hprc.external.hp.com/memory.htm
For more details
The memory is sufficient
You could reduce dbc_max_pct to the equivalent of 20% or 400MB
Steve Steel
If you want truly to understand something, try to change it. (Kurt Lewin)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-14-2005 11:47 PM
03-14-2005 11:47 PM
Solution
hua --
You do not want to turn swapmem_on to off.
One bad side effect of doing this is that you wont be able to boot into LVM maintanence mode with it turned off since that is the swap that is used for LVM maintanence mode ( -lm mode).
Your configuration of 2x swap to RAM meets the general HP recommendation for swap and RAM so I would leave it as is unless you feel the need to increase swap for performance at a later date.
Best regards,
Kent M. Ostby
You do not want to turn swapmem_on to off.
One bad side effect of doing this is that you wont be able to boot into LVM maintanence mode with it turned off since that is the swap that is used for LVM maintanence mode ( -lm mode).
Your configuration of 2x swap to RAM meets the general HP recommendation for swap and RAM so I would leave it as is unless you feel the need to increase swap for performance at a later date.
Best regards,
Kent M. Ostby
"Well, actually, she is a rocket scientist" -- Steve Martin in "Roxanne"
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
03-15-2005 02:44 AM
03-15-2005 02:44 AM
Re: psuedo swap and device swap
You have 2X device swap as physical memory. In your case, swapmem_on=1 serves no purpose. Pseudoswap "memory" won't be released as it doesn't exist. Pseudoswap is simply an HP-UX mechanism to allow system with large amounts of memory to not require large amounts of swap; that's why you bought all that memory in the first polace so you wouldn't swap. Pseudoswap is nothing more and nothing less than kernel bookeeping.
Without pseudoswap, if you have a system with 16GB of memory and 4GB of swap (that's perfectly OK), you could only run 4GB of processes eventhough 12GB of memory would be free. With pseudoswap, processes are allowed to count 75% of memory + any "real" swap as swap space so that more processes can be run.
Without pseudoswap, if you have a system with 16GB of memory and 4GB of swap (that's perfectly OK), you could only run 4GB of processes eventhough 12GB of memory would be free. With pseudoswap, processes are allowed to count 75% of memory + any "real" swap as swap space so that more processes can be run.
If it ain't broke, I can fix that.
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP