From: Dan Magenheimer Subject: RE: [RFC] Transcendent Memory ("tmem"): a new approach to physical memory management Date: Thu, 8 Jan 2009 22:32:19 +0000 (GMT) Message-ID: <634a7de1-13b9-4806-b0c3-1102fb2ee622@default> References: <20090108213819.6013b56d@lxorguk.ukuu.org.uk> Mime-Version: 1.0 Content-Type: text/plain; charset=Windows-1252 Content-Transfer-Encoding: quoted-printable Return-path: In-Reply-To: <20090108213819.6013b56d@lxorguk.ukuu.org.uk> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xensource.com Errors-To: xen-devel-bounces@lists.xensource.com To: Alan Cox Cc: "Xen-Devel (E-mail)" List-Id: xen-devel@lists.xenproject.org Hi Alan -- Sorry, I'm not trying to be cryptic. I'm having some network problems and will try to post the Linux patch shortly. I'm aware of IBM's CMM and I think (hope) tmem achieves similar goals but is much much simpler and more extensible for other interesting uses. After I get the patch posted, let me know if you agree. Yes, one of the other uses for tmem is for cluster nodes co-resident on a physical machine to share a "virtual page cache". That's under development... working with the ocfs2 team. Looking forward to more discussion... Dan > > Comments and questions welcome. I also plan to submit an > > abstract for the upcoming Xen summit and, if accepted, give > > a talk about tmem there. >=20 > I assume you've looked at how S/390 handles this problem -=20 > the guests can > mark pages as stable or unused and the rest is up to the=20 > hypervisor ? No > complex pool interfaces and the resulting interface slots=20 > into the Linux > kernel as a pair of 1 liners in existing arch_foo hooks in the mm. The > S/390 keeps the question of shared/private memory objects=20 > separate from > the question of whether they are currently used - a point on which I > think their model and interface is probably better. >=20 > I would look at the patches but the URL you give contains=20 > nothing but an > empty repository. I'd be interested to see how the kernel patches look > and also how you implement migration of some of the users of a shared > pool object - do you implement a full clustered memory=20 > manager and what do the > performance figures look like across networks ? How do you find a pool > across the network ? >=20 > Its interesting as you can do a lot of other interesting=20 > things with this > kind of interface. Larry McVoy's bitcluster SMP proposal was=20 > built on a > similar idea using refcounted page loans to drive a=20 > multiprocessor NUMA > box as a cluster with page sharing.