Re: LWLock statistics collector

From: Robert Lor <Robert(dot)Lor(at)Sun(dot)COM>
To: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
Cc: ITAGAKI Takahiro <itagaki(dot)takahiro(at)oss(dot)ntt(dot)co(dot)jp>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: LWLock statistics collector
Date: 2006-08-04 16:41:52
Message-ID: 44D378D0.3020709@sun.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-patches

Tom Lane wrote:

>I think the actual wave of the future for analyzing behavior at the
>LWLock level is going to be DTrace. It seems way more flexible than
>an aggregate-statistics view can be.
>
>
CVS head now has the following LWLock probes, and more can easily be
added. These probes can be enabled using the sample DTrace scripts at
http://pgfoundry.org/projects/dtrace/

lwlock-acquire
lwlock-release
lwlock-startwait
lwlock-endwait
lwlock-condacquire
lwlock-condacquire-fail

If anyone wants to have access to a Solaris machine to play with DTrace,
let me know.

Regards,
-Robert

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Josh Berkus 2006-08-04 16:50:50 Fwd: Standard interfaces for replication providers
Previous Message Tom Lane 2006-08-04 16:40:36 Re: 8.2 features status

Browse pgsql-patches by date

  From Date Subject
Next Message Bruce Momjian 2006-08-04 18:33:31 Fix for pg_dump -T/-N
Previous Message Tom Lane 2006-08-04 15:53:52 Re: LWLock statistics collector