[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] Scheduler: function csched_acct()
Hello :)
i reading function csched_acct() in algorithm Credit. i two problem in code: 1- what mean's Variable credit_peak,credit_balance,credit_xtra, credit_fair? What is the difference?
2- The following code, Why should weight_total be gathered and then divided?
if ( prv->credit_balance < 0 )
{ credit_peak += ( ( -prv->credit_balance
* sdom->weight * sdom->active_vcpu_count) +
(weight_total - 1) ) / weight_total;
}
Thanks _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxx http://lists.xen.org/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |