From mboxrd@z Thu Jan 1 00:00:00 1970 From: Andrew Cooper Subject: Re: Question about the CAT and CMT in Xen Date: Mon, 31 Aug 2015 19:25:21 +0100 Message-ID: <55E49C11.40303@citrix.com> References: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============0162085291548655546==" Return-path: In-Reply-To: List-Unsubscribe: , List-Post: List-Help: List-Subscribe: , Sender: xen-devel-bounces@lists.xen.org Errors-To: xen-devel-bounces@lists.xen.org To: Meng Xu , "xen-devel@lists.xen.org" , Chao Peng List-Id: xen-devel@lists.xenproject.org --===============0162085291548655546== Content-Type: multipart/alternative; boundary="------------070707030503090706060303" --------------070707030503090706060303 Content-Type: text/plain; charset="UTF-8" Content-Length: 2284 Content-Transfer-Encoding: quoted-printable On 31/08/15 18:42, Meng Xu wrote: > Hi Chao, > > I'm Meng Xu from the University of Pennsylvania. > > We purchased a computer that has Intel(R) Xeon(R) CPU E5-2618L v3 @ > 2.30GHz inside. > According to > http://www.intel.com/content/www/us/en/communications/cache-monitoring-cache-allocation-technologies.html, > Intel E5-2618L v3 should support both CAT and CMT. > > I'm playing the latest Xen on the machine to evaluate how CAT and CMT > work > =E2=80=8B.=E2=80=8B > > > The commit point I used is in the staging branch, commit > 7b99717f62caeac08eea224a177cd28f047ac4b5, which was push on Aug. 17th, > 2015. > I checked that the branch has merged your code. > > After I boot up the system, I tried the following commands and it > shows some errors. > > =E2=80=8B***=E2=80=8B > My question is > =E2=80=8B***=E2=80=8B > : > 1) Is there any specific BIOS configuration I need to configure=3F > 2) The CMT is not enabled by default. Do I need to issue any command > to enable it=3F I didn't find any document about how to enable it, > according to > http://xenbits.xen.org/docs/unstable-staging/misc/xl-psr.html. :-( > 3) I'm not 100% sure if this machine we purchased supports the CAT. > Right now, it shows "No such device" on the machine. > =E2=80=8B But it may probably because the hypervisor forgot to initialize it=3F=E2=80=8B > > > Below is the details of what I tried: > > # xl psr-hwinfo > Cache Monitoring Technology (CMT): > Enabled : 0 > Cache Allocation Technology (CAT): > libxl: error: libxl_psr.c:96:libxl__psr_cat_log_err_msg: CAT is not > supported in this system: No such device > Failed to get cat info > > #xl psr-cmt-attach 0 > libxl: error: libxl_psr.c:70:libxl__psr_cmt_log_err_msg: CMT is not > supported in this system: No such device > > Please let me know if you need any further information to confirm if > the machine support the CAT or if it's because there is some issue > with the software layer. :-) > > Thank you very much for your time and help in this question! > > Best regards, > > Meng To get started, use "psr=3Dcat,cmt" on the Xen command line. Neither are enabled by default as they can potentially allocate quite a lot of resources behind the scenes. ~Andrew --------------070707030503090706060303 Content-Type: text/html; charset="UTF-8" Content-Length: 3972 Content-Transfer-Encoding: quoted-printable
On 31/08/15 18:42, Meng Xu wrote:
Hi Chao,

I'm Meng Xu from the University of Pennsylvania.

We purchased a computer that has Intel(R) Xeon(R) CPU E5-2618L v3 @ 2.30GHz inside.
According to http://www.intel.com/content/www/us/en/communications/cache-monitoring-cache-allocation-technologies.html, Intel E5-2618L v3 should support both CAT and CMT.

I'm playing the latest Xen on the machine to evaluate how CAT and CMT work
=E2=80=8B.=E2=80=8B


The commit point I used is in the staging branch, commit 7b99717f62caeac08eea224a177cd28f047ac4b5, which was push on Aug. 17th, 2015.
I checked that the branch has merged your code.

After I boot up the system, I tried the following commands and it shows some errors.

=E2=80=8B***=E2=80=8B
My question is
=E2=80=8B***=E2=80=8B
:
1) Is there any specific BIOS configuration I need to configure=3F
2) The CMT is not enabled by default. Do I need to issue any command to enable it=3F=C2=A0 I didn't find any document about how to enable it, according to http://xenbits.xen.org/docs/unstable-staging/misc/xl-psr.html. :-(
3) I'm not 100% sure if this machine we purchased supports the CAT. Right now, it shows "No such device" on the machine.
=E2=80=8B But it may probably because the hypervisor forgot to initialize it=3F=E2=80=8B


Below is the details of what I tried:

# xl psr-hwinfo
Cache Monitoring Technology (CMT):
Enabled =C2=A0 =C2=A0 =C2=A0 =C2=A0 : 0
Cache Allocation Technology (CAT):
libxl: error: libxl_psr.c:96:libxl__psr_cat_log_err_msg: CAT is not supported in this system: No such device
Failed to get cat info

#xl psr-cmt-attach 0
libxl: error: libxl_psr.c:70:libxl__psr_cmt_log_err_msg: CMT is not supported in this system: No such device

Please let me know if you need any further information to confirm if the machine support the CAT or if it's because there is some issue with the software layer. :-)

Thank you very much for your time and help in this question!

Best regards,

Meng

To get started, use "psr=3Dcat,cmt" on the Xen command line.=C2=A0 Neither are enabled by default as they can potentially allocate quite a lot of resources behind the scenes.

~Andrew
--------------070707030503090706060303-- --===============0162085291548655546== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Disposition: inline _______________________________________________ Xen-devel mailing list Xen-devel@lists.xen.org http://lists.xen.org/xen-devel --===============0162085291548655546==--