lua-users home
lua-l archive

[Date Prev][Date Next][Thread Prev][Thread Next] [Date Index] [Thread Index]


You'd probably get higher fragmentation with first bit vs best fit,
but I think the comparison was against dlmalloc.
I only looked briefly at TLSF, but maybe I'll give it a try
eventually. Indeed, the first impression is that its memory overhead
is too much for a memory constrained system.

On Fri, May 2, 2008 at 6:10 PM, Ralph Hempel
<rhempel@hempeldesigngroup.com> wrote:
>
>  Hmmm, I'd expect more fragmentation with first fit, but again, the
>  typical usage of the application will determine which produces
>  better results.
>
>  What is the typical heap size you're using, and how "big" is dlmalloc
>  on your system?
>
>  I've looked at TLSF a few times but the memory overhead for the
>  bitmap and extra code made it impractical. Now that I have some real
>  applications, I can go back to see if the fragmentation wastes
>  significantly more memory than TLSF uses to reduce fragmentation...
>
>  Thanks for the extra pointers though - I enjoy reviewing
>  what I've read in the past once in a while to be sure I'm
>  stll going in the right direction.
>
>  Ralph
>
>
>
>
>