From mboxrd@z Thu Jan 1 00:00:00 1970 From: Chao Peng Subject: Re: [PATCH v4 12/12] docs: add xl-psr.markdown Date: Fri, 17 Apr 2015 22:39:54 +0800 Message-ID: <20150417143953.GA4049@pengc-linux.bj.intel.com> References: <1428571105-3604-1-git-send-email-chao.p.peng@linux.intel.com> <1428571105-3604-13-git-send-email-chao.p.peng@linux.intel.com> <1429185496.25195.117.camel@citrix.com> Reply-To: Chao Peng Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Return-path: Content-Disposition: inline In-Reply-To: <1429185496.25195.117.camel@citrix.com> List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Ian Campbell Cc: keir@xen.org, stefano.stabellini@eu.citrix.com, andrew.cooper3@citrix.com, Ian.Jackson@eu.citrix.com, xen-devel@lists.xen.org, will.auld@intel.com, JBeulich@suse.com, wei.liu2@citrix.com, dgdegra@tycho.nsa.gov List-Id: xen-devel@lists.xenproject.org On Thu, Apr 16, 2015 at 12:58:16PM +0100, Ian Campbell wrote: > On Thu, 2015-04-09 at 17:18 +0800, Chao Peng wrote: > > BTW, do you know if someone is planning to work on libvirt integration > for this stuff? As I know, there are people from Intel will take care of this. > (Aside: "cache-occupancy" would be more in keeping with the interfaces, > oh well, you can fix if you feel like it, or not bother if you like). It's fixed in v5. > > + > > +Detailed information please refer to Intel SDM chapter 17.15. > > Perhaps a few simple examples, would make the basics clearer without > having to hit the SDM for the full gory detail e.g. > > For example, assuming a system with 8 portions and 3 domains: > > A CBM of 0xff for every domain means each domain can access the > whole cache. This is the default. > > Giving one domain a CBM of 0x0F and the other two domain's 0xF0 > means that the first domain gets exclusive access to half of the > cache (half of the portions) and the other two will share the > other half. > > Giving one domain a CBM of 0x0F, one 0x30 and the last 0xc0 > would give the first domain exclusive access to half the cache, > and the other two exclusive access to one quarter each. > > Then have the reference the SDM for more detailed stuff. Thank you, for typing so much ... Chao