anchao commented on PR #12320:
URL: https://github.com/apache/nuttx/pull/12320#issuecomment-2105504918

   > @anchao, let's discuss here as these comments are visible in `gh` tool as 
well.
   > 
   > Can you teach your opinion about the `MM_TLSF_MANAGER`? It seems having 
O(1) `alloc()` and works in flat build mode. I added `*.tlsf.log` files for 
your review.
   
   Although TLSF has more advantages than Best fit in terms of time complexity 
`O(1)`, it will cause serious memory fragmentation issues in aging and 
persistence tests. 
   
   I have added an attachment containing the test results of different 
allocators (Sheet from @XuNeo Thanks), You can generate a chart and observe the 
memory trend (This chart may not show the worst case scenario of TLSF)
   
[20221110_mem_test.xlsx](https://github.com/apache/nuttx/files/15281455/20221110_mem_test.xlsx)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to