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

RE: [Xen-devel] Re: credits account issue



Yes, in current scheduler, XEN4.0+, there is “burn_credits” each time when the vcpu is de-scheduled.

It’s accurate than the previous version.  

 

From: David Xu [mailto:davidxu06@xxxxxxxxx]
Sent: Friday, July 22, 2011 9:58 AM
To: Lv, Hui
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: Re: [Xen-devel] Re: credits account issue

 

Hi,

Thanks for your reply. Has this solution been added to new credit scheduler? I am using Xen-3.4.2. And in this version, when the vcpu is de-scheduled, it seems the current vcpu is just inserted into runqueue and its credit is not deducted.

    if ( vcpu_runnable(current) )
        __runq_insert(cpu, scurr);
    else
        BUG_ON( is_idle_vcpu(current) || list_empty(runq) );

    snext = __runq_elem(runq->next);

Regards,
Cong

2011/7/21 ygsnian <hui.lv@intel.com>

when the vcpu is de-scheduled, it's credits will be deducted.

--
View this message in context: http://xen.1045712.n5.nabble.com/credits-account-issue-tp4621131p4621457.html
Sent from the Xen - Dev mailing list archive at Nabble.com.

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

 

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel

 


Rackspace

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