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


Groups > linux.kernel > #1244806

Re: containers: how to limit pagecache size?

From Michal Hocko <mhocko@kernel.org>
Newsgroups linux.kernel
Subject Re: containers: how to limit pagecache size?
Date 2015-10-12 17:20 +0200
Message-ID <qiN3k-2LY-37@gated-at.bofh.it> (permalink)
References <qhA89-3yd-1@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Fri 09-10-15 14:49:09, Yuzhou wrote:
> Hi, all
> 
> How to limit and reclaim container's pagecache?

There is no way to reclaim only the page cache. What you can do is to
put excessive page cache consumers into a separate memory cgroup and
limit them that way.
-- 
Michal Hocko
SUSE Labs
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

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


Thread

containers: how to limit pagecache size? Yuzhou <yuzhou@mogujie.com> - 2015-10-09 09:20 +0200
  Re: containers: how to limit pagecache size? Michal Hocko <mhocko@kernel.org> - 2015-10-12 17:20 +0200

csiph-web