On 27 July 2014 13:42, George Neville-Neil <g...@neville-neil.com> wrote:
> On 22 Jul 2014, at 20:30, Adrian Chadd wrote:
>
>> hi!
>>
>> You can use 'pmcstat -S CPU_CLK_UNHALTED_CORE -O pmc.out' (then ctrl-C
>> it after say 5 seconds), which will log the data to pmc.out;
>> then 'pmcannotate -k /boot/kernel pmc.out /boot/kernel/kernel' to find
>> out where the most cpu cycles are being spent.
>>
>
> Chiming in late, but don't you mean instruction-retired instead of
> CPU_CLK_UNHALTED_CORE?

Nope. the hardware retires instructions in parallel. That gives a
different indication of a different class of bottlenecks.


-a
_______________________________________________
freebsd-net@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-net
To unsubscribe, send any mail to "freebsd-net-unsubscr...@freebsd.org"

Reply via email to