From: "Jan Beulich" Subject: tmem - really default to on? Date: Fri, 29 Jan 2010 09:41:52 +0000 Message-ID: <4B62BB70020000780002CB2D@vpn.id2.novell.com> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Return-path: Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: dan.magenheimer@oracle.com Cc: xen-devel@lists.xensource.com List-Id: xen-devel@lists.xenproject.org Dan, after tmem was turned on by default we're getting reports of domain creation failures which go away as soon as tmem=3D0 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