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] [PATCH][TOOLS]Reducingimpactofdomainsave/restore/dump on

To: "Graham, Simon" <Simon.Graham@xxxxxxxxxxx>, "Keir Fraser" <Keir.Fraser@xxxxxxxxxxxx>, "Keir Fraser" <keir@xxxxxxxxxxxxx>, <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-devel] [PATCH][TOOLS]Reducingimpactofdomainsave/restore/dump on Dom0
From: "Graham, Simon" <Simon.Graham@xxxxxxxxxxx>
Date: Sat, 24 Feb 2007 09:06:21 -0500
Delivery-date: Sat, 24 Feb 2007 06:05:47 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
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: AcdO73yfygbdSnxbR/2AnMRpBcbdNgAy2MewAXo9PloACVlAIAAAS21yAGSDywAAAszgRQAD8etAAABE8FAAAIBJFwAAB7ZQAAkQvwIAA6T0sAAAiDmA
Thread-topic: [Xen-devel] [PATCH][TOOLS]Reducingimpactofdomainsave/restore/dump on Dom0
> > Libxenguest links against libxenctrl: it uses plenty of functions
> from
> > libxenctrl already (xc_domain_getinfo() to name just one example).
> 
> Well, then something else isn't right -- when I first did this, I put
> the routine in xc_private.c and got unresolved externals making
> libxenguest.so... that's the _only_ reason I put it inline in
> xc_private.h...
> 

Well.. now it works -- beats me why it didn't before!

Anyway -- attached is take - um - 4 I think; implementation moved into
xc_linux.c and xc_solaris.c (I chose not to go with the default
implementation using the 'weak' attribute in favour of an explicitly
null version on Solaris). No changes in tools/xcutils. I also removed
the xc_ prefix from the routine to make it clear that it's internal...

/simgr

-----------------------------------
Reduce impact of saving/restoring/dumping large domains on Dom0 memory
usage by means of fadvise64() to tell the OS to discard the cache pages
used for the save/dump file.

Signed-off-by: Simon Graham <Simon.Graham@xxxxxxxxxxx>

Attachment: xen-dom0-cache.patch
Description: xen-dom0-cache.patch

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
<Prev in Thread] Current Thread [Next in Thread>
  • RE: [Xen-devel] [PATCH][TOOLS]Reducingimpactofdomainsave/restore/dump on Dom0, Graham, Simon <=