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

[Xen-devel] Xen domctl scheduler_op question (vcpu_unpause)


  • To: xen-devel@xxxxxxxxxxxxxxxxxxx
  • From: Priyanka Tembey <tembey.priyanka@xxxxxxxxx>
  • Date: Sat, 2 Jan 2010 15:37:26 -0500
  • Delivery-date: Mon, 04 Jan 2010 05:08:39 -0800
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=cRAnPEeI04f3N8CbvwcPpmtponpVOg9fbU4vEgWj3h4IOb1TrFGdd0+d/Z30+ywwJ7 Voq0UMEeri0Zi0+88Z7j4uK16enP/PWPsOJlsSG06lh+eT2N2G2Hli7b6a0Lp4DZXxBJ zSoGdvz45wFfNd1g47Wx753FV6MlKsznUKjKc=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>


hello,

I see that in xen/common/schedule.c , when adjusting scheduling parameters for a Xen domain, VCPUs of the particular domain are paused and later unpaused unless it is the current VCPU.
vcpu_unpause internally calls vcpu_wake which temporarily boosts the priority of the vcpu to CSCHED_PRI_TS_BOOST (Ref: csched_vcpu_wake).

My question is - Does this mean a simple get_credit or set_credit operation for a domain will also boost its priority ? And if it is so, why is the boost needed everytime ?

thanks,
Priyanka

_______________________________________________
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®.