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

RE: [Xen-devel] Optimize credit scheduler __runq_tickle to reduce IPIs

To: Jan Beulich <JBeulich@xxxxxxxxxx>
Subject: RE: [Xen-devel] Optimize credit scheduler __runq_tickle to reduce IPIs
From: "Wei, Gang" <gang.wei@xxxxxxxxx>
Date: Fri, 19 Mar 2010 17:55:26 +0800
Accept-language: zh-CN, en-US
Acceptlanguage: zh-CN, en-US
Cc: George Dunlap <George.Dunlap@xxxxxxxxxxxxx>, "Tian, Kevin" <kevin.tian@xxxxxxxxx>, "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>, Keir Fraser <keir.fraser@xxxxxxxxxxxxx>, "Yu, Ke" <ke.yu@xxxxxxxxx>
Delivery-date: Fri, 19 Mar 2010 02:56:07 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <4BA356BD0200007800035DA7@xxxxxxxxxxxxxxxxxx>
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>
References: <E6467867A6B05E4FA831B7DF29925F5C40D6628C@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx> <4BA356BD0200007800035DA7@xxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcrHSXxun55kfzdNR7O5vWqFYw1JGwAAKLew
Thread-topic: [Xen-devel] Optimize credit scheduler __runq_tickle to reduce IPIs
Jan Beulich wrote:
>>>> "Wei, Gang" <gang.wei@xxxxxxxxx> 19.03.10 09:22 >>>
>> 2. if first_cpu() was used as the way to choose the target among all
>> possible idle cpus, will it cause overall unbalanced cpu
>> utilization? i.e. cpu 0 > cpu 1 > ... > cpu N  
> 
> This can be easily avoided by using cycle_cpu() and tracking the last
> used CPU on e.g. a per-pCPU basis (similar to idle_bias used in
> _csched_cpu_pick()).  

Good sugguestion, thanks.

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

<Prev in Thread] Current Thread [Next in Thread>