fastforward/routing: a 3 million packet-per-second system?
Adrian Chadd
adrian at freebsd.org
Sun Jul 27 21:27:15 UTC 2014
On 27 July 2014 13:42, George Neville-Neil <gnn at 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
More information about the freebsd-net
mailing list