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] Live migration: "netbuf race" messages can cause signifi

To: "John Byrne" <john.l.byrne@xxxxxx>, "xen-devel" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Subject: RE: [Xen-devel] Live migration: "netbuf race" messages can cause significant perfomance impact
From: "Ian Pratt" <m+Ian.Pratt@xxxxxxxxxxxx>
Date: Thu, 21 Dec 2006 18:18:49 -0000
Delivery-date: Thu, 21 Dec 2006 10:19:13 -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>
References: <4589F8C0.30809@xxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
Thread-index: AcckrFK83eOcJ3xrSxKMpobJnU2u7QAYfrxQ
Thread-topic: [Xen-devel] Live migration: "netbuf race" messages can cause significant perfomance impact
> Someone found that doing a live migration of a domain that had
ballooned
> down took far longer to migrate. (Ballooned down from 3000M to 1000M,
31
> seconds vs 89 seconds, real time) I came up with a complex theory and
> asked him to look in the xend.log to confirm it. He didn't, but he
> mentioned there was a lot of "netbuf race" messages in the log. In
this
> particular case, live migration generated approximately 512000 "netbuf
> race" messages. Deleting the DPRINTF reduced the migration time to 11
> seconds.
> 
> While it is simple enough to submit a patch to delete this DPRINTF,
> perhaps something more subtle is called for such as modifying the
> migrate/save command paths to accept a debug argument and passing to
> xc_save?

Ideally, we'd do more than suppress the printf.  We're needless
re-scanning the bitmap for the pages that are ballooned out because
we're not distinguishing them from other pages like network buffers that
are temporarily not part of the p2m map. I'm pretty sure my original
implementation got this right and its since been broken :) 

This scanning probably isn't very expensive (sans the printf), but its
worth cleaning up.

Ian

 
> Thanks,
> 
> John Byrne
> 
> 
> 
> 
> 
> 
> _______________________________________________
> Xen-devel mailing list
> Xen-devel@xxxxxxxxxxxxxxxxxxx
> http://lists.xensource.com/xen-devel

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

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