Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752048AbeAEQ2b (ORCPT + 1 other); Fri, 5 Jan 2018 11:28:31 -0500 Received: from mail-io0-f172.google.com ([209.85.223.172]:43132 "EHLO mail-io0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751617AbeAEQ23 (ORCPT ); Fri, 5 Jan 2018 11:28:29 -0500 X-Google-Smtp-Source: ACJfBou6Prw7l2YSR5cpOaNv4XIYStgTZ1LVpG/sz7M3BHozfFRdr9muYnxJZ/ar24aYbGEUYa7AuA== Subject: Re: [PATCH IMPROVEMENT/BUGFIX 0/4] remove start-up time outlier caused by wrong detection of cooperating processes To: Paolo Valente Cc: linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, ulf.hansson@linaro.org, broonie@kernel.org, linus.walleij@linaro.org, angeloruocco90@gmail.com, bfq-iosched@googlegroups.com References: <20171220113834.2578-1-paolo.valente@linaro.org> From: Jens Axboe Message-ID: <235bcda8-3a7c-f723-3081-0bc1e9b15190@kernel.dk> Date: Fri, 5 Jan 2018 09:28:27 -0700 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:57.0) Gecko/20100101 Thunderbird/57.0 MIME-Version: 1.0 In-Reply-To: <20171220113834.2578-1-paolo.valente@linaro.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Return-Path: On 12/20/17 4:38 AM, Paolo Valente wrote: > Hi, > the main patch in this series ("block, bfq: let a queue be merged only > shortly after starting I/O") eliminates an outlier in the application > start-up time guaranteed by BFQ. This outlier occurs more or less > frequently, as a function of the characteristics of the system, and is > caused by a wrong detection of so-called cooperating processes > (details in the commit message). This main patch is preceded by two > patches that fix two bugs found while working on this problem. The > patch is then followed by a further, optimization patch, that removes > an operation made superfluous by the main patch. > > Jens, I've not forgotten our decision to make a patch that enables > blkio stats (related to proportional-share policy) to not be enabled > at boot, or when CFQ or BFQ modules are loaded. Just, we have already > prepared the present patches, plus a few other patches for improving > BFQ and fixing bugs, and I'd like to clear this backlog first. > > In this respect, after a patch for boosting throughput more reliably > with cooperating processes, I'll send out a patch to solve an > important read starvation problem. If I'm not making a blunder, this > problem affects every I/O scheduler in blk-mq. As a first step, I'll > propose a fix for BFQ. If the fix is ok, I'm willing to port it to the > other schedulers. Added for 4.16, thanks. -- Jens Axboe