pcp
[Top] [All Lists]

Re: [pcp] papi qa issue

To: Ken McDonell <kenj@xxxxxxxxxxxxxxxx>, "Frank Ch. Eigler" <fche@xxxxxxxxxx>
Subject: Re: [pcp] papi qa issue
From: William Cohen <wcohen@xxxxxxxxxx>
Date: Wed, 11 Mar 2015 15:01:57 -0400
Cc: "'PCP'" <pcp@xxxxxxxxxxx>
Delivered-to: pcp@xxxxxxxxxxx
In-reply-to: <54FDFA29.5010007@xxxxxxxxxxxxxxxx>
References: <007d01d057ed$6de34160$49a9c420$@internode.on.net> <y0msidi5k2y.fsf@xxxxxxxx> <00a901d0584a$1a1ac2d0$4e504870$@internode.on.net> <20150306202631.GF27936@xxxxxxxxxx> <00b601d0584e$78397830$68ac6890$@internode.on.net> <20150306211739.GG27936@xxxxxxxxxx> <54FDFA29.5010007@xxxxxxxxxxxxxxxx>
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.5.0
On 03/09/2015 03:53 PM, Ken McDonell wrote:
> On 07/03/15 08:17, Frank Ch. Eigler wrote:
>> ...
>> Yeah, the papi-tools weren't always packaged with older debian, though
>> see <http://packages.debian.org/search?keywords=papi-tools>.
> 
> I've implemented a common check for papi-ness of a platform in common.check 
> that avoids any dependence on papi-tools.
> 
> And this works for the platforms that were failing the papi PMDA tests, and 
> on the platforms where these tests were being run (real h/w none of this VM 
> pretend nonsense), they still run and pass.
> 
> _______________________________________________
> pcp mailing list
> pcp@xxxxxxxxxxx
> http://oss.sgi.com/mailman/listinfo/pcp

Hi Ken,

One of the things that I have seen on guest VMs is that the cpuid information 
provided to the guest VM is not the actual values from the physical processor.  
PAPI is really particular about the processor CPU family and module numbers.  
This information is used to determine what performance monitoring hardware is 
available.  If the guest VM CPUID instruction provides bogus cpuid information, 
the kernel and papi may say this is an unsupport processor or try to use the 
wrong events.

It is possible to make qemu use specific cpuid info:

http://wiki.qemu.org/Features/CPUModels

-Will

<Prev in Thread] Current Thread [Next in Thread>