Online / 5 & 6 February 2022


Exploring Linux Memory Usage and IO Performance for Cloud Native Databases

Linux and containers are similar in that they provide operating system resources such as memory and storage. These resources—along with CPU and networking— are key factors to achieve optimal performance.

In this session, we'll explore how memory allocation at the container or operating system level influences the performance of buffered disk IO, which is typically how IO is handled by PostgreSQL. We'll also examine Linux memory management details and the different ways disk IO could be performed. From there, we'll walk through a number of examples that reveal the typical dynamics of cached and non-cached IOs, as well as the differences between the two.

Understanding these dynamics is critical to learn how PostgreSQL IO works.


Photo of Frits Hoogland Frits Hoogland