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] don't split the whole large page while live migra

To: "Xin, Xiaohui" <xiaohui.xin@xxxxxxxxx>
Subject: Re: [Xen-devel][PATCH] don't split the whole large page while live migration with EPT
From: Tim Deegan <Tim.Deegan@xxxxxxxxxx>
Date: Thu, 16 Apr 2009 13:35:55 +0100
Cc: "xen-devel@xxxxxxxxxxxxxxxxxxx" <xen-devel@xxxxxxxxxxxxxxxxxxx>
Delivery-date: Thu, 16 Apr 2009 05:36:22 -0700
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
In-reply-to: <C85CEDA13AB1CF4D9D597824A86D2B9001CEEE17BE@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
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/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
References: <C85CEDA13AB1CF4D9D597824A86D2B9001CEEE17BE@xxxxxxxxxxxxxxxxxxxxxxxxxxxx>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.17 (2007-11-01)
At 13:33 +0100 on 16 Apr (1239888814), Xin, Xiaohui wrote:
> Before, when HVM guest live migration with EPT, we just write protect all the 
> EPT leaf entries.
> Then we know the dirty pages through ept_handle_violation(), and call 
> p2m_change_type()
> to put back the write access of the EPT entries. At that time when we use 
> large pages,
> we used to split the large page to 4K.
> It?s not necessary. Alternatively, we can just retain the large page entries,
> and put back the write access and mark dirty all the small pages in the large 
> page.
> 
> The patch attached removes the splitting.

What effect does this have on live migration time/traffic under load?

Cheers,

Tim

-- 
Tim Deegan <Tim.Deegan@xxxxxxxxxx>
Principal Software Engineer, Citrix Systems (R&D) Ltd.
[Company #02300071, SL9 0DZ, UK.]

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