Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753294AbdHJTzP (ORCPT ); Thu, 10 Aug 2017 15:55:15 -0400 Received: from mail-wr0-f172.google.com ([209.85.128.172]:35785 "EHLO mail-wr0-f172.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753093AbdHJTzL (ORCPT ); Thu, 10 Aug 2017 15:55:11 -0400 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 9.3 \(3124\)) Subject: Re: [PATCH BUGFIX/IMPROVEMENT V2 0/2] block, bfq: improve and refactor throughput-boosting logic From: Paolo Valente In-Reply-To: <20170804053511.2389-1-paolo.valente@linaro.org> Date: Thu, 10 Aug 2017 21:55:08 +0200 Cc: linux-block , linux-kernel@vger.kernel.org, ulf.hansson@linaro.org, broonie@kernel.org, lucmiccio@gmail.com Message-Id: <66099037-D7F7-4803-B9A6-8A4866EAE43A@linaro.org> References: <20170804053511.2389-1-paolo.valente@linaro.org> To: Jens Axboe X-Mailer: Apple Mail (2.3124) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by nfs id v7AJtJhu010926 Content-Length: 1485 Lines: 42 > Il giorno 04 ago 2017, alle ore 07:35, Paolo Valente ha scritto: > > Hi, > these two patches improve throughput-boosting logic in two > aspects. The first patch refactors the parts of the device-idling > logic, related to throughput boosting, that are still scattered across > the source file bfq-iosched.c. The patch concetrates all the logic in > one function. The second patch fixes/improves device idling for > flash-based devices that have no internal queueing of I/O requests. > > The contribution in the first patch has been triggered by that in the > second patch: finding the change made by the second patch has been > more difficult than it had to be, because the logic that decides > whether to idle the device is scattered across three functions. > > The second patch provides a significant throghput boost, for random > I/O with flash-based non-queueing devices. For example, on a HiKey > board, throughput increases by up to 125%, growing, e.g., from 6.9MB/s > to 15.6MB/s with two or three random readers in parallel. > Hi Jens, any idea about the fate of these two patches? Thanks, Paolo > Thanks, > Paolo > > Paolo Valente (2): > block,bfq: refactor device-idling logic > block, bfq: boost throughput with flash-based non-queueing devices > > block/bfq-iosched.c | 144 ++++++++++++++++++++++++++++------------------------ > block/bfq-iosched.h | 12 ++--- > 2 files changed, 85 insertions(+), 71 deletions(-) > > -- > 2.10.0