[$] Memory overcommit in containerized environments

Post Syndicated from original https://lwn.net/Articles/931658/

Overcommitting memory is a longstanding tradition in the Linux world
(and beyond); it is rare that an application uses all of the memory
allocated to it, so overcommitting can help to improve overall memory
utilization. In situations where memory has been overcommitted, though, it
may be necessary to respond quickly to ensure that applications have the
memory they actually need, even when those needs change. At the 2023 Linux Storage, Filesystem,
Memory-Management and BPF Summit
, T.J. Alumbaugh (in the room) and
Yuanchu Xie (remotely)
presented a new mechanism intended to help hosts provide containerized
guests with the memory resources they need.