Date: Sun, 27 Jul 2014 14:27:13 -0700 From: Adrian Chadd <adrian@freebsd.org> To: George Neville-Neil <gnn@neville-neil.com> Cc: FreeBSD Net <freebsd-net@freebsd.org>, Navdeep Parhar <nparhar@gmail.com>, John Jasen <jjasen@gmail.com> Subject: Re: fastforward/routing: a 3 million packet-per-second system? Message-ID: <CAJ-Vmom=Ff0W9v=h348j3jrQEjV_ji3m8bLhHkbb%2BLd8teRKvQ@mail.gmail.com> In-Reply-To: <83597B15-63B3-4AD7-A458-00B67C9E5396@neville-neil.com> References: <53CE80DD.9090109@gmail.com> <CAJ-VmomWpc=3dtasbDhhrUpGywPio3_9W2b-RTAeJjq3nahhOQ@mail.gmail.com> <53CEB090.7030701@gmail.com> <CAJ-Vmok8eu-GhaNa%2Bi%2BBLv1ZLtKQt4yNfU7ZXW3H%2BY=2HFj=1w@mail.gmail.com> <53CEB670.9060600@gmail.com> <CAJ-VmonhCg9TvQArtP51rAUjFSe4FpFL8SNCTS6jNwk_Esk%2BEA@mail.gmail.com> <53CEB9B5.7020609@gmail.com> <CAJ-Vmokje1m-LGm6B9M9t5Q4BW8JcVWbkDXyKMEVzVa%2B8reDBw@mail.gmail.com> <83597B15-63B3-4AD7-A458-00B67C9E5396@neville-neil.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On 27 July 2014 13:42, George Neville-Neil <gnn@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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-Vmom=Ff0W9v=h348j3jrQEjV_ji3m8bLhHkbb%2BLd8teRKvQ>