Re: Better LWLocks with compare-and-swap (9.4)

From: Andres Freund <andres(at)2ndquadrant(dot)com>
To: "Dickson S(dot) Guedes" <listas(at)guedesoft(dot)net>
Cc: Heikki Linnakangas <hlinnakangas(at)vmware(dot)com>, PostgreSQL-development <pgsql-hackers(at)postgreSQL(dot)org>
Subject: Re: Better LWLocks with compare-and-swap (9.4)
Date: 2013-05-20 12:35:28
Message-ID: 20130520123528.GA6146@alap2.anarazel.de
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

On 2013-05-20 09:31:15 -0300, Dickson S. Guedes wrote:
> Hum, I was supposing that I was doing something wrong but I'm getting
> the same result as before even using your test case and my results is
> still different from yours:
>
>
> + 71,27% postgres postgres [.] AtEOXact_Buffers
> + 7,67% postgres postgres [.] AtEOXact_CatCache
> + 6,30% postgres postgres [.] AllocSetCheck
> + 5,34% postgres libc-2.12.so [.] __mcount_internal
> + 2,14% postgres [kernel.kallsyms][k] activate_page

That looks like you have configured with --enable-cassert and probably
also --enable-profiling? The former will give completely distorted
performance results...

Greetings,

Andres Freund

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

In response to

Responses

Browse pgsql-hackers by date

  From Date Subject
Next Message Amit Langote 2013-05-20 12:44:53 Re: Why there is a union in HeapTupleHeaderData struct
Previous Message Dickson S. Guedes 2013-05-20 12:31:15 Re: Better LWLocks with compare-and-swap (9.4)