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

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



http://bugzilla.xensource.com/bugzilla/show_bug.cgi?id=1037

           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: 
http://bugzilla.xensource.com/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

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


 


Rackspace

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