linux-mm.kvack.org archive mirror
 help / color / mirror / Atom feed
From: Ying Han <yinghan@google.com>
To: KAMEZAWA Hiroyuki <kamezawa.hiroyu@jp.fujitsu.com>
Cc: Michal Hocko <mhocko@suse.cz>,
	"linux-mm@kvack.org" <linux-mm@kvack.org>,
	LKML <linux-kernel@vger.kernel.org>,
	Johannes Weiner <hannes@cmpxchg.org>,
	Daisuke Nishimura <nishimura@mxp.nes.nec.co.jp>,
	Hugh Dickins <hughd@google.com>,
	Andrew Morton <akpm@linux-foundation.org>,
	Glauber Costa <glommer@parallels.com>,
	Kir Kolyshkin <kir@parallels.com>,
	Pavel Emelianov <xemul@parallels.com>,
	GregThelen <gthelen@google.com>,
	"pjt@google.com" <pjt@google.com>,
	Tim Hockin <thockin@google.com>,
	Dave Hansen <dave@linux.vnet.ibm.com>,
	Paul Menage <paul@paulmenage.org>,
	James Bottomley <James.Bottomley@hansenpartnership.com>
Subject: Re: [RFD] Isolated memory cgroups again
Date: Fri, 21 Oct 2011 13:00:18 -0700	[thread overview]
Message-ID: <CALWz4iw9OGUNKjD5y2xGDGaesTjwUT5TOL2A7wDd5apy4M5fnw@mail.gmail.com> (raw)
In-Reply-To: <20111021121759.429d8222.kamezawa.hiroyu@jp.fujitsu.com>

[-- Attachment #1: Type: text/plain, Size: 1351 bytes --]

On Thursday, October 20, 2011, KAMEZAWA Hiroyuki <
kamezawa.hiroyu@jp.fujitsu.com> wrote:
> On Thu, 20 Oct 2011 19:45:55 -0700
> Michal Hocko <mhocko@suse.cz> wrote:
>
>> On Thu 20-10-11 16:41:27, Ying Han wrote:
>> [...]
>> > Hi Michal:
>>
>> Hi,
>>
>> >
>> > I didn't read through the patch itself but only the description. If we
>> > wanna protect a memcg being reclaimed from under global memory
>> > pressure, I think we can approach it by making change on soft_limit
>> > reclaim.
>> >
>> > I have a soft_limit change built on top of Johannes's patchset, which
>> > does basically soft_limit aware reclaim under global memory pressure.
>>
>> Is there any link to the patch(es)? I would be interested to look at
>> it before we discuss it.
>>
>
> I'd like to see it, too.
>
> Thanks,
> -Kame
>
Now I am at airport heading to Prague , I will try to post one before the
meeting if possible. The current patch is simple enough which most of the
work are reverting the existing soft limit implementation and then the new
logic is based on the memcg aware global reclaim.

The logic is based on reclaim priority, and we skip reclaim from certain
memcg(under soft limit) before getting down to DEF_PRIORITY - 3. This is
simple enough to get us start collecting some data result and I am looking
forward to discuss more thoughts in the meeting


--ying

[-- Attachment #2: Type: text/html, Size: 1745 bytes --]

  reply	other threads:[~2011-10-21 20:00 UTC|newest]

Thread overview: 16+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2011-10-20  1:33 [RFD] Isolated memory cgroups again Michal Hocko
2011-10-20  1:59 ` KAMEZAWA Hiroyuki
2011-10-20 16:30   ` Michal Hocko
2011-10-21 16:04   ` Balbir Singh
2011-10-22  9:26     ` Michal Hocko
2011-10-21 16:11   ` Balbir Singh
2011-10-20  8:55 ` Glauber Costa
2011-10-20 16:42   ` Michal Hocko
2011-10-20 23:41 ` Ying Han
2011-10-21  2:45   ` Michal Hocko
2011-10-21  3:17     ` KAMEZAWA Hiroyuki
2011-10-21 20:00       ` Ying Han [this message]
2011-10-22  9:31         ` Michal Hocko
2011-10-21  8:39   ` Glauber Costa
2011-10-21 12:16     ` Johannes Weiner
2011-10-22  9:47     ` Michal Hocko

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=CALWz4iw9OGUNKjD5y2xGDGaesTjwUT5TOL2A7wDd5apy4M5fnw@mail.gmail.com \
    --to=yinghan@google.com \
    --cc=James.Bottomley@hansenpartnership.com \
    --cc=akpm@linux-foundation.org \
    --cc=dave@linux.vnet.ibm.com \
    --cc=glommer@parallels.com \
    --cc=gthelen@google.com \
    --cc=hannes@cmpxchg.org \
    --cc=hughd@google.com \
    --cc=kamezawa.hiroyu@jp.fujitsu.com \
    --cc=kir@parallels.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-mm@kvack.org \
    --cc=mhocko@suse.cz \
    --cc=nishimura@mxp.nes.nec.co.jp \
    --cc=paul@paulmenage.org \
    --cc=pjt@google.com \
    --cc=thockin@google.com \
    --cc=xemul@parallels.com \
    /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;
as well as URLs for NNTP newsgroup(s).