Webinars

Insights from the best projects and people

All Webinars

Memoptimizer Watches Your Memory Usage So You Don’t Have To!

Date: Oct 6, 202110:00 - 11:30AM PDT (UTC-7) LF Live Mentorship Series Register

Join us for Memoptimizer Watches Your Memory Usage So You Don’t Have To!, with Khalid Aziz, Senior Software Engineer at Oracle.

Linux kernel uses as much physical memory as possible to maximize system performance. Any memory not used by applications is allocated as buffer cache by kernel. Buffer cache holds data that might be needed in near future. Kernel reclaims buffer cache pages reactively when it starts to run low on free pages. This can introduce unpredictable latency in memory allocations when kernel searches through buffer cache looking for reclaimable pages as it falls behind allocation requests.

We will discuss a modeling method to forecast such free memory shortage situations and ways to trigger reclamation before they happen. We will look at a live working implementation of this method in form of memoptimizer daemon.