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 cpu Scheduling

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] Xen cpu Scheduling
From: pak333@xxxxxxxxxxx
Date: Tue, 20 Mar 2007 01:37:02 +0000
Delivery-date: Mon, 19 Mar 2007 18:36:03 -0700
Envelope-to: www-data@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/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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
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>