PR #17628: sys_heap benchmarks?


Christopher Friedt
 

Recently a sys_heap change went into zephyr

https://github.com/zephyrproject-rtos/zephyr/pull/17628

The PR says that it's faster, but I'm seeing some behaviour that would
suggest that's not the case.

The reason I bring it up, is that I had ported a certain protocol
subsystem over from an external repository (in my fork, atm). That
subsystem made heavy use of malloc. I rebased just a couple of days
ago (no other changes), and now I'm experiencing a fair amount of
timeouts when using the protocol that I did not experience before.
I've had to increase buffer sizes, etc.

Personally, I'm not a huge fan of malloc usage in communication code,
but I'm just kind of dealing with the code that I inherited.

Does anyone have some benchmarks on the new allocator? I'd really like
to have a look if that information is available.

Thanks,

C

Join devel@lists.zephyrproject.org to automatically receive all group messages.