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

[Xen-devel] Suspending cached pages

To: xen-devel@xxxxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] Suspending cached pages
From: Sean Atkinson <sean@xxxxxxxxxxxxxx>
Date: Thu, 18 Mar 2004 11:04:24 +0100
Delivery-date: Thu, 18 Mar 2004 10:07:49 +0000
Envelope-to: steven.hand@xxxxxxxxxxxx
List-archive: <http://sourceforge.net/mailarchive/forum.php?forum=xen-devel>
List-help: <mailto:xen-devel-request@lists.sourceforge.net?subject=help>
List-id: List for Xen developers <xen-devel.lists.sourceforge.net>
List-post: <mailto:xen-devel@lists.sourceforge.net>
List-subscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=subscribe>
List-unsubscribe: <https://lists.sourceforge.net/lists/listinfo/xen-devel>, <mailto:xen-devel-request@lists.sourceforge.net?subject=unsubscribe>
Organization: Netproject
Sender: xen-devel-admin@xxxxxxxxxxxxxxxxxxxxx
Hi,

I used the demo CD to test suspending a domain to disk, hoping to
migrate suspended domains between Xen machines.  The domain reported
62940 kB total memory in /proc/meminfo, with 29800 cached.  This happily
suspended to a 22965k gzip file, which expands to 65610k when
decompressed.

Am I right in thinking that the cache pages were be included, and if so
are there any thoughts on removing them?

I seem to recall that before swsusp actually starts its suspension of
memory to disk scripts prepare the machine state and cache pages are not
written out.  This means that full performance isn't returned
immediately after resumption, but presumably it's just as fast to
re-read the cache back from files on disk rather than pages from a
suspend file, and it minimises machine state.

Cheers,

Sean.

-- 
Sean Atkinson <sean@xxxxxxxxxxxxxx>
Netproject



-------------------------------------------------------
This SF.Net email is sponsored by: IBM Linux Tutorials
Free Linux tutorial presented by Daniel Robbins, President and CEO of
GenToo technologies. Learn everything from fundamentals to system
administration.http://ads.osdn.com/?ad_id=1470&alloc_id=3638&op=click
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/xen-devel

<Prev in Thread] Current Thread [Next in Thread>