Skip site navigation (1) Skip section navigation (2)

Re: Pre-alloc ListCell's optimization

From: Bruce Momjian <bruce(at)momjian(dot)us>
To: Stephen Frost <sfrost(at)snowman(dot)net>
Cc: Robert Haas <robertmhaas(at)gmail(dot)com>, pgsql-hackers(at)postgresql(dot)org
Subject: Re: Pre-alloc ListCell's optimization
Date: 2012-08-30 01:30:26
Message-ID: 20120830013026.GH8753@momjian.us (view raw or flat)
Thread:
Lists: pgsql-hackers
On Fri, May 18, 2012 at 06:19:52PM -0400, Stephen Frost wrote:
> * Stephen Frost (sfrost(at)snowman(dot)net) wrote:
> > > llist_opt: 9289 tps
> > > HEAD:      9286 tps
> > 
> > llist_opt: 9407 tps
> > 
> > Which gives us ~1.3% improvment.
> 
> Trying out some different options- going with 32 pre-allocated
> ListCell's actually reduced performance, according to these tests.
> 
> Dropping it to 4 improved performance a bit: 9476 tps.
> 
> Going to keep playing around and see where this goes.

Any status on this?


-- 
  Bruce Momjian  <bruce(at)momjian(dot)us>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

  + It's impossible for everything to be true. +


In response to

Responses

pgsql-hackers by date

Next:From: Bruce MomjianDate: 2012-08-30 01:45:57
Subject: Re: LISTEN/NOTIFY Security and the docs
Previous:From: Bruce MomjianDate: 2012-08-30 01:25:11
Subject: Re: Draft release notes complete

Privacy Policy | About PostgreSQL
Copyright © 1996-2014 The PostgreSQL Global Development Group