VMware Cloud Community
danmoe
Contributor
Contributor

Calculation basis of CPU usage?

Hey guys,

on my usage report I can see the usage of CPU, based on a one day period. I'm a little bit confused.

VM X has a consumption of 8.26. What does the 8.26 stand for?

1. An average value of one day?

2. The sum of consumed CPU of one day?

3. What is the basis for calculation? The clock rate of a CPU summarized over one day?

I would like to be able to justify my report.

regards

danmoe

Tags (3)
Reply
0 Kudos
3 Replies
danmoe
Contributor
Contributor

Base-rate calculation includes: time interval* rate cost* used units* rate factor.

Performing this calculation on the organization vDC for CPU(allocation), with a base rate of $0.1USDGHz/hour

and no rate factor: 2 hours* $0.02 USD GHz/hour* 10GHz* 1.0 = $0.4 USD.

Doing the same for memory (allocation) with a base rate of $0.5USDGB/hour and no rate factor yields the

following result: 2 hours* $0.05 USD GB/hour* 20GB* 1.0 = $2 USD.

If the billing policy is set to charge based on usage instead of allocation, the used units is the usage value for the

resource that is obtained from vCenter Server.

At the virtual machine level, the billing policy dictates whether costs are applied for the entire report duration or

for only the duration when a virtual machine is powered on.

src: http://www.vmware.com/files/pdf/techpaper/VMware-Technote-Using-vCenter-Chargeback-vCloud-Director.p...

Reply
0 Kudos
Mugdha
Contributor
Contributor

Hi danmoe,

The value 8.26 stands for an average value of CPU usage samples for one day. This calculation is done by VC. It collects 5 minutes usage samples for a VM resource (CPU in this case) and averages it over the time period under consideration (1 day in your case).

Regards,

Mugdha

Mugdha
Contributor
Contributor

Depending upon the usage samples provided by VC CBM calculates the costs according to the formula quoted by you.

Regards,

Mugdha