Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1433508

Re: [PATCH] mm, vmscan: set shrinker to the left page count

From Minchan Kim <minchan@kernel.org>
Newsgroups linux.kernel
Subject Re: [PATCH] mm, vmscan: set shrinker to the left page count
Date 2016-06-29 09:30 +0200
Message-ID <rPi6B-1fN-1@gated-at.bofh.it> (permalink)
References <rOCAq-7Tb-13@gated-at.bofh.it> <rOYKC-5Nk-19@gated-at.bofh.it> <rOYKC-5Nk-17@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, Jun 28, 2016 at 06:37:24PM +0800, Chen Feng wrote:
> Thanks for you reply.
> 
> On 2016/6/28 0:57, Vladimir Davydov wrote:
> > On Mon, Jun 27, 2016 at 07:02:15PM +0800, Chen Feng wrote:
> >> In my platform, there can be cache a lot of memory in
> >> ion page pool. When shrink memory the nr_to_scan to ion
> >> is always to little.
> >> to_scan: 395  ion_pool_cached: 27305
> > 
> > That's OK. We want to shrink slabs gradually, not all at once.
> > 
> 
> OK, But my question there are a lot of memory waiting for free.
> But the to_scan is too little.
> 
> So, the lowmemorykill may kill the wrong process.

So, the problem is LMK is too agressive. If it's really problem,
you could fix LMK to consider reclaimable slab as well as file
pages.

Thanks.

Back to linux.kernel | Previous | NextPrevious in thread | Find similar | Unroll thread


Thread

[PATCH] mm, vmscan: set shrinker to the left page count Chen Feng <puck.chen@hisilicon.com> - 2016-06-27 13:10 +0200
  Re: [PATCH] mm, vmscan: set shrinker to the left page count Chen Feng <puck.chen@hisilicon.com> - 2016-06-28 12:50 +0200
    Re: [PATCH] mm, vmscan: set shrinker to the left page count Minchan Kim <minchan@kernel.org> - 2016-06-29 09:30 +0200

csiph-web