CPU limit per VM - how to calculate?, in Virtual Server 2005
ASP Developer Network - Brought to you by Steve Radich and BitShop, Inc. - http://www.bitshop.com

Menu

ASPDeveloper.Net / VirtualServerFAQ.COM

Make sure you go to our home page for:

* Virtual Server 2005 FAQ
* ASP.Net 2.0 Information
* ASP.Net 2.0 Streaming Tutorials
* ASP.Net 2.0 HTML based Tutorials

Made possible by Business Internet Technology Shop (BitShop)



View :  Show duplicate posts
Virtual Server 2005

Recent Virtual Server 2005 posts

VS 2005: Inaccessible W2003 guest - keyboard/mouse not responding
Hyper-V/Intel ANS Stuff
How to install Hyper-V Server2008 Enterprise
SQL Server 2005 (performance over Virtual PC)
SCVMM 0 Mgr - Connections Crash/ Reboot my Remote Mgmt PC
ADS error when deploying image to a virtual server
Poor Video Options
Software running on Virtual Server 2005 R2 SP1 Enterprise
Citrix DC on Virtual server?
MS Virtual Server 2005 & Internet Connection Sharing (ICS)
VMRCplus installation problems
Installation vmm
VSSRVC.exe spikes CPU with Host Server running Virtual Server 2005
Does my process support Hyper-V
Inserting Hyper-v integration services drivers using MS deployment servcies
CD Rom not recognized
Cannot access CD/DVC drive
Virtual PC 2007 x64 running x32 Virtual Machines
Install Virtual Server 2005 R2 SP1 on Windows 2008 (Full)
Question on display settings
Add Solution

Latest Topics

Table Of Contents


Post Reply |  This is Spam! | Mark as Spam

CPU limit per VM - how to calculate?

Source: microsoft.public.virtualserver
Sent: 05/13/2008
From: Filip Barczyk
Message:

Hi,

in my application running on a MSVS 2005 I need to calculate max CPU
allocation that each of VMs is allowed to consume.

If I correctly understand how VS works I need to get the value of the
"Maximum Capacity (% of one CPU)".

Unfortunately I can't find API to get this value. Both:
1. MaximumSystemCapacity Property of the IVMAccountant Interface
and
2. settings/host/resource_control/cpu/cap in VM's vmc file
have the same value which seems equal to "Maximum Capacity (% of system)"

Does anybody know how to get the former or calculate it from the other?

Here's the problem, because:
A. on a dual-core AMD machine they are the same (factor of 1 for one
physical processor?). It doesn't make sense - the VM is able to consume 1
core at most if you set the limit to 100% of a CPU, yet VS tells you it
utilizes 100% of system resources (which are two cores) while the other core
is idle.

B. on a dual CPU Xeon machine, % of system is half % of CPU (factor of 2 for
two physical processors?)

The conclusion (divide by number of physical processors) seems obvious but
I'm reluctant to it because in both cases the server has 2 processors to run
VMs on (why would it matter if the cores lie on the same physical socket or
two?).

Could someone please enlighten me on that?

I'm using MS VS 2005 R2 version "1.1.465.292 EE R2"

Thanks in advance for any info.

Regards,
Filip



Post Reply |  This is Spam! | Mark as Spam

Related Messages


Post Reply |  This is Spam! | Mark as Spam


Table Of Contents



Other groups

 
Virtual PC (Mac)(3511) Virtual PC(11949) Virtual PC (French)(428)
Virtual Server 2005(5445)
Search
in:
Our Sponsors
Virtual Server 2005 Info Here!
http://www.aspdeveloper.net
Virtual Server 2005 Info Here!
http://www.aspdeveloper.net
Virtual Server 2005 Info Here!
http://www.aspdeveloper.net
Virtual Server 2005 Info Here!
http://www.aspdeveloper.net
Virtual Server 2005 Info Here!
http://www.aspdeveloper.net
rss Wiki rss Blogs rss Articles rss Image galleries rss File galleries rss Forums rss Maps rss Directories
ASP Developer Network (since 1996) - Brought to you by Steve Radich and BitShop, Inc. - http://www.bitshop.com
Copyright © 1997-2005 by BitShop, Inc. All Rights Reserved.
No content may be reproduced in any form without written permission from BitShop, Inc.
We will be honored to assist with reproduction rights on our material if you contact us.
We also can provide print articles for your magazine, private training seminars at your site, and conference presentations.

Thank you for visiting. Please bookmark our site if you found it useful!
If you wish to make a donation it will help further the development of these free resources: