logoalt Hacker News

majke • today at 5:49 PM • 2 replies • view on HN

Afaiu memory pressure is a boolean. Either the cgroup is under pressure or not. What is the question?


Replies

basilikum • today at 6:03 PM

Further up they say (emphasis mine)

> The memory controller helps you set limits for the maximum memory consumption of a service, which we are actually not using. It's the well-known memory.high, memory.max, etc. But the memory controller has an undocumented feature, which activates when the controller is only loaded.

Why is there even memory pressure in the first place when the cgroup does not have a limit and there is lots of free memory?

loeg • today at 6:25 PM

This condition as described should not be considered memory pressure true.