pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: Guillaume Smet <guillaume.smet@gmail.com>
Cc: Sven Geisler <sgeisler@aeccom.com>
Cc: Richard Huxton <dev@archonet.com>
Cc: pgsql-performance@postgresql.org
Subject: Re: PostgreSQL and Xeon MP
Date: Thu, 16 Mar 2006 11:34:58 -0500
Message-ID: <17483.1142526898@sss.pgh.pa.us> (raw)
In-Reply-To: <1d4e0c10603160808y6c2f683csb74086b10c3cd40e@mail.gmail.com>
References: <1d4e0c10603160245n55128e86t35431a339afcf8cc@mail.gmail.com>
	<44194A4B.3020106@archonet.com>
	<1d4e0c10603160428s1a3c1f4cocbe8489634524387@mail.gmail.com>
	<441963F4.1010607@aeccom.com>
	<1d4e0c10603160630g7fe945ffo1d723843407ed128@mail.gmail.com>
	<16633.1142522409@sss.pgh.pa.us>
	<1d4e0c10603160808y6c2f683csb74086b10c3cd40e@mail.gmail.com>

"Guillaume Smet" <guillaume.smet@gmail.com> writes:
> You mean strace -p pid with pid on some of the postgres process not on
> the postmaster itself, does you?

Right, pick a couple that are accumulating CPU time.

> Do we need other options?

strace will generate a *whole lot* of output to stderr.  I usually do
something like
	strace -p pid 2>outfile
and then control-C it after a few seconds.

> Which pattern should we expect?

What we want to find out is if there's a lot of select()s and/or
semop()s shown in the result.  Ideally there wouldn't be any, but
I fear that's not what you'll find.

			regards, tom lane



view thread (17+ messages)  latest in thread

Message-ID: <17483.1142526898@sss.pgh.pa.us>
Permalink:  ../17483.1142526898@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/17483.1142526898@sss.pgh.pa.us

 · 

reply

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, guillaume.smet@gmail.com, sgeisler@aeccom.com, dev@archonet.com
  Subject: Re: PostgreSQL and Xeon MP
  In-Reply-To: <17483.1142526898@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