From: Jan Kara Subject: Re: [Lsf-pc] [LSF/MM ATTEND] Filesystems -- Btrfs, cgroups, Storage topics from Facebook Date: Tue, 31 Dec 2013 13:45:35 +0100 Message-ID: <20131231124535.GE11920@quack.suse.cz> References: <1388439412.16965.27.camel@ret> <20131231084927.GA29449@gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: Chris Mason , "linux-fsdevel@vger.kernel.org" , "lsf-pc@lists.linux-foundation.org" To: Zheng Liu Return-path: Received: from cantor2.suse.de ([195.135.220.15]:51138 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753001Ab3LaMpk (ORCPT ); Tue, 31 Dec 2013 07:45:40 -0500 Content-Disposition: inline In-Reply-To: <20131231084927.GA29449@gmail.com> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On Tue 31-12-13 16:49:27, Zheng Liu wrote: > Hi Chris, > > On Mon, Dec 30, 2013 at 09:36:20PM +0000, Chris Mason wrote: > > Hi everyone, > > > > I'd like to attend the LSF/MM conference this year. My current > > discussion points include: > > > > All things Btrfs! > > > > Adding cgroups for more filesystem resources, especially to limit the > > speed dirty pages are created. > > Interesting. If I remember correctly, IO-less dirty throttling has been > applied into upstream kernel, which can limit the speed that dirty pages > are created. Does it has any defect? It works as it should. But as Jeff points out, the throttling isn't cgroup aware. So it can happen that one memcg is full of dirty pages and reclaim has problems with reclaiming pages for it. I guess what Chris asks for is that we watch number of dirty pages in each memcg and throttle processes creating dirty pages in memcg which is close to its limit on dirty pages. Honza -- Jan Kara SUSE Labs, CR