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-api

[Xen-API] [PATCH 0 of 2] improve VM.copy performance by inspecting BATs,

To: xen-api@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-API] [PATCH 0 of 2] improve VM.copy performance by inspecting BATs, speeding up zero scanning
From: David Scott <dave.scott@xxxxxxxxxxxxx>
Date: Fri, 23 Jul 2010 18:23:45 +0100
Delivery-date: Fri, 23 Jul 2010 10:37:48 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-api-request@lists.xensource.com?subject=help>
List-id: Discussion of API issues surrounding Xen <xen-api.lists.xensource.com>
List-post: <mailto:xen-api@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-api>, <mailto:xen-api-request@lists.xensource.com?subject=unsubscribe>
Sender: xen-api-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mercurial-patchbomb/1.4.3
Make VM.copy a lot faster by (i) using BAT data (if available); and (ii) 
speeding up the zero-scanning

On local LVHD, VM.copies of freshly installed guests are much quicker:

Guest          Previous VM.copy time    New VM.copy time   Speedup
----------------------------------------------------------------
Debian Lenny   2:11                     1:18               40%
Windows 7      14:18                    7:57               44%

Signed-off-by: David Scott <dave.scott@xxxxxxxxxxxxx>
 OMakefile               |    1 +
 ocaml/xapi/OMakefile    |    4 +-
 ocaml/xapi/sparse_dd.ml |  364 ++++++++++++++++++++++++++++++++++++++++++++++++
 xapi.spec               |    1 +
 ocaml/xapi/sm_fs_ops.ml |  117 +++++---------
 5 files changed, 412 insertions(+), 75 deletions(-)

_______________________________________________
xen-api mailing list
xen-api@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/mailman/listinfo/xen-api

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