All of lore.kernel.org
 help / color / mirror / Atom feed
From: Kip Macy <kip.macy@gmail.com>
To: Keir Fraser <Keir.Fraser@cl.cam.ac.uk>
Cc: xen-devel <xen-devel@lists.xensource.com>
Subject: Re: xm pause causing lockup
Date: Thu, 14 Apr 2005 12:41:13 -0700	[thread overview]
Message-ID: <b1fa2917050414124168ea7d71@mail.gmail.com> (raw)
In-Reply-To: <b1fa29170504132018110362f6@mail.gmail.com>

I haven't tracked down the problem yet, but I thought the following
was sufficiently interesting to post:

kmacy@curly while (1)
while? xm list
while? sleep 5
while? end
Name              Id  Mem(MB)  CPU  State  Time(s)  Console
Domain-0           0      507    0  r----     67.9        
xen-vm2            1      128    1  r----      4.0    9601
Name              Id  Mem(MB)  CPU  State  Time(s)  Console
Domain-0           0      507    0  r----     68.1        
xen-vm2            1      128    1  r----      4.0    9601
Name              Id  Mem(MB)  CPU  State  Time(s)  Console
Domain-0           0      507    0  r----     68.3        
xen-vm2            1      128    1  r----      4.0    9601
Name              Id  Mem(MB)  CPU  State  Time(s)  Console
Domain-0           0      507    0  r----     68.5        
xen-vm2            1      128    1  r----      4.0    9601
Name              Id  Mem(MB)  CPU  State  Time(s)  Console
Domain-0           0      507    0  r----     68.7        
xen-vm2            1      128    1  r----      4.0    9601
Name              Id  Mem(MB)  CPU  State  Time(s)  Console
Domain-0           0      507    0  r----     68.9        
xen-vm2            1      128    1  r----      4.0    9601

xen-vm2 is always shown as running, but its time is not increasing.

               -Kip



On 4/13/05, Kip Macy <kip.macy@gmail.com> wrote:
> On 4/13/05, Keir Fraser <Keir.Fraser@cl.cam.ac.uk> wrote:
> > Probably easiest way to trace this is with printk's in Xen. The guts of
> > the work is done by domain_pause_by_systemcontroller() in xen/sched.h.
> > This in turn calls domain_sleep() in common/schedule.c.
> 
> I traced through that code a while back when trying to decide what to
> call from the int3 handler.
> 
> A particularly
> > interesting place to look will be teh synchronous spin loop at the end
> > of domain_sleep -- if the paused domain isn't descheduled for some
> > weird reason then the spin loop would never exit and domain0 would
> > hang.
> 
> Good point. It will be interesting to see.
> 
> I sometimes wonder if I should keep some of the buggy versions of
> FreeBSD around for regression testing as they trigger some interesting
> behaviours in xen and xend.
> 
>            -Kip
>

  reply	other threads:[~2005-04-14 19:41 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-04-14  2:46 xm pause causing lockup Kip Macy
2005-04-14  3:03 ` Keir Fraser
2005-04-14  3:03   ` Kip Macy
2005-04-14  3:16     ` Keir Fraser
2005-04-14  3:18       ` Kip Macy
2005-04-14 19:41         ` Kip Macy [this message]
2005-04-14 21:04           ` Kip Macy
2005-04-15  4:36             ` Kip Macy
  -- strict thread matches above, loose matches on Subject: below --
2005-04-15  6:53 Ian Pratt
2005-04-15 17:12 ` Kip Macy
2005-04-15 17:25 Ian Pratt
2005-04-15 18:57 ` Kip Macy
2005-04-15 19:29 Ian Pratt
2005-04-15 21:04 ` Kip Macy

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=b1fa2917050414124168ea7d71@mail.gmail.com \
    --to=kip.macy@gmail.com \
    --cc=Keir.Fraser@cl.cam.ac.uk \
    --cc=xen-devel@lists.xensource.com \
    /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
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.