HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- VM CPU entitlement optimization
Operating System - HP-UX
1833187
Members
2726
Online
110051
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
02-09-2010 07:04 AM
02-09-2010 07:04 AM
Asume the given VM's
[Virtual CPU entitlement]
Percent Cumulative
Virtual Machine Name VM # #VCPUs Entitlement Maximum Usage Usage
==================== ===== ====== =========== ======= ======= ================
vm1 1 4 50.0% 100.0% 1.1% 32206919
vm2 6 4 50.0% 100.0% 33.6% 494727237
on the given VM-Host:
hpvmstatus -s
[HPVM Server System Resources]
Processor speed = 1595 Mhz
Total physical memory = 131040 Mbytes
Total number of processors = 8
Available memory = 12275 Mbytes
Available swap space = 72996 Mbytes
Maximum vcpus for an HP-UX virtual machine = 8
Maximum vcpus for a Windows virtual machine = 8
Maximum vcpus for a Linux virtual machine = 8
Available entitlement for a 1 way virtual machine = 1595 Mhz
Available entitlement for a 2 way virtual machine = 1595 Mhz
Available entitlement for a 3 way virtual machine = 1595 Mhz
Available entitlement for a 4 way virtual machine = 1595 Mhz
Available entitlement for a 5 way virtual machine = 797 Mhz
Available entitlement for a 6 way virtual machine = 797 Mhz
Available entitlement for a 7 way virtual machine = 797 Mhz
Available entitlement for a 8 way virtual machine = 797 Mhz
To spend more CPU-Resources (Power) to vm2 (wich is more loaded) is to reduce the maximum entitlement from vm1 to 50% and the minimum to 25% ?
Is this a good way ?
[Virtual CPU entitlement]
Percent Cumulative
Virtual Machine Name VM # #VCPUs Entitlement Maximum Usage Usage
==================== ===== ====== =========== ======= ======= ================
vm1 1 4 50.0% 100.0% 1.1% 32206919
vm2 6 4 50.0% 100.0% 33.6% 494727237
on the given VM-Host:
hpvmstatus -s
[HPVM Server System Resources]
Processor speed = 1595 Mhz
Total physical memory = 131040 Mbytes
Total number of processors = 8
Available memory = 12275 Mbytes
Available swap space = 72996 Mbytes
Maximum vcpus for an HP-UX virtual machine = 8
Maximum vcpus for a Windows virtual machine = 8
Maximum vcpus for a Linux virtual machine = 8
Available entitlement for a 1 way virtual machine = 1595 Mhz
Available entitlement for a 2 way virtual machine = 1595 Mhz
Available entitlement for a 3 way virtual machine = 1595 Mhz
Available entitlement for a 4 way virtual machine = 1595 Mhz
Available entitlement for a 5 way virtual machine = 797 Mhz
Available entitlement for a 6 way virtual machine = 797 Mhz
Available entitlement for a 7 way virtual machine = 797 Mhz
Available entitlement for a 8 way virtual machine = 797 Mhz
To spend more CPU-Resources (Power) to vm2 (wich is more loaded) is to reduce the maximum entitlement from vm1 to 50% and the minimum to 25% ?
Is this a good way ?
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-09-2010 07:41 AM
02-09-2010 07:41 AM
Solution
Shalom,
This will work as you say. Right now you have 50% maximum for your two virtual environments.
I see no reason to make any changes unless you have issues with performance actually running the systems.
SEP
This will work as you say. Right now you have 50% maximum for your two virtual environments.
I see no reason to make any changes unless you have issues with performance actually running the systems.
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-15-2010 01:25 AM
02-15-2010 01:25 AM
Re: VM CPU entitlement optimization
Bonjour Kasper,
I think it is a bit more complicated
You have 8 physical core, each VM has 4 vCPU.
Let us suppose that at a given moment vm1 relies on physical cores 0 to 3, and vm2 relies on cores 4 to 7. (Not so obvious, but we can suppose)
Lest us suppose now that vm1 and vm2 require both the maximum availaible CPU. Lowering vm1 to 25/50 % will not help to give more power to vm2, because at this moment vm2 has the maximum possible power : 100% of 4 core, that is 50 % of the whole box.
And this exemple is the better situation you can expect, because you will find that sometimes vm1 and vm2 share some cores.
Suppose now that vm1 and vm2 shares the same 4 cores. Suppose again that vm1 and vm2 require the maximum availaible CPU. Because vm1 has an entitlement of 25% and vm2 an entitlement of 50%, it means that vm2 will get 66,67% of 4 core, it means 33,33% of the whole box.
In a summary, with the configuration you have described, vm2 can expect a maximum of CPU between 33,33% and 50% of the whole box.
So if you want that vm2 can have more than 50% CPU of the whole box, you should increase the number of vCPU of this VM.
You can do that online, from inside the vm, with command "hpvmmgmt -c #'. Not correctly documented, so see Release Notes, T2767-90797.pdf, page 59/120
Hope this will help
Eric
I think it is a bit more complicated
You have 8 physical core, each VM has 4 vCPU.
Let us suppose that at a given moment vm1 relies on physical cores 0 to 3, and vm2 relies on cores 4 to 7. (Not so obvious, but we can suppose)
Lest us suppose now that vm1 and vm2 require both the maximum availaible CPU. Lowering vm1 to 25/50 % will not help to give more power to vm2, because at this moment vm2 has the maximum possible power : 100% of 4 core, that is 50 % of the whole box.
And this exemple is the better situation you can expect, because you will find that sometimes vm1 and vm2 share some cores.
Suppose now that vm1 and vm2 shares the same 4 cores. Suppose again that vm1 and vm2 require the maximum availaible CPU. Because vm1 has an entitlement of 25% and vm2 an entitlement of 50%, it means that vm2 will get 66,67% of 4 core, it means 33,33% of the whole box.
In a summary, with the configuration you have described, vm2 can expect a maximum of CPU between 33,33% and 50% of the whole box.
So if you want that vm2 can have more than 50% CPU of the whole box, you should increase the number of vCPU of this VM.
You can do that online, from inside the vm, with command "hpvmmgmt -c #'. Not correctly documented, so see Release Notes, T2767-90797.pdf, page 59/120
Hope this will help
Eric
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-23-2010 07:54 AM
02-23-2010 07:54 AM
Re: VM CPU entitlement optimization
Thanks to all comments.
Was usable for me.
We tried with min 5% max 10% and min 50% max 100% on the other. ->10% definitvely the system goes no more.
Then we go to min 5% and max 50% and min 50% max 100%.
So we ensure that the Resources of the max 50% VM goes to the other (up to 95% max) it the other VM needs the resources.
Its only a small improvement, but better than nothing. In addition we understand more the entitlement functions and ther usability in customer environment.
regards Olaf
Was usable for me.
We tried with min 5% max 10% and min 50% max 100% on the other. ->10% definitvely the system goes no more.
Then we go to min 5% and max 50% and min 50% max 100%.
So we ensure that the Resources of the max 50% VM goes to the other (up to 95% max) it the other VM needs the resources.
Its only a small improvement, but better than nothing. In addition we understand more the entitlement functions and ther usability in customer environment.
regards Olaf
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