Title ===== Inspecting and optimizing memory usage in Linux Description =========== Considering a context where the hardware platform disposes of a restricted amount of RAM, developers need to understand how this resource is managed and consumed by the operating system and the applications running on it. In such situations, it is crucial to use the right metrics and tooling to identify which components are excessively allocating resources, trim them down, and finally get close to the strict necessary memory usage without compromising essential features. This presentation explores RAM management in the Linux kernel, focusing on how much memory is allocated across different areas and for what purposes. From a kernel space perspective, it will dive into the components of memory reserved in early boot. Considering the user space perspective, the presentation will explain how much memory is used by processes, both individually and collectively. Benefits to ecosystem ===================== Attendees will gain valuable insights into how to analyze memory usage using pertinent metrics and how to potentially optimize it. Bio === João graduated in 2020 with a master degree in Physical engineering and embedded systems from ENSICAEN, a French engineering school, as well as an Electrical Engineering degree in 2021 from the Universidade Federal do Rio Grande do Norte in Brazil. Through his various experiences, João has gained a specific expertise in developing custom Linux distributions using Yocto. João wrote the support for the SquashFS filesystem in the U-Boot bootloader, the most popular one in embedded devices. Expected table of content ========================= Note ====