Re: hwpmc support for Ivy Bridge Xeon

From: Davide Italiano <davide_at_freebsd.org>
Date: Tue, 29 Jan 2013 02:05:55 -0800
On Tue, Jan 29, 2013 at 12:29 AM, hiren panchasara
<hiren.panchasara_at_gmail.com> wrote:
> On Mon, Jan 28, 2013 at 7:27 PM, hiren panchasara
> <hiren.panchasara_at_gmail.com> wrote:
>> On Sat, Jan 26, 2013 at 1:58 AM, hiren panchasara
>> <hiren.panchasara_at_gmail.com> wrote:
>>> I've tried to update hwpmc by adding support for xeon class of Ivy
>>> bridge processors.
>>>
>>> Thanks Jim for pointing me to the correct document. (325462-045US Jan 2013)
>>>
>>> I do not have a reference machine to test with. Any help in that
>>> regard would be appreciated.
>>
>> Got a machine with ivy bridge xeon. Will test my changes and update here soon.
>>
>> Hiren
>
> It seems to be working fine:
>
> Here is o/p of "pmccontrol -L" listing all the event counters:
> http://www.strugglingcoder.info/patches/hwpmc_ibx_pmccontrol.txt
>

I don't see anything wrong there.

> And below is the o/p of pmctest.py script:
> http://www.strugglingcoder.info/patches/hwpmc_ibx_pmctest.txt
>

With 'pmctest.py' are you talking about the gnn_at_ script available in tools/ ?
What are you profiling (ls, find, the kernel) ?
I've recently discovered an excellent tool from Peter in stress2 suite
to test pmc. Maybe you can try it.
http://svnweb.freebsd.org/base/user/pho/stress2/misc/pmc.sh?revision=237222&view=markup

> cheers,
> Hiren
>>>
>>> Here are the diffs against head (245927):
>>> http://www.strugglingcoder.info/patches/hwpmc_ibx.txt
>>>
>>> Thanks,
>>> Hiren
> _______________________________________________
> freebsd-current_at_freebsd.org mailing list
> http://lists.freebsd.org/mailman/listinfo/freebsd-current
> To unsubscribe, send any mail to "freebsd-current-unsubscribe_at_freebsd.org"


Thanks

-- 
Davide
Received on Tue Jan 29 2013 - 09:06:02 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:34 UTC