From: "Jan Beulich" Subject: Re: Cache Allocation Technology(CAT) design for XEN Date: Tue, 16 Dec 2014 09:38:09 +0000 Message-ID: <54900B91020000780004FCC2@mail.emea.novell.com> References: <1418387277-4613-1-git-send-email-chao.p.peng@linux.intel.com> <20141216085559.GB3105@pengc-linux.bj.intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: <20141216085559.GB3105@pengc-linux.bj.intel.com> Content-Disposition: inline List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Chao Peng Cc: wei.liu2@citrix.com, Ian.Campbell@citrix.com, stefano.stabellini@eu.citrix.com, George.Dunlap@eu.citrix.com, andrew.cooper3@citrix.com, Ian.Jackson@eu.citrix.com, xen-devel@lists.xen.org, will.auld@intel.com, keir@xen.org, dgdegra@tycho.nsa.gov List-Id: xen-devel@lists.xenproject.org >>> On 16.12.14 at 09:55, wrote: > Any comments from you? It would be greatly appreciated if you can look > at this when you have time. Your comments are always important to me :) I don't think I have to say much here: > On Fri, Dec 12, 2014 at 08:27:57PM +0800, Chao Peng wrote: >> Implementation Description >> ========================== >> In this design, one principal is that only implementing the cache >> enforcement mechanism in hypervisor but leaving the cache allocation >> policy to user space tool stack. In this way some complex governors then >> can be implemented in tool stack. With this, the changes to the hypervisor ought to be quite limited, even if length of the list you give seems long at a first glance, and hence I'm fine with the concept. >> Hardware Limitation & Performance Improvement >> ============================================= >> As the COS of PCPU in IA32_PQR_ASSOC is changed on each VCPU context >> switch. If the change is frequent then hardware may fail to strictly >> enforce the cache allocation basing on the specified COS. This certainly would deserve a little more explanation: What's the value of the functionality if one can't rely on it being enforced by hardware at all times? Jan