Re: [HACKERS] Postgres Speed or lack thereof

From: Bruce Momjian <maillist(at)candle(dot)pha(dot)pa(dot)us>
To: jwieck(at)debis(dot)com
Cc: tgl(at)sss(dot)pgh(dot)pa(dot)us, jwieck(at)debis(dot)com, hackers(at)postgreSQL(dot)org
Subject: Re: [HACKERS] Postgres Speed or lack thereof
Date: 1999-03-15 21:46:48
Message-ID: 199903152146.QAA20764@candle.pha.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: 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(at)candle(dot)pha(dot)pa(dot)us | (610) 853-3000
+ If your life is a hard drive, | 830 Blythe Avenue
+ Christ can be your backup. | Drexel Hill, Pennsylvania 19026

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Bruce Momjian 1999-03-15 21:51:10 Re: Developers Globe (FINAL)
Previous Message Jan Wieck 1999-03-15 21:44:34 Developers Globe (FINAL)