Re: cpu performance counters (cache hit/miss etc)
Unless already fixed, I remember this didn't work very well with SMP kernels. If you have problems try to use bsd.sp. Luis. On Tue, Apr 26, 2011 at 9:16 PM, Philip Guenther guent...@gmail.com wrote: On Tue, Apr 26, 2011 at 5:00 PM, David Steiner davidsteiner2...@gmail.com wrote: is there a convenient way to display CPU cache statistics in openbsd? like the amount of L1/L2 hits/misses? there's OProfile for linux, Vtune for Linux/Windows, cachekit for Solaris, but what's available for the best OS out there? sure i could read the intel manuals on accessing the special performance registers to find out. but time is limited. i've searched manpages and on the web without any cache hits so to speak. Did you try searching for the subject of your message? $ apropos 'cpu performance counters' pctr (1) - display CPU performance counters pctr (4/AMD64) - driver for CPU performance counters pctr (4/i386) - driver for CPU performance counters $ Philip Guenther
Re: cpu performance counters (cache hit/miss etc)
On Wed, 27 Apr 2011 14:02:09 -0400 Luis Useche use...@gmail.com wrote: Did you try searching for the subject of your message? $ apropos 'cpu performance counters' pctr (1) - display CPU performance counters pctr (4/AMD64) - driver for CPU performance counters pctr (4/i386) - driver for CPU performance counters $ Philip Guenther thank you philip guenther. just what i was looking for. are there more examples how to use pctr? not so easy to interpret what's going on.
Re: cpu performance counters (cache hit/miss etc)
On Wed, Apr 27, 2011 at 12:28 PM, David Steiner davidsteiner2...@gmail.com wrote: thank you philip guenther. just what i was looking for. are there more examples how to use pctr? not so easy to interpret what's going on. I don't know of anything relevant that isn't already referenced from the manpage. Good luck! Philip Guenther
cpu performance counters (cache hit/miss etc)
hi. is there a convenient way to display CPU cache statistics in openbsd? like the amount of L1/L2 hits/misses? there's OProfile for linux, Vtune for Linux/Windows, cachekit for Solaris, but what's available for the best OS out there? sure i could read the intel manuals on accessing the special performance registers to find out. but time is limited. i've searched manpages and on the web without any cache hits so to speak. David
Re: cpu performance counters (cache hit/miss etc)
On Tue, Apr 26, 2011 at 5:00 PM, David Steiner davidsteiner2...@gmail.com wrote: is there a convenient way to display CPU cache statistics in openbsd? like the amount of L1/L2 hits/misses? there's OProfile for linux, Vtune for Linux/Windows, cachekit for Solaris, but what's available for the best OS out there? sure i could read the intel manuals on accessing the special performance registers to find out. but time is limited. i've searched manpages and on the web without any cache hits so to speak. Did you try searching for the subject of your message? $ apropos 'cpu performance counters' pctr (1) - display CPU performance counters pctr (4/AMD64) - driver for CPU performance counters pctr (4/i386) - driver for CPU performance counters $ Philip Guenther