- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- swap memory
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
07-14-2008 04:46 AM
07-14-2008 04:46 AM
HP-UX
# uname -r
B.11.31
# model
ia64 hp server rx7640
#
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2008 04:53 AM
07-14-2008 04:53 AM
Re: swap memory
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2008 04:56 AM
07-14-2008 04:56 AM
SolutionUse:
# swapinfo -tam
...to see your swap configuration.
Use 'vmstat' (or 'glance') to monitor swap activity. Look for page-outs ("po"). Single digit values are OK; double-digit values signify memory pressure.
To add additional swap space, choose a non-vg00 volume group. Make the swap priority different from that of your primary swap. I like secondary swap to be used preferentially to primary swap; i.e. with a lower number where the primary swap device priority=1. Do something like:
# lvcreate -C y -r n -L 4096 -n lvol1 /dev/vg01
# swapon -p 0 /dev/vg01/lvol1
# echo "/dev/vg01/lvol1 ... swap pri=0 0 0" >> /etc/fstab
Regards!
...JRF...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2008 05:11 AM
07-14-2008 05:11 AM
Re: swap memory
CPU info:
4 Intel(R) Itanium 2 9000 series processors (1.6 GHz, 18 MB)
533 MT/s bus, CPU version C2
8 logical processors (2 per socket)
Memory: 65468 MB (63.93 GB)
Firmware info:
Firmware revision: 9.022
FP SWA driver revision: 1.18
IPMI is supported on this system.
BMC firmware revision: 3.01
Platform info:
Model: "ia64 hp server rx7640"
Machine ID number: eb87f752-e16b-11dc-8f9b-4f29fda6bf11
Machine serial number: DEH4803F2C
OS info:
Nodename: SVR-EDW
Release: HP-UX B.11.31
Version: U (unlimited-user license)
Machine: ia64
ID Number: 3951556434
vmunix _release_version:
@(#) $Revision: vmunix: B.11.31_LR FLAVOR=perf
# swapinfo -a
Kb Kb Kb PCT START/ Kb
TYPE AVAIL USED FREE USED LIMIT RESERVE PRI NAME
dev 81920000 0 81920000 0% 0 - 1 /dev/vg00/lvol2
reserve - 425312 -425312
memory 63766620 9786196 53980424 15%
#
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2008 05:16 AM
07-14-2008 05:16 AM
Re: swap memory
Your current config is large and not used currently.
Hope this helps!
Regards
Torsten.
__________________________________________________
There are only 10 types of people in the world -
those who understand binary, and those who don't.
__________________________________________________
No support by private messages. Please ask the forum!
If you feel this was helpful please click the KUDOS! thumb below!

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2008 05:50 AM
07-14-2008 05:50 AM
Re: swap memory
How can you tell? Without the -t, there is no simple total line. Without the -m, there are too many digits to grok. ;-)
Yes, it seems that 80 Gb is way too much device swap.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
07-14-2008 06:00 AM
07-14-2008 06:00 AM
Re: swap memory
I agree with Torsten. Why do you want to increase your swap space? You have the kernel 'pseudoswap' enabled as evidenced by the "memory" line in the 'swapinfo' output, so you can use ~75% of memory for swap reservation (a good thing).
Are you experiencing ENOMEM errors on fork() for instance? Have you monitored swap utilization?
If on the other hand someone (a vendor perhaps) gave you some "rule" that your swap space needed to be some factor of your memory, disregard the advice until you have emperical evidence that you really need more.
Regards!
...JRF...