Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 01 Apr 2002 00:12:50 +0200
From:      Poul-Henning Kamp <phk@critter.freebsd.dk>
To:        Dag-Erling Smorgrav <des@ofug.org>
Cc:        arch@FreeBSD.ORG
Subject:   Re: mutex profiling 
Message-ID:  <29646.1017612770@critter.freebsd.dk>
In-Reply-To: Your message of "01 Apr 2002 00:07:18 %2B0200." <xzp8z88e6i1.fsf@flood.ping.uio.no> 

next in thread | previous in thread | raw e-mail | index | archive | help

With the footnote that the TSC's are not synchronized on SMP
systems, this looks like a nice initial tool to get some kind
of picture of the locking situation in the kernel.

Poul-Henning

In message <xzp8z88e6i1.fsf@flood.ping.uio.no>, Dag-Erling Smorgrav writes:
>--=-=-=
>
>The attached patch (derived from patches by Eivind) adds code to
>record statistics about MTX_DEF locks.  It's currently i386-only as it
>uses the TSC to measure the amount of time each mutex is held.  Once

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-arch" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?29646.1017612770>