From patchwork Fri Sep 14 14:23:06 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paolo Valente X-Patchwork-Id: 10600819 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 9B51815A7 for ; Fri, 14 Sep 2018 14:24:01 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 7DFDC2B7EC for ; Fri, 14 Sep 2018 14:24:01 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 725D62B7F6; Fri, 14 Sep 2018 14:24:01 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-8.0 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,MAILING_LIST_MULTI,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6753F2B7F5 for ; Fri, 14 Sep 2018 14:24:00 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728071AbeINTiD (ORCPT ); Fri, 14 Sep 2018 15:38:03 -0400 Received: from mail-wr1-f65.google.com ([209.85.221.65]:40959 "EHLO mail-wr1-f65.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726925AbeINTiD (ORCPT ); Fri, 14 Sep 2018 15:38:03 -0400 Received: by mail-wr1-f65.google.com with SMTP id n2-v6so10827001wrw.7 for ; Fri, 14 Sep 2018 07:23:19 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=from:to:cc:subject:date:message-id; bh=202+GwpKrSsi+oCMwBSmc5iv2ix8J+LHnuiDke6OVOQ=; b=AYH93yrgf12orjRbPXMPjJzjvHxzl+uQb6fyaQDDKOt5+5dGTOE6MIx6Qd16V0bNoA oE4nbxF/YakHomYqmywiWdxW4Wu2Dwt8BVN2a7E6+UtxgpHaqEwL0SqQSGI83ciIkiTz r/tOcJSmnFrwWUYCyUoRqZdPScc6+OBs7zBis= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id; bh=202+GwpKrSsi+oCMwBSmc5iv2ix8J+LHnuiDke6OVOQ=; b=AvG+kJbn+1G9PgkXpEYTJEUMB1AeE50Tt83RIay1dKxSthWBEjxnvWG9LGpZwursHC yumgKV4Y0QQNrKW4msef+cL8nyupSUWhxDuKkNzwqmzMtGexLKE+ki2FtLEggFqH457T Um8vr3WAW8uZivpU6YaO9JPnKLNcgqBWG3Z30wYI8EFP30uR5JTuZ/S6qwm4ie9ElUTq Kgd7xTlwV/zbd/+xf4EumZYf75/+InDs7Wkglw1q3RteL5LItuxXhVLn3gFn20HAp85w 0Q0FZo3xDuK7/qXxPLY+hXZvqOKWYzhqJQfrO9+wyOd1gwWQ2pxhtUqLbDXLUgIG5lH2 w9nQ== X-Gm-Message-State: APzg51Bdv2hZZI/sLXsWYUHOsIERWerDbMv1//UslkiduScGbKp0N4z4 azX9ehvmt6Ic0IZxdw0+jdcaUQ== X-Google-Smtp-Source: ANB0VdbcK1fz6XAdgzj1pVV/3fM0+Nzg5atOQ0cMgiRuKmadJm3FzENZF1esz7qFaRXq+WymGN9ZaA== X-Received: by 2002:adf:dfca:: with SMTP id q10-v6mr9184060wrn.113.1536934998238; Fri, 14 Sep 2018 07:23:18 -0700 (PDT) Received: from wifi-122_dhcprange-84.wifi.unimo.it (wifi-122_dhcprange-84.wifi.unimo.it. [155.185.122.84]) by smtp.gmail.com with ESMTPSA id k35-v6sm17084888wrc.14.2018.09.14.07.23.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 14 Sep 2018 07:23:17 -0700 (PDT) From: Paolo Valente To: Jens Axboe Cc: linux-block@vger.kernel.org, linux-kernel@vger.kernel.org, ulf.hansson@linaro.org, linus.walleij@linaro.org, broonie@kernel.org, bfq-iosched@googlegroups.com, oleksandr@natalenko.name, Paolo Valente Subject: [PATCH BUGFIX/IMPROVEMENT 0/3] bfq: one fix and two important improvements for throughput Date: Fri, 14 Sep 2018 16:23:06 +0200 Message-Id: <20180914142309.6789-1-paolo.valente@linaro.org> X-Mailer: git-send-email 2.16.1 Sender: linux-block-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-block@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP Hi Jens, the second and third patch in this series provide two important improvements in bfq's ability to boost throughput with random I/O. The benefits of the second patch concern I/O control, and are described in detail in this LWN article [1] (and briefly in the commit message itself). The benefits of the other patch should be straightforward. Finally, the first patch fixes an I/O-control bug, found while making the second patch. These patches modify somehow core operations of bfq, so, before submitting them, I have tested them a lot, and have had them tested by other people too. In particular, during these months, they have been tested in systems ranging from PCs to development platforms. Thanks, Paolo [1] https://lwn.net/Articles/763603/ Paolo Valente (3): block, bfq: correctly charge and reset entity service in all cases block, bfq: inject other-queue I/O into seeky idle queues on NCQ flash blok, bfq: do not plug I/O if all queues are weight-raised block/bfq-iosched.c | 78 +++++++++++++++++++++++++++++++++++++++++++++++------ block/bfq-iosched.h | 26 ++++++++++++++++++ block/bfq-wf2q.c | 13 ++++++--- 3 files changed, 106 insertions(+), 11 deletions(-) --- 2.16.1