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

xen-devel

[Top] [All Lists]

Re: [Xen-devel] Xen cpu Scheduling

To: pak333@xxxxxxxxxxx
Subject: Re: [Xen-devel] Xen cpu Scheduling
From: Atsushi SAKAI <sakaia@xxxxxxxxxxxxxx>
Date: 2007年3月20日 13:30:12 +0900
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: 2007年3月19日 21:30:16 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <032020070137.15717.45FF3ABE0000295A00003D652200762194CCCCCC050E9F@xxxxxxxxxxx>
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/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <032020070137.15717.45FF3ABE0000295A00003D652200762194CCCCCC050E9F@xxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Hi,
xentop gets information from runstate (see vcpu_runstate_change())
Please check it.
Thanks
Atsushi SAKAI
pak333@xxxxxxxxxxx wrote:
> Hi,
>
> I have some questions on scheduling. 
>
> 1. Suppose I give a VM 2 vcpus. When this VM gets scheduled will it always be 
> given two pcpus or can it be given 1vcpu also sometimes. For example if we 
> have mutiple VMs running, and if a cpu gets freed up will my 2vcpu VM be 
> scheduled on this single free cpu. If a single cpu cna be given how is the 
> cpu % calculated by xentop
>
> 2. If the 2vcpu is scheduled on two cpus, and one of its threads goes to 
> sleep can that single thread be context swtiched out. or will it be kept 
> spinning.
>
> 3. When xentop reports VM cpu% as say 167% what does that mean. is it the % 
> of time for the 2 vcpus (that means the VM is using 167% of the 200% it was 
> allotted, or is the 167% of the number of pcpus in the system), or is it 167% 
> of the total number of vcpus.
>
> Thanks much for answering my questions
>
> - Prabha
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
Previous by Date: [Xen-devel] Re: [patch 13/26] Xen-paravirt_ops: Consistently wrap paravirt ops callsites to make them patchable , Rusty Russell
Next by Date: [Xen-devel] RFC: [0/2] Remove netloop by lazy copying in netback , Herbert Xu
Previous by Thread: [Xen-devel] Xen cpu Scheduling , pak333
Next by Thread: [Xen-devel] Re: Xen cpu Scheduling , Mike D. Day
Indexes: [Date] [Thread] [Top] [All Lists]

Copyright ©, Citrix Systems Inc. All rights reserved. Legal and Privacy
Citrix This site is hosted by Citrix

AltStyle によって変換されたページ (->オリジナル) /