- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Best way for SWAP space (raw,lvm etc)
Operating System - HP-UX
1823718
Members
3778
Online
109664
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
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
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
тАО02-18-2010 06:13 AM
тАО02-18-2010 06:13 AM
Hello
I have a HPUX 11.31 (VMhost and 2 guests), hpvm 4.0.
Faced to assign swap space via SAN-Storage (multipathing).
Memory:
100 G on VM-Host.
Optimal Swapspace Sizing on VM-HOST ?
30 G on VM1
50 G on VM2
Swap-Solution:
add 100 G Disk device to VM-Host
add 30 G Disk device to VM1
add 50 G Disk device to VM2
Any Feebacks are welcome.
Olaf
I have a HPUX 11.31 (VMhost and 2 guests), hpvm 4.0.
Faced to assign swap space via SAN-Storage (multipathing).
Memory:
100 G on VM-Host.
Optimal Swapspace Sizing on VM-HOST ?
30 G on VM1
50 G on VM2
Swap-Solution:
add 100 G Disk device to VM-Host
add 30 G Disk device to VM1
add 50 G Disk device to VM2
Any Feebacks are welcome.
Olaf
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-18-2010 08:00 AM
тАО02-18-2010 08:00 AM
Re: Best way for SWAP space (raw,lvm etc)
Shalom,
swapspace size should be set based on actual use.
So don't set swap to twice the HPVM guest's ram just becaust that rule worked.
I would set swap to half RAM as a start unless you know paging is high.
HPVM lets you put the entire guest on a single logical volume. You can configure your guest with a second logical volume just for swap. I don't know what benefit this will provide you.
I think your proposed solution is in the ball park, it will probably work, but I do not know what benefit there would be in isolating the swap space on its own logical volume.
We are running a few production hpvm systems and I just rebuilt a blade based hpvm lap, running Linux/Windows and HP-UX and I'm getting reasonable results thus far with my HP-UX guest running everything, including swap on a single logical volume presented by the host system.
SEP
swapspace size should be set based on actual use.
So don't set swap to twice the HPVM guest's ram just becaust that rule worked.
I would set swap to half RAM as a start unless you know paging is high.
HPVM lets you put the entire guest on a single logical volume. You can configure your guest with a second logical volume just for swap. I don't know what benefit this will provide you.
I think your proposed solution is in the ball park, it will probably work, but I do not know what benefit there would be in isolating the swap space on its own logical volume.
We are running a few production hpvm systems and I just rebuilt a blade based hpvm lap, running Linux/Windows and HP-UX and I'm getting reasonable results thus far with my HP-UX guest running everything, including swap on a single logical volume presented by the host system.
SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-18-2010 08:16 AM
тАО02-18-2010 08:16 AM
Re: Best way for SWAP space (raw,lvm etc)
For VM host you can give half of the RAM (there is also pseude swap), but never let your VM host to page-out, it will be messy for your guests.
For each guest the swap size is depend on application you install...
For each guest the swap size is depend on application you install...
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО02-18-2010 11:57 PM
тАО02-18-2010 11:57 PM
Solution
Bonjour Olaf,
For the host, you must allocate at least physical memory + 4 Gb of swap space, that is 104 Go. (Don't have time to search in which document it is written, but almost sure it is). It is better that it relies on local disks, but if you can't, then you can use a san-storage disk for that.
For the guest, just do as you would do for a "normal" box. Dealing with pseudoswap, you can allocate only half of RAM or more if you have to follow some strongs recomandations from your software provider. But it is not necessary to have VM's swap space on a separate wirtual disk. If you are at the beginning of installaing the VMs, just create a greater vg00 disk.
Hope this help
Eric
Something that has nothing to deal with this post ;-) Did you check your previous post at http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1406635
For the host, you must allocate at least physical memory + 4 Gb of swap space, that is 104 Go. (Don't have time to search in which document it is written, but almost sure it is). It is better that it relies on local disks, but if you can't, then you can use a san-storage disk for that.
For the guest, just do as you would do for a "normal" box. Dealing with pseudoswap, you can allocate only half of RAM or more if you have to follow some strongs recomandations from your software provider. But it is not necessary to have VM's swap space on a separate wirtual disk. If you are at the beginning of installaing the VMs, just create a greater vg00 disk.
Hope this help
Eric
Something that has nothing to deal with this post ;-) Did you check your previous post at http://forums.itrc.hp.com/service/forums/questionanswer.do?threadId=1406635
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
Learn About
News and Events
Support
© Copyright 2025 Hewlett Packard Enterprise Development LP