Re: 8.3devel slower than 8.2 under read-only load

From: Gregory Stark <stark(at)enterprisedb(dot)com>
To: "Guillaume Smet" <guillaume(dot)smet(at)gmail(dot)com>
Cc: "Simon Riggs" <simon(at)2ndquadrant(dot)com>, "Tom Lane" <tgl(at)sss(dot)pgh(dot)pa(dot)us>, "Jonah H(dot) Harris" <jonah(dot)harris(at)gmail(dot)com>, "Greg Smith" <gsmith(at)gregsmith(dot)com>, "PostgreSQL-development" <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: 8.3devel slower than 8.2 under read-only load
Date: 2007-11-25 02:35:58
Message-ID: 87abp3hx0x.fsf@oxford.xeocode.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

"Guillaume Smet" <guillaume(dot)smet(at)gmail(dot)com> writes:

> On Nov 24, 2007 5:16 PM, Gregory Stark <stark(at)enterprisedb(dot)com> wrote:
>> Several of the major changes in 8.3 are I/O vs CPU tradeoffs which could be
>> causing a slowdown if you're measuring primarily CPU resources. I'm thinking
>> of both HOT and packed varlenas. I don't know if either of these are causing
>> your slowdown but it's possible.
>
> Here are some rough results:
> http://people.openwide.fr/~gsmet/postgresql/postgresql_8.3_development_cycle_1.png
>
> I don't pretend that this bench is realistic but it's a first step. I
> run the tests with weird numbers more than 3 times to check that they
> are consistent.
>
> IIRC, packed varlenas were commited during April and HOT at the end of
> September.

Hm, so your test seems to be showing up a difference due to packed varlena?
What functions or operators are you using? Could you send the schema and
actual queries?

--
Gregory Stark
EnterpriseDB http://www.enterprisedb.com
Get trained by Bruce Momjian - ask me about EnterpriseDB's PostgreSQL training!

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 2007-11-25 02:59:44 Re: Open 8.3 issues
Previous Message Tom Lane 2007-11-25 02:17:39 Re: quote_literal(integer) does not exist