From: Dan Magenheimer Subject: UEK2 as a Xen dom0 (was: [Xen-users] Transcendent Memory ("tmem") -capable kernel now publicly released) Date: Sun, 25 Mar 2012 09:10:13 -0700 (PDT) Message-ID: References: <90a72217-3cae-45db-aac1-1aeeb7f9bcce@default> Mime-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Joseph Glanville Cc: Lars Kurth , xen-users@lists.xen.org, xen-devel List-Id: xen-devel@lists.xenproject.org > From: Joseph Glanville [mailto:joseph.glanville@orionvm.com.au] > Subject: Re: [Xen-devel] [Xen-users] Transcendent Memory ("tmem") -capabl= e kernel now publicly > released > = > On 23 March 2012 04:22, Dan Magenheimer wrot= e: > > Transcendent Memory ("tmem") [1] is a new approach to optimizing RAM ut= ilization > > in a virtualized (and, in some cases, a physical) environment > > > > Support for tmem has been in the Xen hypervisor since the 4.0 release, = but > > the tmem protocols require cooperation between the hypervisor and guest > > OS kernel. =A0While the guest-side kernel changes are relatively simple > > and non-intrusive, getting any new technology into any operating system > > can be, shall we say, challenging... :-) =A0BUT... > > > > Last week, Oracle released "Oracle Unbreakable Enterprise Kernel Releas= e 2", > > the first publicly-available fully-supported[2] Linux kernel implementi= ng all > > Xen-guest-side capabilities for tmem, including "cleancache" (ephemeral= tmem > > pools), "frontswap" (persistent tmem pools), and in-kernel support for > > "self-ballooning". > > > > So now, finally, it should be easy to give tmem a try! > > > > Brief How-To: > = > Hi Dan. > = > Is UEK2 configured with dom0 support by default or does one have to > download the sources and recompile with appropriate options? > = > Joseph. Hi Joseph -- Since UEK2 is based on Linux 3.0, I think it has all the support necessary to be used as a dom0. However I don't think all the latest post-3.0 bug fixes and performance fixes for dom0 support have been back-ported (yet). Let me check and get back to you (or see if another UEK2 expert will reply on-list). In any case, the brief tmem how-to should probably have stated that the tmem feature is primarily for use in the hypervisor and guests, NOT dom0. Turning it on in dom0 may have some value for Xen systems that primarily use "file:" for disk access (i.e. are trading off potential data loss on a system crash for higher performance), but we don't really test that configuration. Dan