xen-devel
[Xen-devel] RE: [RFC] transcendent memory for Linux
To: |
Chris Friesen <cfriesen@xxxxxxxxxx> |
Subject: |
[Xen-devel] RE: [RFC] transcendent memory for Linux |
From: |
Dan Magenheimer <dan.magenheimer@xxxxxxxxxx> |
Date: |
Mon, 22 Jun 2009 13:50:36 -0700 (PDT) |
Cc: |
npiggin@xxxxxxx, akpm@xxxxxxxx, jeremy@xxxxxxxx, xen-devel@xxxxxxxxxxxxxxxxxxx, tmem-devel@xxxxxxxxxxxxxx, alan@xxxxxxxxxxxxxxxxxxx, linux-mm@xxxxxxxxx, kurt.hackel@xxxxxxxxxx, Rusty Russell <rusty@xxxxxxxxxxxxxxx>, linux-kernel@xxxxxxxxxxxxxxx, dave.mccracken@xxxxxxxxxx, Marcelo Tosatti <mtosatti@xxxxxxxxxx>, Himanshu Raj <rhim@xxxxxxxxxxxxx>, sunil.mushran@xxxxxxxxxx, Avi Kivity <avi@xxxxxxxxxx>, Martin Schwidefsky <schwidefsky@xxxxxxxxxx>, Balbir Singh <balbir@xxxxxxxxxxxxxxxxxx>, chris.mason@xxxxxxxxxx, Rik |
Delivery-date: |
Wed, 24 Jun 2009 05:51:31 -0700 |
Envelope-to: |
www-data@xxxxxxxxxxxxxxxxxxx |
In-reply-to: |
<4A3F95A6.5040503@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> |
Sender: |
xen-devel-bounces@xxxxxxxxxxxxxxxxxxx |
> > What if there was a class of memory that is of unknown
> > and dynamically variable size, is addressable only indirectly
> > by the kernel, can be configured either as persistent or
> > as "ephemeral" (meaning it will be around for awhile, but
> > might disappear without warning), and is still fast enough
> > to be synchronously accessible?
> >
> > We call this latter class "transcendent memory"
>
> While true that this memory is "exceeding usual limits", the more
> important criteria is that it may disappear.
>
> It might be clearer to just call it "ephemeral memory".
Ephemeral tmem (precache) may be the most interesting, but there
is persistent tmem (preswap) as well. Both are working today
and both are included in the patches I posted.
Looking for a term encompassing both, I chose "transcendent".
> There is going to be some overhead due to the extra copying, and at
> times there could be two copies of data in memory. It seems possible
> that certain apps right a the borderline could end up running slower
> because they can't fit in the regular+ephemeral memory due to the
> duplication, while the same amount of memory used normally could have
> been sufficient.
This is likely true, but I expect the duplicates to be few
and transient and a very small fraction of the total memory cost for
virtualization (and similar abstraction technologies).
> I suspect trying to optimize management of this could be difficult.
True. Optimizing the management of ANY resource across many
consumers is difficult. But wasting the resource because its
a pain to optimize doesn't seem to be a good answer either.
Thanks!
Dan
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
<Prev in Thread] |
Current Thread |
[Next in Thread>
|
- [Xen-devel] [RFC PATCH 0/4] transcendent memory ("tmem") for Linux, (continued)
- [Xen-devel] [RFC PATCH 0/4] transcendent memory ("tmem") for Linux, Dan Magenheimer
- [Xen-devel] [RFC PATCH 1/4] tmem: infrastructure for tmem layer, Dan Magenheimer
- [Xen-devel] [RFC PATCH 2/4] tmem: precache implementation (layered on tmem), Dan Magenheimer
- [Xen-devel] [RFC PATCH 3/4] tmem: preswap implementation (layered on tmem), Dan Magenheimer
- [Xen-devel] [RFC PATCH 4/4] tmem: interface code for tmem on top of xen, Dan Magenheimer
- [Xen-devel] Re: [RFC] transcendent memory for Linux, Martin Schwidefsky
- [Xen-devel] Re: [RFC] transcendent memory for Linux, Chris Friesen
- [Xen-devel] RE: [RFC] transcendent memory for Linux,
Dan Magenheimer <=
- [Xen-devel] Re: [RFC] transcendent memory for Linux, Pavel Machek
- [Xen-devel] Re: [RFC] transcendent memory for Linux, Linus Walleij
|
|
|