All of lore.kernel.org
 help / color / mirror / Atom feed
* RE: saving domains
@ 2005-02-09 23:54 Ian Pratt
  2005-02-10  1:10 ` Jared Rhine
  2005-02-10 16:14 ` Ronald G. Minnich
  0 siblings, 2 replies; 21+ messages in thread
From: Ian Pratt @ 2005-02-09 23:54 UTC (permalink / raw)
  To: Arthur Bergman, Tim Freeman; +Cc: xen-devel, ian.pratt

> My workaround in xen 2.04 is to run xfrd under strace -fF or gdb with 
> set-follow-fork child mode.This makes it work for 95% of the attempts 
> Ian had some suggestions that I could try but I haven't had 
> the chance. 
> It seems like some bug inside xend/xfrd with regards to timings. It 
> affects both save and migrate.
> 
> Maybe we should collect what version of python and twisted we have.
> 
> Python Version: 2.3.4-19
> Twisted Version: 1.3.0-6

That would be a very useful thing to do. We've utterly failed to
reproduce these problems here. 

The sooner we dump Twisted the better...

Ian 


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id\x14396&op=click

^ permalink raw reply	[flat|nested] 21+ messages in thread
* Re: saving domains
@ 2005-02-10  9:07 Zhiyi Huang
  2005-02-10  9:20 ` Arthur Bergman
  0 siblings, 1 reply; 21+ messages in thread
From: Zhiyi Huang @ 2005-02-10  9:07 UTC (permalink / raw)
  To: xen-devel; +Cc: Arthur Bergman

I have tried the following but still no luck:(

I am using python 2.3.4 and twisted 1.3.0rc1 (same as Tim's), by the way.

> killall xfrd
> screen strace -fF xfrd
> 
> :-)
> 
> Yes once xm save works, xm migrate works as well.
> 
> Cheers
> Arthur
 

--------------------------
Zhiyi from EPFL Switzerland



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

^ permalink raw reply	[flat|nested] 21+ messages in thread
[parent not found: <BAY102-F15E8F04B4950494F7E1C67B3750@phx.gbl>]
* RE: saving domains
@ 2005-02-10  2:13 Ian Pratt
  0 siblings, 0 replies; 21+ messages in thread
From: Ian Pratt @ 2005-02-10  2:13 UTC (permalink / raw)
  To: Adam Heath; +Cc: Nivedita Singhvi, Jared Rhine, xen-devel, ian.pratt

 
> Threads in python suck.  Only one thread at a time can be in 
> the python interpeter.

...which is just fine for something that isn't compute intensive.

The new tools will be rather more modular, comprising multiple daemons,
some in C, some in python (at least initially). 

Ian


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id\x14396&op=click

^ permalink raw reply	[flat|nested] 21+ messages in thread
* RE: saving domains
@ 2005-02-10  2:08 Ian Pratt
  0 siblings, 0 replies; 21+ messages in thread
From: Ian Pratt @ 2005-02-10  2:08 UTC (permalink / raw)
  To: Adam Heath; +Cc: xen-devel, ian.pratt

 
> Having python for xend sucks on nfs-root dom0.  Esp. if dom0 
> is setup with a
> low memory footprint, and not much is available for cache.

A lot of the current daemon's size is down to Twisted, which won't be
featuring in the new tools. 

As regards your dom0 NFS root, have you investigated cachefs? I've heard
that in the last few weeks its become stable and works well.

Ian


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id\x14396&op=click

^ permalink raw reply	[flat|nested] 21+ messages in thread
* RE: saving domains
@ 2005-02-10  1:51 Ian Pratt
  2005-02-10  2:00 ` Mark Williamson
                   ` (3 more replies)
  0 siblings, 4 replies; 21+ messages in thread
From: Ian Pratt @ 2005-02-10  1:51 UTC (permalink / raw)
  To: Nivedita Singhvi, Jared Rhine; +Cc: xen-devel, ian.pratt

> > Well, maybe.  While "lighter weight" xend would be good, 
> maybe C would
> > be a better implementation language for that lightweight 
> tool?  Seems
> > like having the fat Python xend implementation use the fat Twisted
> > library makes sense...
> 
> Jared, think you meant "little sense" ? ;)
> But otherwise, I agree. Is anyone tied to python as a solution?
> Wouldn't it be better to carve out a more robust alternative
> in C?

There's nothing wrong with using python, its just Twisted that turned
out to be a bad decision. I'd wager that a daemon written in python
using language level threads would be rather smaller (in code size) and
likely more robust than one written in C. I don't really buy the
resource usage argument as a python interpreter is just over 2.5MB RSS
and the daemon shouldn't be CPU intensive.

Ian


-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id\x14396&op=click

^ permalink raw reply	[flat|nested] 21+ messages in thread
* saving domains
@ 2005-02-09 23:24 Tim Freeman
  2005-02-09 23:30 ` Arthur Bergman
  0 siblings, 1 reply; 21+ messages in thread
From: Tim Freeman @ 2005-02-09 23:24 UTC (permalink / raw)
  To: xen-devel

There have been a number of recent questions and bug reports about save and
restore (Zhiyi, Arthur, Luciano, Todd).  Were there any workarounds or
resolutions?  

I am having the same problem, 2.4.28 (2.6.10 guest), dual Xeon, gcc 3.2.3 on
RH7 and also on 2.6.10 (2.6.10 guest), dual PIII, gcc 3.3.5 on Debian Sarge.
 (just one vif/vbd on the guests)

Thanks for any information,

Tim




-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_id=6595&alloc_id=14396&op=click

^ permalink raw reply	[flat|nested] 21+ messages in thread

end of thread, other threads:[~2005-02-10 16:21 UTC | newest]

Thread overview: 21+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-02-09 23:54 saving domains Ian Pratt
2005-02-10  1:10 ` Jared Rhine
2005-02-10  1:35   ` Nivedita Singhvi
2005-02-10  2:11     ` Jared Rhine
2005-02-10  1:52   ` Adam Heath
2005-02-10 16:14 ` Ronald G. Minnich
  -- strict thread matches above, loose matches on Subject: below --
2005-02-10  9:07 Zhiyi Huang
2005-02-10  9:20 ` Arthur Bergman
     [not found] <BAY102-F15E8F04B4950494F7E1C67B3750@phx.gbl>
2005-02-10  6:57 ` Arthur Bergman
2005-02-10  2:13 Ian Pratt
2005-02-10  2:08 Ian Pratt
2005-02-10  1:51 Ian Pratt
2005-02-10  2:00 ` Mark Williamson
2005-02-10  2:06 ` Adam Heath
2005-02-10  2:20 ` Jared Rhine
2005-02-10 16:21 ` Ronald G. Minnich
2005-02-09 23:24 Tim Freeman
2005-02-09 23:30 ` Arthur Bergman
2005-02-10  2:27   ` Tim Freeman
2005-02-10  6:58     ` Arthur Bergman
2005-02-10 10:56   ` tdc

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.