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

From Bruce Momjian
Subject Re: [HACKERS] Postgres Speed or lack thereof
Date
Msg-id 199903152146.QAA20764@candle.pha.pa.us
Whole thread Raw
In response to Re: [HACKERS] Postgres Speed or lack thereof  (jwieck@debis.com (Jan Wieck))
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%.
> 

Great.

--  Bruce Momjian                        |  http://www.op.net/~candle maillist@candle.pha.pa.us            |  (610)
853-3000+  If your life is a hard drive,     |  830 Blythe Avenue +  Christ can be your backup.        |  Drexel Hill,
Pennsylvania19026
 


pgsql-hackers by date:

Previous
From: jwieck@debis.com (Jan Wieck)
Date:
Subject: Developers Globe (FINAL)
Next
From: Bruce Momjian
Date:
Subject: Re: Developers Globe (FINAL)