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/
Home Products Support Community News


[Xen-bugs] [Bug 1037] New: host freezes during shutdown of large domains

To: xen-bugs@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-bugs] [Bug 1037] New: host freezes during shutdown of large domains
From: bugzilla-daemon@xxxxxxxxxxxxxxxxxxx
Date: Tue, 7 Aug 2007 12:30:11 -0700
Delivery-date: Tue, 07 Aug 2007 12:30:28 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-bugs-request@lists.xensource.com?subject=help>
List-id: Xen Bugzilla <xen-bugs.lists.xensource.com>
List-post: <mailto:xen-bugs@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-bugs>, <mailto:xen-bugs-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-bugs>, <mailto:xen-bugs-request@lists.xensource.com?subject=unsubscribe>
Reply-to: bugs@xxxxxxxxxxxxxxxxxx
Sender: xen-bugs-bounces@xxxxxxxxxxxxxxxxxxx

           Summary: host freezes during shutdown of large domains
           Product: Xen
           Version: unstable
          Platform: x86-64
        OS/Version: Linux-2.6
            Status: NEW
          Severity: normal
          Priority: P2
         Component: Hypervisor
        AssignedTo: xen-bugs@xxxxxxxxxxxxxxxxxxx
        ReportedBy: krysans@xxxxxxxxxx

The host server seems to be starved for resources, and thus unable to respond
to any requests (frozen) when a large virtual machine is shutting down.

Keir's response:
This is pretty simple. The domain's memory map is torn down synchronously when
it is killed by domain0, via XEN_DOMCTL_destroydomain. This can take a long
time, and during that time that domain0 vcpu is not interruptible.

The possible fixes are:
 1. Find out which bit of domain_kill() takes the longest time and optimise it
so it takes much less time. Unfortunately it is still going to be proportional
to the memory size of the domain.
 2. Make domain destruction asynchronous (probably by introducing hypervisor
threads, analogous to kernel threads).

Possibly we need both (1) and (2). I don't think we can avoid doing (2) in the
long term, really.

Configure bugmail: 
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Xen-bugs mailing list

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-bugs] [Bug 1037] New: host freezes during shutdown of large domains, bugzilla-daemon <=