Re: Pre-alloc ListCell's optimization - Mailing list pgsql-hackers

From Stephen Frost
Subject Re: Pre-alloc ListCell's optimization
Date
Msg-id 20120518221952.GB1267@tamriel.snowman.net
Whole thread Raw
In response to Re: Pre-alloc ListCell's optimization  (Stephen Frost <sfrost@snowman.net>)
Responses Re: Pre-alloc ListCell's optimization
List pgsql-hackers
* Stephen Frost (sfrost@snowman.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.
Thanks,
    Stephen

pgsql-hackers by date:

Previous
From: Teodor Sigaev
Date:
Subject: Re: psql bug
Next
From: Florian Pflug
Date:
Subject: Re: read() returns ERANGE in Mac OS X