Thread (21 messages) 21 messages, 5 authors, 2020-09-23

Re: [External] Re: [PATCH] mm/memcontrol: Add the drop_cache interface for cgroup v2

From: Chunxin Zang <hidden>
Date: 2020-09-23 02:35:44
Also in: bpf, cgroups, linux-doc, linux-mm, lkml

On Tue, Sep 22, 2020 at 8:43 PM Chris Down [off-list ref] wrote:
Chunxin Zang writes:
quoted
Please forgive me for not being able to understand why setting
memory.low for Type_A can solve the problem.
In my scene, Type_A is the most important, so I will set 100G to memory.low.
But 'memory.low' only takes effect passively when the kernel is
reclaiming memory. It means that reclaim Type_B's memory only when
Type_A  in alloc memory slow path. This will affect Type_A's
performance.
We want to reclaim Type_B's memory in advance when A is expected to be busy.
That's what kswapd reclaim is for, so this distinction is meaningless without
measurements :-)
Thanks for these suggestions, I will give it a try.

Best wishes
Chunxin
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help