From patchwork Tue Mar 12 08:59:26 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paolo Valente X-Patchwork-Id: 160070 Delivered-To: patch@linaro.org Received: by 2002:a02:5cc1:0:0:0:0:0 with SMTP id w62csp12860532jad; Tue, 12 Mar 2019 02:00:06 -0700 (PDT) X-Google-Smtp-Source: APXvYqzuQ4cXWqjRlXRoIQVw2HngKysgZ366VRdI6O5USEZJFATqFrgDk0xKdIcgohYeFDKtseXm X-Received: by 2002:a62:1c43:: with SMTP id c64mr37379060pfc.259.1552381206260; Tue, 12 Mar 2019 02:00:06 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1552381206; cv=none; d=google.com; s=arc-20160816; b=yyBgsBhWXVAMxBfw7PyEpBWkqmuIR/gkNwId+LnKgUC7WHL71fh2bqXR/bhQARWKx0 ygGTcqM+CJBOll0r3kYLSG6qW5jfZ2dY13g311LiEqX0ZeVfFRv5jBb6ejNcdXdoKKHX fbu7je6jCLyRklxl/FNRn6un1yEObpBuekXVO1jx9fc75pn2uZCM9MENkNGQarn+2Hr8 uYzlOL8Ea+Wn6oYIP0WobAWeriz5yMI6Eaka+T+5ttIBiI8u8g4seBzD89kqhgLzFoO2 7BrtYcFiLcouHLepypakj0w7i3ST7hvRT+VCQUVAyPMt0Gesw409JEwj02BbFi4bcL6P Xhmw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=DpaxuVPFYTGwRL/2DODlpf7LUNdqYBXLDXiz8LeznM8=; b=CA1tRUb5PtTTlIw7hD3HWWCmh/svi2adRQFIFazGF1LK7d2+TmXUHbNP4ol6PJ1g4/ GwG+WF8JBzlXJZZOEzQoAOfnje92yN/ByjysMd+XAkT+zL701qDffPpc7AYpjSYR91rw hJTLCzjDY40ct4Gf8RNVji29zSmJNrgTmunCsVchvZQ1Z7tGStS2vYx113oD6V2DSF2F YBXsm8mnwZewOgbSOU1hqbQiV2u52zqwIiW6EYdHl10B9+xcOivgE7luOOoYDx/hLD/Q HVB8vpbGMNQ0qyq/Pef7TcdqkeSIOKTWckH5Wlv1MX9X6ClmS849eMCyWTtd9mhlKbuS cGSw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=bviLqu9v; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id d16si7538316pll.236.2019.03.12.02.00.05; Tue, 12 Mar 2019 02:00:06 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=bviLqu9v; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727663AbfCLJAE (ORCPT + 31 others); Tue, 12 Mar 2019 05:00:04 -0400 Received: from mail-wr1-f68.google.com ([209.85.221.68]:41117 "EHLO mail-wr1-f68.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726932AbfCLJAE (ORCPT ); Tue, 12 Mar 2019 05:00:04 -0400 Received: by mail-wr1-f68.google.com with SMTP id p1so1732889wrs.8 for ; Tue, 12 Mar 2019 02:00:02 -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:mime-version :content-transfer-encoding; bh=DpaxuVPFYTGwRL/2DODlpf7LUNdqYBXLDXiz8LeznM8=; b=bviLqu9v7cPllaGCVF2cHXQohTxBX68huyHE6/b/wDXsQG9QsPeCEN2bzwuajeYrJK TjSt0Cnw5JjvgUbDqr196MF6bMJn954pFUgN90Xghtg82E46qi+cu7GYazTcK773JxZh WLNN9VRSqQ5tr+i3jemT2bcNfdeF8BrPZavabiWLqFxrCAd40o5cGGbJjXHi3qpeovgb rYuYC3a/20D3vzBuwaCuUC1j5ljWRmeDjQpNXrpY0MJuWJz87dEDVClbTSDqme+RRERA 5wt2/B4ekRtygowQOIObJv/3Q2T5eQ70JJvELOQikWE3JPI4MQXWUO4zAmSAsr6P6Pvh 1oXQ== 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:mime-version :content-transfer-encoding; bh=DpaxuVPFYTGwRL/2DODlpf7LUNdqYBXLDXiz8LeznM8=; b=tytnROYQX1z/89NBImwZGHgn6dfNk3Q19n0WuFR7Mj3J0FswVAH1OLQiyYwAZsZp6m vbxq9YPE5+a0cbXkdS7SWypJabkOg6ssNCkBDtjrww8qhmN4Ll/yxwdfTnxuNfc0G5fg 6E7qCKqERXWikM20MfaihHrS4qEpmRrHiHNOdkU9wdGzSupgilk+Pm9Pp/II1m48PgOP fePSUeR+3UzOb1w4FBHOszqUv9dvlq0aJmpoJpA/IsFrxRfziSG7ZPRqZJQJAOsfPbV2 JFi2kWUQyyt4ZYMyOJO/HyoV7V5KcztpHpFBtIFk/aJv1lBThYgovWF90lK46eiYD1na hdJQ== X-Gm-Message-State: APjAAAWfvltLPDtzD8QS8/eNULPMGXgej5WZPv+fELF2aKCIlc5zBjhJ bRd8s5RcrX+Mu/oumMnujxpF5A== X-Received: by 2002:a5d:6948:: with SMTP id r8mr261116wrw.255.1552381201892; Tue, 12 Mar 2019 02:00:01 -0700 (PDT) Received: from localhost.localdomain ([84.33.65.66]) by smtp.gmail.com with ESMTPSA id y20sm3953043wmi.34.2019.03.12.02.00.00 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 12 Mar 2019 02:00:01 -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, fra.fra.800@gmail.com, alessio.masola@gmail.com, holger@applied-asynchrony.com, Paolo Valente Subject: [PATCH BUGFIX IMPROVEMENT V3 0/9] lock, bfq: fix bugs, reduce exec time and boost performance Date: Tue, 12 Mar 2019 09:59:26 +0100 Message-Id: <20190312085935.11340-1-paolo.valente@linaro.org> X-Mailer: git-send-email 2.20.1 MIME-Version: 1.0 Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, this is the v3 of the series https://lkml.org/lkml/2019/3/10/138 that fixes some bug affecting performance, reduces execution time a little bit, and boosts throughput and responsiveness. The difference w.r.t. v2 are new fixes to the patch "block, bfq: print SHARED instead of pid for shared queues in logs", after patient checks and suggestions by Holger and Oleksandr. Thanks, Paolo Francesco Pollicino (2): block, bfq: print SHARED instead of pid for shared queues in logs block, bfq: save & resume weight on a queue merge/split Paolo Valente (7): block, bfq: increase idling for weight-raised queues block, bfq: do not idle for lowest-weight queues block, bfq: tune service injection basing on request service times block, bfq: do not merge queues on flash storage with queueing block, bfq: do not tag totally seeky queues as soft rt block, bfq: always protect newly-created queues from existing active queues doc, block, bfq: add information on bfq execution time Documentation/block/bfq-iosched.txt | 29 +- block/bfq-cgroup.c | 3 +- block/bfq-iosched.c | 786 +++++++++++++++++++++++----- block/bfq-iosched.h | 92 ++-- block/bfq-wf2q.c | 2 +- 5 files changed, 729 insertions(+), 183 deletions(-) -- 2.20.1