xen-devel
[Xen-devel] RE: Memory fragmentation, order>0 allocation, and 4.0 dynami
To: |
Jan Beulich <JBeulich@xxxxxxxxxx> |
Subject: |
[Xen-devel] RE: Memory fragmentation, order>0 allocation, and 4.0 dynamic RAM optimization features |
From: |
Dan Magenheimer <dan.magenheimer@xxxxxxxxxx> |
Date: |
Thu, 18 Feb 2010 08:09:38 -0800 (PST) |
Cc: |
xen-devel@xxxxxxxxxxxxxxxxxxx, Tim Deegan <Tim.Deegan@xxxxxxxxxx>, GeorgeDunlap <george.dunlap@xxxxxxxxxxxxx>, PatrickColp <pjcolp@xxxxxxxxx>, Ian Pratt <Ian.Pratt@xxxxxxxxxxxxx>, Andrew Peace <Andrew.Peace@xxxxxxxxxxxxx>, Keir Fraser <keir.fraser@xxxxxxxxxxxxx>, Grzegorz Milos <gm281@xxxxxxxxx> |
Delivery-date: |
Thu, 18 Feb 2010 08:12:39 -0800 |
Envelope-to: |
www-data@xxxxxxxxxxxxxxxxxxx |
In-reply-to: |
<4B7D02B302000078000300BF@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/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: |
<4B7D02B302000078000300BF@xxxxxxxxxxxxxxxxxx> |
Sender: |
xen-devel-bounces@xxxxxxxxxxxxxxxxxxx |
> From: Jan Beulich [mailto:JBeulich@xxxxxxxxxx]
> >>> Dan Magenheimer <dan.magenheimer@xxxxxxxxxx> 08.02.10 19:13 >>>
> >Are there other known order>0 allocations that might result
> >in similar issues?
>
> Interestingly, tmem itself indirectly causes order-1 allocations
> (through
> the use of xmem_pool_create(), sizeof(struct xmem_pool) = 0x18d0
> on a non-debug build).
Well that's embarrassing :-}
But to be fair:
1) tmem is just using xen infrastructure code that suffers from the
same pervasive problem (though admittedly I added the interface
to xmalloc_tlsf to enable additional xmem pools to be created)
2) tmem fails semi-gracefully by just turning itself off for
a domain that fails this order-1 allocation (though it really
need only disable persistent pools, not all tmem pools)
But ignoring my flimsy excuses, Jan, do you have some debug code
you are using to identify order>0 allocations? If so, could I
have a copy... and perhaps Keir would consider adding
it post-4.0 to make it easier to search-and-destroy.
_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel
|
Previous by Date: |
[Xen-devel] RE: [PATCH] tmem: fix to 20945 "When tmem is enabled, reserve a fraction of memory", Dan Magenheimer |
Next by Date: |
[Xen-devel] RE: Memory fragmentation, order>0 allocation, and 4.0 dynamic RAM optimization features, Jan Beulich |
Previous by Thread: |
[Xen-devel] Re: Memory fragmentation, order>0 allocation, and 4.0 dynamic RAM optimization features, Jan Beulich |
Next by Thread: |
[Xen-devel] RE: Memory fragmentation, order>0 allocation, and 4.0 dynamic RAM optimization features, Jan Beulich |
Indexes: |
[Date]
[Thread]
[Top]
[All Lists] |
|
|