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


Groups > linux.kernel > #1243077 > unrolled thread

containers: how to limit pagecache size?

Started byYuzhou <yuzhou@mogujie.com>
First post2015-10-09 09:20 +0200
Last post2015-10-12 17:20 +0200
Articles 2 — 2 participants

Back to article view | Back to linux.kernel


Contents

  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

#1243077 — containers: how to limit pagecache size?

FromYuzhou <yuzhou@mogujie.com>
Date2015-10-09 09:20 +0200
Subjectcontainers: how to limit pagecache size?
Message-ID<qhA89-3yd-1@gated-at.bofh.it>
Hi, all

How to limit and reclaim container's pagecache?

Thanks,
Zhang Haoyu

--
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/

[toc] | [next] | [standalone]


#1244806

FromMichal Hocko <mhocko@kernel.org>
Date2015-10-12 17:20 +0200
Message-ID<qiN3k-2LY-37@gated-at.bofh.it>
In reply to#1243077
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/

[toc] | [prev] | [standalone]


Back to top | Article view | linux.kernel


csiph-web