From: Tom Lane <tgl@sss.pgh.pa.us>
To: Robert Lor <Robert.Lor@Sun.COM>
Cc: Tatsuo Ishii <ishii@sraoss.co.jp>
Cc: pgsql-hackers@postgresql.org
Cc: pgsql-performance@postgresql.org
Subject: Re: Sun Donated a Sun Fire T2000 to the PostgreSQL
Date: Fri, 21 Jul 2006 09:42:45 -0400
Message-ID: <21889.1153489365@sss.pgh.pa.us> (raw)
In-Reply-To: <44C088C8.9050303@sun.com>
References: <20060617.101521.95879771.t-ishii@sraoss.co.jp>
<10226.1150511655@sss.pgh.pa.us>
<20060617.111838.39487910.t-ishii@sraoss.co.jp>
<20060713.180234.45872055.t-ishii@sraoss.co.jp>
<8669.1153422118@sss.pgh.pa.us>
<44C088C8.9050303@sun.com>
Robert Lor <Robert.Lor@Sun.COM> writes:
> I ran pgbench and fired up a DTrace script using the lwlock probes we've
> added, and it looks like BufMappingLock is the most contended lock, but
> CheckpointStartLocks are held for longer duration!
Those numbers look a bit suspicious --- I'd expect to see some of the
LWLocks being taken in both shared and exclusive modes, but you don't
show any such cases. You sure your script is counting correctly?
Also, it'd be interesting to count time spent holding shared lock
separately from time spent holding exclusive.
regards, tom lane
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: pgsql-performance@postgresql.org
Cc: tgl@sss.pgh.pa.us, Robert.Lor@Sun.COM, ishii@sraoss.co.jp, pgsql-hackers@postgresql.org
Subject: Re: Sun Donated a Sun Fire T2000 to the PostgreSQL
In-Reply-To: <21889.1153489365@sss.pgh.pa.us>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox