From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Cooper Subject: Re: Xen-4.5 Testing - Cache Monitoring Technology Date: Thu, 20 Nov 2014 10:23:01 +0000 Message-ID: <546DC105.20803@citrix.com> References: <546DBB4D.9030100@citrix.com> <20141120101505.GB20252@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: <20141120101505.GB20252@pengc-linux.bj.intel.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: Chao Peng Cc: Xen-devel List List-Id: xen-devel@lists.xenproject.org On 20/11/14 10:15, Chao Peng wrote: > On Thu, Nov 20, 2014 at 09:58:37AM +0000, Andrew Cooper wrote: >> Hi, >> >> I have found myself a PSR-capable server and have been having a play >> with Xen-4.5 >> >> At a first pass, I can get some numbers out: >> >> [root@blob ~]# xl psr-cmt-attach 0 >> [root@blob ~]# xl psr-cmt-show cache_occupancy >> Total RMID: 71 >> Name ID Socket 0 >> Socket 1 >> Total L3 Cache Size 46080 KB >> 46080 KB >> Domain-0 0 45072 >> KB 0 KB >> [root@blob ~]# >> >> However, I am unable to get any occupancy information for HVM guests. >> Given nothing obvious in the code which would make CMT PV-guest >> specific, I presume this is unexpected? >> >> > Thank your for trying... > But I just tested the HVM on my box and it runs correct. > > Have you missed to run psr-cmt-attach for your HVM domain? Otherwise I > think there may be something wrong. No - I get the HVM domain (a memtest domain) listed in the output. It is clear from Dom0's occupancy dropping off significantly that competition is underway on Socket 0 (as expected), but the domain always has 0 occupancy reported. I shall investigate. ~Andrew