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

Re: [Xen-devel] Scheduler problem in XEN 3.4.0


  • To: Pankaj Parakh <me.pankajparakh@xxxxxxxxx>
  • From: George Dunlap <George.Dunlap@xxxxxxxxxxxxx>
  • Date: Tue, 13 Oct 2009 12:47:03 +0100
  • Cc: xen-devel@xxxxxxxxxxxxxxxxxxx
  • Delivery-date: Tue, 13 Oct 2009 04:47:30 -0700
  • Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:sender:in-reply-to:references:date :x-google-sender-auth:message-id:subject:from:to:cc:content-type; b=VZkHDN1/6reuwEG85n/bKrGNdGyBzyV6A3kNNtXPZ1RHMpKBqmlclVvhNkIfr9d3j3 DiVYEFw51e4qllCdS8Wu7O2+55jfv49lCSYlEIIzMn+2g2Hfxd/VLcxI2136NdCv7AUw yJ9mz3tDCHpx1CgsEjzX14rKcOnazDWZzeXNI=
  • List-id: Xen developer discussion <xen-devel.lists.xensource.com>

Pankaj,

I haven't used the round-robin scheduler code in that book, but
another guy named Ananth tried to use it unsuccessfully as well.  You
can see some of that thread here (not sure why I can't find the
original post):
 http://lists.xensource.com/archives/html/xen-devel/2009-05/msg00004.html

Most of us are not so interested in finding the bug in the books'
code, but we are interested in helping *you* find it.  If you continue
to do hypervisor work (and especially if you do anything with the
scheduler), you're going to have to learn how to debug a hypervisor,
which is often rather a pain in the neck.

There is some advice in the thread linked to above about setting up a
serial console.  You can add printk()'s around to find out what the
sched_rr code is doing and where it's going wrong, and ask more
questions on the list if you get stuck.  (Feel free to cc me to bring
it to my attention, but always send it to the whole list.)

Good luck,
 -George


On Mon, Oct 12, 2009 at 6:15 PM, Pankaj Parakh
<me.pankajparakh@xxxxxxxxx> wrote:
> Hi All,
>
> I am trying to learn about schedulers of XEN, so for a start I am
> using XEN 3.4.0 and using book - The Definitive Guide to the Xen
> Hypervisor - by David Chisnall, I have followed its steps to add
> scheduler which is there in Chap. 12
> But I dont know what is the problem, I am unable to boot with that
> scheduler selected, I have been trying to debug this problem, but
> kinda stuck in it.
> The scheduler given in that book is a trivial round robin scheduler.
>
> Is the problem is with the code or with the procedure, I dont know that also.
>
> Plzz help me out of this.
>
> Thanks
> Pankaj Parakh
>
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel
>

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


 


Rackspace

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