From: Zhu Yanhai <zhu.yanhai@gmail.com>
To: Greg Thelen <gthelen@google.com>, linux-mm <linux-mm@kvack.org>,
linux-kernel <linux-kernel@vger.kernel.org>,
Konstantin Khlebnikov <khlebnikov@openvz.org>,
gnehzuil gnehzuil <gnehzuil@gmail.com>
Subject: Re: Control page reclaim granularity
Date: Fri, 9 Mar 2012 00:32:54 +0800 [thread overview]
Message-ID: <CAC8teKUqOa=qoct86xfbnUXxwuOsDDw0YiAOHPv3wqa22EPfTw@mail.gmail.com> (raw)
In-Reply-To: <20120308161318.GA9904@gmail.com>
[-- Attachment #1: Type: text/plain, Size: 1242 bytes --]
How about we provide a interface to make you able to specify which pages
should be charged to which cgroup, then you may create two cgroups for the
two files, set each of them to the desired size which you want the cache of
the file to be. By that way you can control them as exactly as you want.
The current memcg allows a group which has not any processes but still
pages in soft limit tree (hope I'm not wrong) so you dont' have to put any
of you worker process into the groups either.
-zyh
在 2012年3月9日星期五,Zheng Liu <gnehzuil.liu@gmail.com> 写道:
> Hi Greg,
>
> Sorry, I forgot to say that I don't subscribe linux-mm and linux-kernel
> mailing list. So please Cc me.
>
> I am glad to receive your reply and I am very interesting for your
> approach. Actually I am not very familiar with CGroup. So would you
> please send your patch to me if you can? Thank you all the same.
>
> Regards,
> Zheng
> --
> 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/
>
--
Sent from Gmail Mobile
[-- Attachment #2: Type: text/html, Size: 1574 bytes --]
next prev parent reply other threads:[~2012-03-08 16:32 UTC|newest]
Thread overview: 33+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-03-08 7:34 Zheng Liu
2012-03-08 8:39 ` Greg Thelen
2012-03-08 16:13 ` Zheng Liu
2012-03-08 16:32 ` Zhu Yanhai [this message]
2012-03-14 7:19 ` Greg Thelen
2012-03-08 9:35 ` Minchan Kim
2012-03-08 16:54 ` Zheng Liu
2012-03-12 0:28 ` Minchan Kim
2012-03-12 2:06 ` Fwd: " Zheng Liu
2012-03-12 5:19 ` Minchan Kim
2012-03-12 6:20 ` Konstantin Khlebnikov
2012-03-12 8:14 ` Zheng Liu
2012-03-12 13:42 ` Minchan Kim
2012-03-12 14:18 ` Konstantin Khlebnikov
2012-03-13 2:48 ` Minchan Kim
2012-03-13 4:37 ` Konstantin Khlebnikov
2012-03-13 5:00 ` Konstantin Khlebnikov
2012-03-13 6:30 ` Zheng Liu
2012-03-13 6:48 ` Zheng Liu
2012-03-13 7:21 ` Konstantin Khlebnikov
2012-03-13 7:43 ` Kautuk Consul
2012-03-13 7:47 ` Kautuk Consul
2012-03-13 8:05 ` Zheng Liu
2012-03-13 8:04 ` Kautuk Consul
2012-03-13 8:08 ` Kautuk Consul
2012-03-13 8:28 ` Zheng Liu
2012-03-13 8:36 ` Kautuk Consul
2012-03-13 9:03 ` Kautuk Consul
2012-03-12 15:15 ` Zheng Liu
2012-03-13 2:51 ` Minchan Kim
2012-03-12 14:55 ` Rik van Riel
2012-03-13 2:57 ` Minchan Kim
2012-03-13 14:57 ` Rik van Riel
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to='CAC8teKUqOa=qoct86xfbnUXxwuOsDDw0YiAOHPv3wqa22EPfTw@mail.gmail.com' \
--to=zhu.yanhai@gmail.com \
--cc=gnehzuil@gmail.com \
--cc=gthelen@google.com \
--cc=khlebnikov@openvz.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-mm@kvack.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox