lwip-users
[Top][All Lists]
Advanced

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

Re: [lwip-users] MEMP_MEM_MALLOC


From: Simon Goldschmidt
Subject: Re: [lwip-users] MEMP_MEM_MALLOC
Date: Tue, 27 Feb 2018 14:00:47 +0100

Giuseppe Modugno wrote:
> I'm thinking if it's better to set MEMP_MEM_MALLOC or not in my application.

You partly wrote it, it's fast/predictable but larger (larger because ram is 
dedicated to a pool)
against slower/fragmentable but potentially smaller (smaller because ram can be 
used for everything
as long as you have enough).

There's no single answer for this. You have to know your requirements.

The big downside of a heap is that it can get fragmented, and without an MMU, 
we don't have the
possibility to defragment it.

Simon



reply via email to

[Prev in Thread] Current Thread [Next in Thread]