Re: [GENERAL] BDR, wal sender, high system cpu, mutex_lock_common - Mailing list pgsql-general

From Andres Freund
Subject Re: [GENERAL] BDR, wal sender, high system cpu, mutex_lock_common
Date
Msg-id 20171012030350.f6ixcglsnqooyu6j@alap3.anarazel.de
Whole thread Raw
In response to Re: [GENERAL] BDR, wal sender, high system cpu, mutex_lock_common  (Craig Ringer <craig@2ndquadrant.com>)
Responses Re: [GENERAL] BDR, wal sender, high system cpu, mutex_lock_common  (Craig Ringer <craig@2ndquadrant.com>)
List pgsql-general
On 2017-10-12 10:25:43 +0800, Craig Ringer wrote:
> On 4 October 2017 at 00:21, milist ujang <ujang.milist@gmail.com> wrote:
> > On Tue, Oct 3, 2017 at 8:49 PM, Craig Ringer <craig@2ndquadrant.com> wrote:
> >>
> >>
> >> Can you get stacks please?
> >>
> >> Use -g
> >
> >
> > # Events: 2K cpu-clock
> > #
> > # Overhead   Command      Shared Object                        Symbol
> > # ........  ........  .................  ............................
> > #
> >     86.96%  postgres  [kernel.kallsyms]  [k] __mutex_lock_common.isra.5
> >             |
> >             --- __mutex_lock_common.isra.5
> >                 read
> 
> 
> Unfortunately it looks like you're using a postgres built with
> -fomit-frame-pointers (the default) on x64, with an older perf not
> built with libunwind. This produces useless stacks.

Just read this mail, but for libunwind to work you'd have to specify
"--call-graph dwarf", no?

- Andres


-- 
Sent via pgsql-general mailing list (pgsql-general@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general

pgsql-general by date:

Previous
From: Craig Ringer
Date:
Subject: Re: [GENERAL] BDR, wal sender, high system cpu, mutex_lock_common
Next
From: Craig Ringer
Date:
Subject: Re: [GENERAL] BDR, wal sender, high system cpu, mutex_lock_common