Re: MemPools rewrite

From: Henrik Nordstrom <hno@dont-contact.us>
Date: Sun, 29 Oct 2000 18:46:46 +0100

Andres Kroonmaa wrote:

> well, if its temporary, then its released.

Except for the nasty effect that the temporary memory usage sometimes is
in the reange of several hundred of MB...

> We can return memory in chunks
> to the system. Probability that every chunk gets locked by few longliving
> items is there, but should be pretty small because of first-fit approach.
> Also, when chunks are large enough to justify mmap, such bursts would not
> bang holes into heap.

True, and malloc will automatically do this for us without forcing us to
do chunked allocation if we increase the membuf block size somewhat..

/Henrik
Received on Sun Oct 29 2000 - 14:06:14 MST

This archive was generated by hypermail pre-2.1.9 : Tue Dec 09 2003 - 16:12:53 MST