From: | Craig Ringer <craig(at)2ndquadrant(dot)com> |
---|---|
To: | Andres Freund <andres(at)anarazel(dot)de> |
Cc: | milist ujang <ujang(dot)milist(at)gmail(dot)com>, "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: BDR, wal sender, high system cpu, mutex_lock_common |
Date: | 2017-10-12 03:10:20 |
Message-ID: | CAMsr+YGc_vTDg_LjrpBF1OmgKnc2Vgk3dndshB0oqqzQWXOB5A@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On 12 October 2017 at 11:03, Andres Freund <andres(at)anarazel(dot)de> wrote:
> On 2017-10-12 10:25:43 +0800, Craig Ringer wrote:
>> On 4 October 2017 at 00:21, milist ujang <ujang(dot)milist(at)gmail(dot)com> wrote:
>> > On Tue, Oct 3, 2017 at 8:49 PM, Craig Ringer <craig(at)2ndquadrant(dot)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?
I think you're right. But only on a version of perf where it's
available and used.
I haven't recently checked if perf has finally grown the ability to
load external debug symbols either. It never used to.
--
Craig Ringer http://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Training & Services
From | Date | Subject | |
---|---|---|---|
Next Message | KES | 2017-10-12 08:00:54 | Fwd: [BUGS] BUG #14850: Implement optinal additinal parameter for 'justify' date/time function |
Previous Message | Andres Freund | 2017-10-12 03:03:50 | Re: BDR, wal sender, high system cpu, mutex_lock_common |