laarctags | new | comments | ask | show | place | submitlogin
Mesh: Compacting Memory Management for C/C++ Applications (
2 points by nickpsecurity to pdf compsci c c++ reliability performance on Feb 17, 2019 | 2 comments

That sounds almost too good to be true! It's interesting to see there is still innovation in such a low-level field as memory allocation -- actually, looking at Jay's columnar and row data type options, I think we're just scratching the surface of how to get interesting optimizations out of new strategies of memory layout and management.


Abstract: "Programs written in C/C++ can suffer from serious memory fragmentation, leading to low utilization of memory, degraded performance, and application failure due to memory exhaustion. This paper introduces Mesh, a plug-in replacement for malloc that, for the first time, eliminates fragmentation in unmodified C/C++ applications. Mesh combines novel randomized algorithms with widely-supported virtual memory operations to provably reduce fragmentation, breaking the classical Robson bounds with high probability. Mesh generally matches the runtime performance of state-of-the-art memory allocators while reducing memory consumption; in particular, it reduces the memory of consumption of Firefox by 16% and Redis by 39%."


Welcome | Guidelines | Bookmarklet | Feature Requests | Source | API | Contact | Twitter | Lists

RSS (stories) | RSS (comments)