WARNING - OLD ARCHIVES

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

xen-devel

RE: [Xen-devel] Xrenstore and many save/restore cycles...

To: "Petersson, Mats" <Mats.Petersson@xxxxxxx>, "Daniel P. Berrange" <berrange@xxxxxxxxxx>
Subject: RE: [Xen-devel] Xrenstore and many save/restore cycles...
From: "Petersson, Mats" <Mats.Petersson@xxxxxxx>
Date: Thu, 10 May 2007 19:16:41 +0200
Cc: xen-devel@xxxxxxxxxxxxxxxxxxx, Keir Fraser <keir@xxxxxxxxxxxxx>
Delivery-date: Thu, 10 May 2007 10:15:36 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <907625E08839C4409CE5768403633E0B018E1CEB@xxxxxxxxxxxxxxxxx>
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AceTFmRxya10cmlSRtCTgJ1SR9dugAAAxpBAAAGkibAAAYGDIA==
Thread-topic: [Xen-devel] Xrenstore and many save/restore cycles...
 

> -----Original Message-----
> From: Petersson, Mats 
> Sent: 10 May 2007 17:30
> To: Petersson, Mats; Daniel P. Berrange
> Cc: xen-devel@xxxxxxxxxxxxxxxxxxx; Keir Fraser
> Subject: RE: [Xen-devel] Xrenstore and many save/restore cycles...
> 
>  
> 
> > -----Original Message-----
> > From: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx 
> > [mailto:xen-devel-bounces@xxxxxxxxxxxxxxxxxxx] On Behalf Of 
> > Petersson, Mats
> > Sent: 10 May 2007 16:51
> > To: Daniel P. Berrange
> > Cc: xen-devel@xxxxxxxxxxxxxxxxxxx; Keir Fraser
> > Subject: RE: [Xen-devel] Xrenstore and many save/restore cycles...
> > 
> > > > It seems like I've got a lot of 
> > > /local/domain/0/backend/console/* stuff
> > > > tho. Not sure if I have any other .../0/backend/* stuff 
> > as well, but
> > > > certainly there are literally thousands of consoles there.. 
> > > > 
> > > > Trying to locate where these are created and restored, but 
> > > no success
> > > > yet. 
> > 
> > /s/restored/destroyed/ above.
> > > 
> > > If its the virtual framebuffer bits, then they're populated 
> > > in a couple
> > > of places
> > > 
> > > tools/python/xen/xend/server/vfbif.py
> > 
> > 
> > Thanks Daniel, 
> > 
> > I don't think it's the vfb, as it's called "console" in the 
> xenstore. 
> > 
> > Attached is the diff (xs.diff) between an "early days" and "current"
> > xenstore-ls output whilst running a save/restore script and 
> the "early
> > days" output (xs.saved). [This is after a restart of the 
> machine with
> > the latest xen-unstable (c/s 15017). I also cleaned out the original
> > database for xenstore, to be sure that all is "neat"]. 
> 
> Also just noticed that this "growth" of the Xenstore happens 
> on normal "create/destroy" too.
> 
> Still trying to understand where these are supposed to be removed. 

As far as I can tell, the device should be removed around the place
where the domains device is removed - around line 1340 in
XendDomainInfo. But I'm still unsure about how this actually works. 

--
Mats
> 
> --
> Mats
> > 
> > --
> > Mats
> > 
> > 



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