[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <fa083462-f28d-4188-9006-a285141acc21@default>
Date: Thu, 9 Jul 2009 14:48:10 -0700 (PDT)
From: Dan Magenheimer <dan.magenheimer@...cle.com>
To: Rik van Riel <riel@...hat.com>
Cc: Anthony Liguori <anthony@...emonkey.ws>,
linux-kernel@...r.kernel.org, npiggin@...e.de, akpm@...l.org,
jeremy@...p.org, xen-devel@...ts.xensource.com,
tmem-devel@....oracle.com, alan@...rguk.ukuu.org.uk,
linux-mm@...ck.org, kurt.hackel@...cle.com,
Rusty Russell <rusty@...tcorp.com.au>,
dave.mccracken@...cle.com, Marcelo Tosatti <mtosatti@...hat.com>,
sunil.mushran@...cle.com, Avi Kivity <avi@...hat.com>,
Schwidefsky <schwidefsky@...ibm.com>, chris.mason@...cle.com,
Balbir Singh <balbir@...ux.vnet.ibm.com>
Subject: RE: [RFC PATCH 0/4] (Take 2): transcendent memory ("tmem") for Linux
> > I'm not saying either one is bad or good -- and I'm sure
> > each can be adapted to approximately deliver the value
> > of the other -- they are just approaching the same problem
> > from different perspectives.
>
> Indeed. Tmem and auto-ballooning have a simple mechanism,
> but the policy required to make it work right could well
> be too complex to ever get right.
>
> CMM2 has a more complex mechanism, but the policy is
> absolutely trivial.
Could you elaborate a bit more on what policy you
are referring to and what decisions the policies are
trying to guide? And are you looking at the policies
in Linux or in the hypervisor or the sum of both?
The Linux-side policies in the tmem patch seem trivial
to me and the Xen-side implementation is certainly
working correctly, though "working right" is a hard
objective to measure. But depending on how you define
"working right", the pageframe replacement algorithm
in Linux may also be "too complex to ever get right"
but it's been working well enough for a long time.
> CMM2 and auto-ballooning seem to give about similar
> performance gains on zSystem.
Tmem provides a huge advantage over my self-ballooning
implementation, but maybe that's because it is more
aggressive than the CMM auto-ballooning, resulting
in more refaults that must be "fixed".
> I suspect that for Xen and KVM, we'll want to choose
> for the approach that has the simpler policy, because
> relying on different versions of different operating
> systems to all get the policy of auto-ballooning or
> tmem right is likely to result in bad interactions
> between guests and other intractable issues.
Again, not sure what tmem policy in Linux you are referring
to or what bad interactions you foresee. Could you
clarify?
Auto-ballooning policy is certainly a challenge, but
that's true whether CMM or tmem, right?
Thanks,
Dan
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists