xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
From: Dan Magenheimer <dan.magenheimer@oracle.com>
To: Jan Beulich <JBeulich@novell.com>
Cc: xen-devel@lists.xensource.com, Tim Deegan <Tim.Deegan@citrix.com>,
	GeorgeDunlap <george.dunlap@eu.citrix.com>,
	PatrickColp <pjcolp@cs.ubc.ca>,
	Ian Pratt <Ian.Pratt@eu.citrix.com>,
	Andrew Peace <Andrew.Peace@eu.citrix.com>,
	Keir Fraser <keir.fraser@eu.citrix.com>,
	Grzegorz Milos <gm281@cam.ac.uk>
Subject: RE: Memory fragmentation, order>0 allocation, and 4.0 dynamic RAM optimization features
Date: Thu, 18 Feb 2010 08:09:38 -0800 (PST)	[thread overview]
Message-ID: <b5a8d8a9-e991-4118-9783-8be1f29fef52@default> (raw)
In-Reply-To: <4B7D02B302000078000300BF@vpn.id2.novell.com>

> From: Jan Beulich [mailto:JBeulich@novell.com]
> >>> Dan Magenheimer <dan.magenheimer@oracle.com> 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.

  reply	other threads:[~2010-02-18 16:09 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-02-18  8:04 Memory fragmentation, order>0 allocation, and 4.0 dynamic RAM optimization features Jan Beulich
2010-02-18 16:09 ` Dan Magenheimer [this message]
2010-02-18 16:18   ` Jan Beulich
2010-02-18 17:32     ` Dan Magenheimer
2010-02-18 20:46       ` xe pool_reject support on XCP Chonduy Nguyen
2010-02-18 23:54         ` Dave Scott
2010-02-19  0:36           ` XCP event tracking Chonduy Nguyen
2010-02-19  1:34         ` XCP: Real-time Performance Monitoring and Alerting Chonduy Nguyen
  -- strict thread matches above, loose matches on Subject: below --
2010-02-08 18:13 Memory fragmentation, order>0 allocation, and 4.0 dynamic RAM optimization features Dan Magenheimer
2010-02-08 19:11 ` Keir Fraser
2010-02-09 10:50   ` Tim Deegan
2010-02-09 13:13 ` Jan Beulich

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=b5a8d8a9-e991-4118-9783-8be1f29fef52@default \
    --to=dan.magenheimer@oracle.com \
    --cc=Andrew.Peace@eu.citrix.com \
    --cc=Ian.Pratt@eu.citrix.com \
    --cc=JBeulich@novell.com \
    --cc=Tim.Deegan@citrix.com \
    --cc=george.dunlap@eu.citrix.com \
    --cc=gm281@cam.ac.uk \
    --cc=keir.fraser@eu.citrix.com \
    --cc=pjcolp@cs.ubc.ca \
    --cc=xen-devel@lists.xensource.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).