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] Re: Xen scheduler

To: pak333@xxxxxxxxxxx
Subject: Re: [Xen-devel] Re: Xen scheduler
From: Emmanuel Ackaouy <ackaouy@xxxxxxxxx>
Date: Tue, 24 Apr 2007 16:34:43 +0200
Cc: ncmike@xxxxxxxxxx, xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 24 Apr 2007 07:33:40 -0700
Dkim-signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:in-reply-to:references:mime-version:content-type:message-id:content-transfer-encoding:cc:from:subject:date:to:x-mailer; b=qz0NKeiXOgn5zx4iEqX+9Ol7+1bIGGEPYA+w6Oh9nOeFvHndFaASI27VKhXHrBR9ac4nvU3iTEQIPXYTtXtFGoaSZdIwD5Y55VMWbXClXvksVKItdWWz5MNbmeH4oc1LDr8aLxD/DufgNf4jpqU0qaDAVKu9/9UdegrDDLskJGs=
Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:in-reply-to:references:mime-version:content-type:message-id:content-transfer-encoding:cc:from:subject:date:to:x-mailer; b=FcaDTdMQ/lkzxQ44ful1P1r5DpsEO20Dr240p4FeqvqmT/tCFu1DDKUGOT4Kdr7XtyxyEFTXhGSYA5bFzpmSSbmgQfFyDek8lMHmCPIDJG4qe81l+UK1BQSuPfOKB9HtNtaXUSzv1dEQ/fiZa9Suc/ftF294hpLQ7No17Isnk2A=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <042320071933.18629.462D0A250001D375000048C52207021633CCCCCC050E9F@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: <042320071933.18629.462D0A250001D375000048C52207021633CCCCCC050E9F@xxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
On Apr 23, 2007, at 21:33, pak333@xxxxxxxxxxx wrote:
Basically all my questions boil down to this: Does the Scheduler know about the pcpu layout(same socket) and does it do any scheduling based on that.

Yes but not how you suggested.

The scheduler actually tries to schedule VCPUs across multiple
sockets before it "co-schedules" a socket. The idea behind this is
to maximize the achievable memory bandwidth.

On hyperthreaded systems, the scheduler will also attempt to
schedule across cores before it co-schedules hyperthreads. This
is to maximize achievable cycles.

At this time, no attempt is made to schedule 2 VCPUs of the
same VM any differently than 2 VCPUs of distinct VMs.

If you feel two VCPUs would do better co-scheduled on a
core or socket, you'd currently have to use cpumasks -- as
mike suggested -- to restrict where they can run manually. I'd
be curious to know of real world cases where doing this
increases performance significantly.

Hope this helps.

Cheers,
Emmanuel.

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

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