xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Meng Xu <mengxu@cis.upenn.edu>
To: Tianyang Chen <tiche@seas.upenn.edu>
Cc: "xen-devel@lists.xenproject.org" <xen-devel@lists.xenproject.org>,
	Dario Faggioli <dario.faggioli@citrix.com>,
	George Dunlap <george.dunlap@citrix.com>,
	Dagaen Golomb <dgolomb@seas.upenn.edu>
Subject: Re: [PATCH v11]xen: sched: convert RTDS from time to event driven model
Date: Fri, 18 Mar 2016 00:09:24 -0400	[thread overview]
Message-ID: <CAENZ-+=YKbyznj0JH-HyKhHQut3wTN=ZSfLkxFgzeNUbnPm4Tg@mail.gmail.com> (raw)
In-Reply-To: <1458230814-4317-1-git-send-email-tiche@seas.upenn.edu>

Hi Tianyang,

Great job! However, we still have 1 mile in the 100-mile journey. :-D

I applied the patch on staging and tried some test cases. One of them
is as follows:

I tried to create a cpupool and then migrate a VM to the new cpupool;
However, the system triggers the bug as below. I guess this is some
kind of bug that are known to us,  and Dario had some uncommitted
patch to fix it, IIRC?

I'm thinking maybe we should mark this issue as known issue so that we
won't be surprised to see it.
However, this issue should not stay in the code forever, for sure. :-)

The test scenario is:
Pool-0 has rtds scheduler,
then I create  cpupools with credit, credit2, rtds scheduler; The bug
occurs when I run the scripts. However, my machine just got stuck and
never goes up.. :-(
What's worse, the remote power switch I have cannot be connected as
well, so I cannot power off/on the machine to reboot tonight. I will
do it tomorrow when I get to school.

Below is the error message.

(XEN) Xen call trace:

(XEN)    [<ffff82d0801293ed>] sched_rt.c#rt_free_pdata+0x48/0x93

(XEN)    [<ffff82d08012e182>] schedule_cpu_switch+0x250/0x28a

(XEN)    [<ffff82d080101b49>] cpupool.c#cpupool_assign_cpu_locked+0x31/0x11f

(XEN)    [<ffff82d080102385>] cpupool_do_sysctl+0x1eb/0x68d

(XEN)    [<ffff82d080130785>] do_sysctl+0x615/0x102c

(XEN)    [<ffff82d0802449c2>] lstar_enter+0xe2/0x13c

(XEN)

(XEN)

(XEN) ****************************************

(XEN) Panic on CPU 5:

(XEN) Assertion 'sd->schedule_lock == &prv->lock' failed at sched_rt.c:690


Thanks,

Meng

-----------
Meng Xu
PhD Student in Computer and Information Science
University of Pennsylvania
http://www.cis.upenn.edu/~mengxu/

_______________________________________________
Xen-devel mailing list
Xen-devel@lists.xen.org
http://lists.xen.org/xen-devel

  parent reply	other threads:[~2016-03-18  4:09 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-03-17 16:06 Tianyang Chen
2016-03-17 18:27 ` Dario Faggioli
2016-03-17 20:12   ` Chen, Tianyang
2016-03-18  1:45     ` Meng Xu
2016-03-18  4:09 ` Meng Xu [this message]
2016-03-18  7:45   ` Jan Beulich
2016-03-18  9:23     ` Dario Faggioli
2016-03-18 14:23       ` Meng Xu
2016-03-18 14:19     ` Meng Xu
2016-03-18  9:24   ` Dario Faggioli
2016-03-18 14:25 ` Meng Xu

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAENZ-+=YKbyznj0JH-HyKhHQut3wTN=ZSfLkxFgzeNUbnPm4Tg@mail.gmail.com' \
    --to=mengxu@cis.upenn.edu \
    --cc=dario.faggioli@citrix.com \
    --cc=dgolomb@seas.upenn.edu \
    --cc=george.dunlap@citrix.com \
    --cc=tiche@seas.upenn.edu \
    --cc=xen-devel@lists.xenproject.org \
    --subject='Re: [PATCH v11]xen: sched: convert RTDS from time to event driven model' \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).