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

Re: [Xen-devel] [PATCH][RFC] making "xm dump-core" paralell



On Thu, Sep 27, 2007 at 05:36:23PM +0900, Rikiya Ayukawa wrote:

> # Sorry, I mistook the function name on e-mail.
> # xc_domain_dump() -> xc_domain_dumpcore()
> 
> > - Add xc_dumpcore program. This program only calls xc_domain_dump()
> > >   in libxc to dump the core image of a domainU.
> >   
> >
> > Why?
> 
> To make xend call indirectly xc_domain_dumpcore() written by C.
> I think this is similar to xc_save and xc_restore programs.
> 
> xend (cset#15880:a00cc97b392a) calls xc_domain_dumpcore() directly.
> It takes xend a lot of time to finish this C function.
> 
> Until the xend's thread finishes xc_domain_dumpcore(), any other xend's
> thread
> don't run because of GIL (global interpreter lock) in CPython specification.
> 
> http://docs.python.org/api/threads.html

But if you're forking, why can't you do it in Python?

regards
john

_______________________________________________
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®.