| ▲ | direwolf20 11 hours ago | |||||||
It's not possible for the kernel to predict the memory needs of a process unfortunately | ||||||||
| ▲ | 112233 10 hours ago | parent | next [-] | |||||||
But how about not scheduling swapped out processes if there currently is no free ram for their current RSS? of course kernel cannot know that a new process will balloon to eat all RAM, but once it has done so, is there a way to let it run to completion without being swapped out to "improve responsivity"? | ||||||||
| ||||||||
| ▲ | man8alexd 11 hours ago | parent | prev [-] | |||||||
It is possible to measure process memory utilitsation and set appropriate cgroup limits. | ||||||||