[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Xen-devel] 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 _______________________________________________ Xen-devel mailing list Xen-devel@xxxxxxxxxxxxxxxxxxx http://lists.xensource.com/xen-devel
|
Lists.xenproject.org is hosted with RackSpace, monitoring our |