Re: [HACKERS] new heap manager mmalloc
От | Bruce Momjian |
---|---|
Тема | Re: [HACKERS] new heap manager mmalloc |
Дата | |
Msg-id | 199901281746.MAA01525@candle.pha.pa.us обсуждение исходный текст |
Ответ на | Re: [HACKERS] new heap manager mmalloc (The Hermit Hacker <scrappy@hub.org>) |
Ответы |
Re: [HACKERS] new heap manager mmalloc
|
Список | pgsql-hackers |
> > Two things against it... > > First, its a Linux-ism...he's got it ported to Win and Linux, that's it... Actually, our problem is not malloc itself. Most Unix OS's have pretty good malloc's, tuned to their OS. The problem is the number of times we call it. Massimo's idea of having several alloc contexts, some of which supply memory from a backend-managed pool is a good idea. When I was working on a SQL backend design, I thought this would be a very good way to go. SQL databases have a nice end-of-transaction free-it-all point that can make use of such a give-me-the-memory and don't worry about freeing it until I am done with the transaction model. -- 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 по дате отправления: