WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

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

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] Xen domctl scheduler_op question (vcpu_unpause)
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
Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:date:message-id:subject :from:to:content-type; bh=bSWrubAWzPa/I6N/pMo27i8FEVs1DynyLnyWhiK6Bo0=; b=ID7biKIQ98X9OkYDrZKnpZHEWHIhHRhV2VNlT8UWDKULQxrc8B9G8RwiShxvpT5E1L G8nXfjlshDHVWcufPk3NOlNpAFSzmg7HK+owZ+vRUtUlxTTP2REt8WNPMI20HBvs2/pe 1ZMBSq8PnukhjyFpKAz5HNbRHofV7ChhMSADg=
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=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx

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
<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] Xen domctl scheduler_op question (vcpu_unpause), Priyanka Tembey <=