|
|
|
|
|
|
|
|
|
|
xen-devel
[Xen-devel] Re: [RFC PATCH 0/4] (Take 2): transcendent memory ("tmem") f
To: |
Avi Kivity <avi@xxxxxxxxxx> |
Subject: |
[Xen-devel] Re: [RFC PATCH 0/4] (Take 2): transcendent memory ("tmem") for Linux |
From: |
Anthony Liguori <anthony@xxxxxxxxxxxxx> |
Date: |
Sun, 12 Jul 2009 14:34:25 -0500 |
Cc: |
npiggin@xxxxxxx, akpm@xxxxxxxx, Dan Magenheimer <dan.magenheimer@xxxxxxxxxx>, xen-devel@xxxxxxxxxxxxxxxxxxx, tmem-devel@xxxxxxxxxxxxxx, kurt.hackel@xxxxxxxxxx, Rusty Russell <rusty@xxxxxxxxxxxxxxx>, linux-kernel@xxxxxxxxxxxxxxx, linux-mm@xxxxxxxxx, sunil.mushran@xxxxxxxxxx, chris.mason@xxxxxxxxxx, jeremy@xxxxxxxx, Schwidefsky <schwidefsky@xxxxxxxxxx>, dave.mccracken@xxxxxxxxxx, Marcelo Tosatti <mtosatti@xxxxxxxxxx>, alan@xxxxxxxxxxxxxxxxxxx, Balbir Singh <balbir@xxxxxxxxxxxxxxxxxx> |
Delivery-date: |
Sun, 12 Jul 2009 12:34:54 -0700 |
Envelope-to: |
www-data@xxxxxxxxxxxxxxxxxxx |
In-reply-to: |
<4A5A1A51.2080301@xxxxxxxxxx> |
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: |
<a09e4489-a755-46e7-a569-a0751e0fc39f@default> <4A5A1A51.2080301@xxxxxxxxxx> |
Sender: |
xen-devel-bounces@xxxxxxxxxxxxxxxxxxx |
User-agent: |
Thunderbird 2.0.0.21 (X11/20090320) |
Avi Kivity wrote:
In fact CMM2 is much more intrusive (but on the other hand provides
much more information).
I don't think this will remain true long term. CMM2 touches a lot of
core mm code and certainly qualifies as intrusive. However the result
is that the VMM has a tremendous amount of insight into how the guest is
using it's memory and can implement all sorts of fancy policy for
reclaim. Since the reclaim policy can evolve without any additional
assistance from the guest, the guest doesn't have to change as policy
evolves.
Since tmem requires that reclaim policy is implemented within the guest,
I think in the long term, tmem will have to touch a broad number of
places within Linux. Beside the core mm, the first round of patches
already touch filesystems (just ext3 to start out with). To truly be
effective, tmem would have to be a first class kernel citizen and I
suspect a lot of code would have to be aware of it.
So while CMM2 does a lot of code no one wants to touch, I think in the
long term it would remain relatively well contained compared to tmem
which will steadily increase in complexity within the guest.
Regards,
Anthony Liguori
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
|
|
|
|