Re: [HACKERS] Postgres Speed or lack thereof - Mailing list pgsql-hackers

From jwieck@debis.com (Jan Wieck)
Subject Re: [HACKERS] Postgres Speed or lack thereof
Date
Msg-id m10Mec1-000EBxC@orion.SAPserv.Hamburg.dsh.de
Whole thread Raw
In response to Re: [HACKERS] Postgres Speed or lack thereof  (Bruce Momjian <maillist@candle.pha.pa.us>)
Responses Re: [HACKERS] Postgres Speed or lack thereof
List pgsql-hackers
>
> Can someone remind me where we left this memory context stuff?
>

    I've  changed  AllocSetAlloc()  and  friends  to manage small
    allocations in bigger blocks together  where  the  sizes  are
    round up to powers of two and free's chunks in the blocks are
    reused in place. The entire blocks get only free'd when  they
    get completely free.

    Then  I've  changed  palloc() etc. into macros (which started
    the discussion on mcxt.h - sorry).

    Overall  speedup  from  the  changes  (for   regression)   is
    something about 10-15%.


Jan

--

#======================================================================#
# It's easier to get forgiveness for being wrong than for being right. #
# Let's break this rule - forgive me.                                  #
#======================================== jwieck@debis.com (Jan Wieck) #

pgsql-hackers by date:

Previous
From: The Hermit Hacker
Date:
Subject: Re: [HACKERS] HTML index of source code
Next
From: Bruce Momjian
Date:
Subject: Re: [HACKERS] HTML index of source code