Re: [HACKERS] Postgres Speed or lack thereof
От | jwieck@debis.com (Jan Wieck) |
---|---|
Тема | Re: [HACKERS] Postgres Speed or lack thereof |
Дата | |
Msg-id | m107hq4-000EBPC@orion.SAPserv.Hamburg.dsh.de обсуждение исходный текст |
Ответ на | Re: [HACKERS] Postgres Speed or lack thereof (Tom Lane <tgl@sss.pgh.pa.us>) |
Список | pgsql-hackers |
> > jwieck@debis.com (Jan Wieck) writes: > > [ patch to handle small-block allocation specially ] > > Did anyone play around with it? I've had it installed now for > > some days and it work's well so far. > > How close are we to v6.5 BETA? Should I apply it to CURRENT? > > Well, I think it's a band-aid until we can redesign the memory manager > properly, but it could be a useful band-aid ... might as well put it in. > > The only thing that bothers me about the code itself is lack of > comments. In particular it'd be nice to mention somewhere that freeptr > is actually one chunkheader past the start of the free space --- took > a while to puzzle that out. Tricky eh? The AllocSet...() functions do it the same so it just continues with that style. But you're right, and when moving it in I'll shurely add comments. 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 по дате отправления: