PAPI in the ports
redcrash at gmail.com
Fri Jun 22 10:40:11 UTC 2007
2007/6/22, Stanislav Sedov <stas at freebsd.org>:
> On Thu, 14 Jun 2007 13:27:01 +0200
> Thomas Vogt <thomas at bsdunix.ch> mentioned:
> > Yes you're right. But to have a such feature on a production system is
> > nice if you have to debug issues. If I get a problem I can easily debug
> > it without to simulate everything in the lab. It's not that I want to
> > run such features 24/7.
> > But perhaps "options HWPMC_HOOKS" in the kernel enables some hooks which
> > could cause performance penalties even if I don't actively use such
> > feature very often. Like many other debug options in the kernel. I don't
> > know.
> I'm using "options HWPMC_HOOKS" on heavily loaded web server almost
> constantly, no visible penalty at all. Just my 2 cents.
Those are good news! :)
> Stanislav Sedov
Empty your memory,
with a free()...
like a pointer!
If you cast a pointer to an integer,
it becomes an integer,
if you cast a pointer to a struct,
it becomes a struct.
The pointer can crash...,
and can overflow.
Be a pointer my friend...
More information about the freebsd-performance