[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-users] Re: [Xen-devel] New CPU scheduler w/ SMP load balancer


  • To: xen-devel@xxxxxxxxxxxxxxxxxxx, xen-users@xxxxxxxxxxxxxxxxxxx
  • 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=
  • List-id: Xen user discussion <xen-users.lists.xensource.com>

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

 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.