Re: [HACKERS] Parallel Select query performance and shared buffers

From: Metin Doslu <metin(at)citusdata(dot)com>
To: Andres Freund <andres(at)2ndquadrant(dot)com>
Cc: postgres performance list <pgsql-performance(at)postgresql(dot)org>, pgsql-hackers <pgsql-hackers(at)postgresql(dot)org>, Amit Kapila <amit(dot)kapila16(at)gmail(dot)com>, Claudio Freire <klaussfreire(at)gmail(dot)com>
Subject: Re: [HACKERS] Parallel Select query performance and shared buffers
Date: 2013-12-05 15:46:44
Message-ID: CAL1dPce25L_X2a_QebJyC4rHhmYVaR8xQBud0y799opY9JKqpw@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers pgsql-performance

> You could try my lwlock-scalability improvement patches - for some
> workloads here, the improvements have been rather noticeable. Which
> version are you testing?

I tried your patches on next link. As you suspect I didn't see any
improvements. I tested it on PostgreSQL 9.2 Stable.

http://git.postgresql.org/gitweb/?p=users/andresfreund/postgres.git;a=shortlog;h=refs/heads/REL9_2_STABLE-rwlock-contention

On Wed, Dec 4, 2013 at 8:26 PM, Andres Freund <andres(at)2ndquadrant(dot)com>wrote:

> On 2013-12-04 20:19:55 +0200, Metin Doslu wrote:
> > - When we increased NUM_BUFFER_PARTITIONS to 1024, this problem is
> > disappeared for 8 core machines and come back with 16 core machines on
> > Amazon EC2. Would it be related with PostgreSQL locking mechanism?
>
> You could try my lwlock-scalability improvement patches - for some
> workloads here, the improvements have been rather noticeable. Which
> version are you testing?
>
> 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 Andres Freund 2013-12-05 15:52:46 Re: [HACKERS] Parallel Select query performance and shared buffers
Previous Message Tom Lane 2013-12-05 15:46:33 Re: [RFC] Shouldn't we remove annoying FATAL messages from server log?

Browse pgsql-performance by date

  From Date Subject
Next Message Scott Marlowe 2013-12-05 15:50:25 Re: WAL + SSD = slow inserts?
Previous Message Dave Johansen 2013-12-05 15:36:21 Recommendations for partitioning?