From: "Jan Beulich" Subject: RE: tmem - really default to on? Date: Mon, 01 Feb 2010 08:16:11 +0000 Message-ID: <4B669BDB020000780002CEFC@vpn.id2.novell.com> References: <4B62BB70020000780002CB2D@vpn.id2.novell.com> <8ce008cd-3942-4a25-9c09-1d099e2c04fb@default> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <8ce008cd-3942-4a25-9c09-1d099e2c04fb@default> 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 Cc: xen-devel@lists.xensource.com, Keir Fraser List-Id: xen-devel@lists.xenproject.org >>> Dan Magenheimer 29.01.10 21:03 >>> >I don't see how tmem could be causing this problem because it shouldn't >even be in use (even with tmem=3D1) unless the domains in use call it. We have the tmem kernel side patch in place, so any domain using our kernel and a tmem-enabled file system would (potentially) use it. >And the tmem code that limits to single page allocation should IIRC >only be invoked once all system memory has been absorbed (which >I suppose could be the case for dom0 when dom0_mem is not specified?) Or if enough VMs had been created to consume all freely available (outside of tmem) memory. As said in the original mail - we have seen systems with more than 2G "freeable" memory still causing domain creation to fail with "not enough memory". >I *think* maybe non-pvops dom0 has it on, but pvops almost certainly >does not. Correct - and our kernel is non-pvops. >Rather than turn it off in Xen, maybe best solution is to turn it >off in non-pvops dom0, at least by default. Or really there's >no reason it needs to be on for dom0 at all, so Xen code could >check for dom0 and disable it if dom0. I don't know that much about tmem, but why would Dom0 not benefit from it being enabled if there's memory available in Xen? Jan