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-users] Re: [Xen-devel] New CPU scheduler w/ SMP load balancer

To: xen-devel@xxxxxxxxxxxxxxxxxxx, xen-users@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-users] Re: [Xen-devel] New CPU scheduler w/ SMP load balancer
From: "Anand Gupta" <xen.mails@xxxxxxxxx>
Date: Fri, 23 Jun 2006 16:07:26 +0530
Cc: Emmanuel Ackaouy <ack@xxxxxxxxxxxxx>
Delivery-date: Fri, 23 Jun 2006 03:38:06 -0700
Domainkey-signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:references; b=Ti9rSg97tfHWW/BTffnhnEyJMMTh6Z/5X3nNlMQzdL561A7b1+21z25acuh9QnsvXxXtjJL4w7BE+Zafv/3ccqgo4Vz1u36rDiy/wt9B1KXXXiyBENlSgr6xPXuyVkc2IF0ygEE0mhMkc5eiKQw8scku4A7Sr5fimvy1vZoeJEc=
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20060623101440.GA26953@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-users-request@lists.xensource.com?subject=help>
List-id: Xen user discussion <xen-users.lists.xensource.com>
List-post: <mailto:xen-users@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-users>, <mailto:xen-users-request@lists.xensource.com?subject=unsubscribe>
References: <20060526130150.GA2756@xxxxxxxxxxxxxxxxxxxxxxxxxxxx> <acb757c00606230249r316e5db3v72b770f8bc877d0b@xxxxxxxxxxxxxx> <20060623101440.GA26953@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-users-bounces@xxxxxxxxxxxxxxxxxxx
On 6/23/06, Emmanuel Ackaouy <ack@xxxxxxxxxxxxx> wrote:
On Fri, Jun 23, 2006 at 03:19:02PM +0530, Anand Gupta wrote:
>    Is the scheduler now default in the latest unstable ? How do i check which
>    is the scheduler ?

Yes, it is now the default scheduler as of changeset a31f3bff4f76.
One way is to check the Xen boot console output:
xm dmesg | grep "Using scheduler:"

Thanks for the info. Yes i see the default scheduler is credit.

>From the console, the 'r' debug key prints runq info and will
also let you know which scheduler is running.

Can you please explain this ?

>      xm csched -d <domain>                   lists weight and cap
>      xm csched -d <domain> -w <weight>       sets the weight
>      xm csched -d <domain> -c <cap>          sets the cap

Are there any valid entries for weight or cap ? Any limits etc ?

>
>    I tried xm csched and it gave me errors:
>
>    Error: Sub Command csched not found!
>
>    However xm sched-credit does seem to work. Was this changed ?

Yeah. I think Keir changed this shortly after I sent the mail.
We have sched-sedf and sched-bvt commands so it made sense to
call this sched-credit. Sorry for the confusion.

No confusion. Excellent work i should say.

I have been trying this scheduler with kernel compile on dom0 and some activity inside domU and tried to assign various weights and caps for both domains and the result showed up perfectly in xm top.

--
regards,

Anand Gupta
_______________________________________________
Xen-users mailing list
Xen-users@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-users