Re: Repeated semop calls - Mailing list pgsql-general

From Andres Freund
Subject Re: Repeated semop calls
Date
Msg-id 20140627184353.GI18288@awork2.anarazel.de
Whole thread Raw
In response to Re: Repeated semop calls  (Jeff Janes <jeff.janes@gmail.com>)
List pgsql-general
On 2014-06-27 10:51:20 -0700, Jeff Janes wrote:
> On Thu, Jun 26, 2014 at 1:03 PM, Anand Kumar, Karthik
> > Samples: 33K of event 'cycles', Event count (approx.): 20693251070
> >  26.16%  postmaster  postgres               [.] 0x0000000000188450
> >  21.13%  postmaster  postgres               [.] hash_search_with_hash_value
> >  10.47%  postmaster  postgres               [.] heap_page_prune_opt
> >   4.21%  postmaster  postgres               [.] LWLockAcquire
> >   3.71%  postmaster  postgres               [.] slot_getattr
> >   1.97%  postmaster  postgres               [.] HeapTupleSatisfiesMVCC
>
> If it is what I am guessing at, then the top anonymous address is
> probably coming from LWLockAcquire, and those are coming from
> HeapTupleSatisfiesMVCC.  I don't know how to verify that, though.

Recompile postgres with -fno-omit-frame-pointers and use perf record -g.

Greetings,

Andres Freund

--
 Andres Freund                       http://www.2ndQuadrant.com/
 PostgreSQL Development, 24x7 Support, Training & Services


pgsql-general by date:

Previous
From: Jeff Janes
Date:
Subject: Re: Repeated semop calls
Next
From: "Anand Kumar, Karthik"
Date:
Subject: Re: Repeated semop calls