From: Tejun Heo Subject: Re: ext4: performance regression introduced by the cgroup writeback support Date: Wed, 23 Sep 2015 14:53:37 -0400 Message-ID: <20150923185337.GK26647@mtj.duckdns.org> References: <20150923161359.GB25218@ret.masoncoding.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii To: Chris Mason , Dexuan Cui , Theodore Ts'o , Andreas Dilger , "linux-ext4@vger.kernel.org" , "linux-fsdevel@vger.kernel.org" , "linux-kernel@vger.kernel.org" Return-path: Content-Disposition: inline In-Reply-To: <20150923161359.GB25218@ret.masoncoding.com> Sender: linux-kernel-owner@vger.kernel.org List-Id: linux-ext4.vger.kernel.org On Wed, Sep 23, 2015 at 12:13:59PM -0400, Chris Mason wrote: > > The issue is: under high CPU and disk I/O pressure, *some* processes can suffer from a very slow write speed (e.g., <1MB/s or even only 20KB/s), while the normal write speed should be at least dozens of MB/s. So, I think I know what caused this regression. Separate wb domains shouldn't have been enabled on traditional hierarchies. It doesn't work there and leads to multiple wb domains competing on the same blkcg and the bw estimation would go completely haywire. Will update soon. Thanks. -- tejun