[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Xen-API] Strange CPU utilization values of Dom0



kushal waikar wrote:
    >take two values you measure, substract them and divide them by the actual 
time
    >in milliseconds that has passed between measuring.

    >This will give you a value that corresponds with the load.


    1st value(Say 'V1') : 0.316815906659 ( Unit = ? )
    2nd value(Say 'V2') : 0.344911681094 ( Unit = ? )
    1st value - 2nd value = V1-V2 = 0.028095774435 ( Unit = ? )

    actual time in milliseconds that has passed between measuring(say 't'): 
1sec = 1000 milliseconds

    therefore final answer = (V1-V2)/t = 0.000028095774435  ( Unit = ? )

    Please correct me wherever I am going wrong in computation...

Where did you pass your highschool? V1 - V2 != V2 - V1 interesting enough you absolute your value but you do not denote this.

The value itself might be already in seconds; so in that case it is divided by one. and 0.03 makes sense as cpu load.


Stefan

_______________________________________________
xen-api mailing list
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xen-api


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.