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 fails under heavy network use

To: John Levon <levon@xxxxxxxxxxxxxxxxx>
Subject: Re: [Xen-devel] Live migration fails under heavy network use
From: Keir Fraser <Keir.Fraser@xxxxxxxxxxxx>
Date: Wed, 21 Feb 2007 07:32:10 +0000
Cc: Ian Pratt <m+Ian.Pratt@xxxxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx
Delivery-date: Tue, 20 Feb 2007 23:31:19 -0800
Envelope-to: www-data@xxxxxxxxxxxxxxxxxx
In-reply-to: <20070221004156.GB31928@xxxxxxxxxxxxxxxxxxxxxxx>
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: AcdVimV+pAyONsF9Edu7DQAWy6hiGQ==
Thread-topic: [Xen-devel] Live migration fails under heavy network use
User-agent: Microsoft-Entourage/11.3.3.061214
On 21/2/07 00:41, "John Levon" <levon@xxxxxxxxxxxxxxxxx> wrote:

> On Wed, Feb 21, 2007 at 12:06:52AM +0000, Keir Fraser wrote:
> 
>>> Urk. Checkout line 204 of privcmd.c
>>> That doesn't look too 64b clean to me....
> 
> Hmm, I never looked at the Linux privcmd driver before. It seems like
> you're prefaulting all the pages in the ioctl() in on the ioctl.
> Currently on Solaris we're demand-faulting each page in the mmap() ...
> 
> It looks like we're not checking that we ca actually map the page at the
> time of the ioctl(), thus it's not ending up as marked with that bit.
> 
> Looks like our bug...

If you check then you may as well map at the same time. I think it would
actually be hard to defer the mapping in a race-free manner.

 -- Keir



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