please disregard half my previous post

Roger Binns rogerb at
Fri May 16 02:13:14 PDT 1997

> Here's a really simple kludge which has been known to dramatically
> increase performance in similar situations: instead of allocating
> the structs individually, allocate them approximately a page at
> a time, maintaining your own free list of the things.  malloc()
> overhead (both time and space) is evil, so doing it less frequently
> is a big win.

The malloc package at is supposed
to do suballocations very well (I am told it is the same as the one
in Linux).  It also uses mmap() for mallocs over 1MB.

Roger Binns   rogerb at | The reasonable man adapts himself to the world;
Software Architect           | the unreasonable one persists in trying to
Client Integration Division  | to adapt the world to himself. Therefore all
SCO, Vision Park, Cambridge  | progress depends on the unreasonable man - GBS

More information about the kaffe mailing list