xen-devel.lists.xenproject.org archive mirror
 help / color / mirror / Atom feed
* tmem - really default to on?
@ 2010-01-29  9:41 Jan Beulich
       [not found] ` <8ce008cd-3942-4a25-9c09-1d099e2c04fb@default>
  0 siblings, 1 reply; 17+ messages in thread
From: Jan Beulich @ 2010-01-29  9:41 UTC (permalink / raw)
  To: dan.magenheimer; +Cc: xen-devel

Dan,

after tmem was turned on by default we're getting reports of domain
creation failures which go away as soon as tmem=0 gets specified. In
particular we see this happen even when there are several Gb of
freeable memory reported. As I understand it this is in particular with
respect to multi page allocations not being handled in tmem code, and
specifically shadow code tries to allocate a non negligible amount of
order-2 pages (and iirc iommu code also continues to require - at least
on large systems - higher order allocations). Unless I'm
misunderstanding something, this is a design limitation that can only
be overcome by eliminating all post-boot non-order-0 allocations that
cannot fall back to order-0 ones, and hence defaulting tmem to on
should be reconsidered.

Besides that, in trying to reproduce this in some way I also get the
impression that tmem's memory consumption may significantly
depend on the type of file system used - on my test box (using
reiserfs) I cannot get tmem to consume any memory. Any
explanation for this (I did verify that there are pools for each of
the partitions)?

Thanks, Jan

^ permalink raw reply	[flat|nested] 17+ messages in thread

end of thread, other threads:[~2010-02-09 16:07 UTC | newest]

Thread overview: 17+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-01-29  9:41 tmem - really default to on? Jan Beulich
     [not found] ` <8ce008cd-3942-4a25-9c09-1d099e2c04fb@default>
2010-02-01  8:16   ` Jan Beulich
2010-02-04 21:01     ` Dan Magenheimer
2010-02-05  8:39       ` Jan Beulich
2010-02-05 18:44         ` Dan Magenheimer
2010-02-08  8:33           ` Jan Beulich
2010-02-08 17:18             ` Dan Magenheimer
2010-02-08 18:30               ` Dan Magenheimer
2010-02-09  9:25                 ` Jan Beulich
2010-02-09  9:30                   ` Keir Fraser
2010-02-09 15:43                     ` Dan Magenheimer
2010-02-09  9:10               ` Jan Beulich
2010-02-09 10:45               ` Tim Deegan
2010-02-09 13:00                 ` Jan Beulich
2010-02-09 13:31                   ` Keir Fraser
2010-02-09 13:59                     ` Tim Deegan
2010-02-09 16:07                       ` Dan Magenheimer

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).