From patchwork Tue Jun 25 05:12:42 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paolo Valente X-Patchwork-Id: 167669 Delivered-To: patch@linaro.org Received: by 2002:a92:4782:0:0:0:0:0 with SMTP id e2csp5085844ilk; Mon, 24 Jun 2019 22:13:09 -0700 (PDT) X-Google-Smtp-Source: APXvYqzgBc6jdE/BOttn6vzeixGcd5mEcKzX/USh2iM1FMmreyl0GCXnMFH3MaiTPIPsaasvNCPO X-Received: by 2002:a17:90a:ac0e:: with SMTP id o14mr29735217pjq.142.1561439588969; Mon, 24 Jun 2019 22:13:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561439588; cv=none; d=google.com; s=arc-20160816; b=R+5Kizobo9a05HGXlR3hi8QtU/6UjbYajRveBCCGmXWWjhCNRQnwrPPo0rJ1/V+e1Y ubY0Exqxd1Gm2Hz20EQgMaeDLD9mPdHzW74QToHSwGyncRy5kuUMEJNhF1YHtR9WlIVi EAQtzoxW2316ZFk4E4J8I8ue1i4Q0pm0BA4ufKK+thTINTjoBPUmoCstEvStt8mJRR3I RktrcH/qkd9sg/LZuzlNPqw98bUyP0EMoUeXC6BTaWPQfkGOCyfgnqc8FK47ctE5g6S5 3C/tU1S4hlMf6e85pr4lkqEe8rPfHTxHB+a7eCY258myM0gfeMI93l+YPZiASOI83lmL Wvsw== 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=6gLoDta3dvks3JMjP4ttL9HRhFOLozt40bGbv9xuKK0=; b=mzkVlbnuhPcEgHWWsrZKFlJpeADWlMQcM3f98ahkKZ1NW4Uw2X/3w9/Lrtxgh4RuQ1 Gu5JS/kHFLC0juLlhs64y4zc5ykj6ChFVfbJy9ML8g5bZHYaMqCZUtz3C0Ma30DXkXlN YuJB/4VLRk+/JT8u5scD4LBa5eMTMpSc3cFsb+vEenKSlH4Kc8VMdCJzUDpy1te36iOP RSnD8e50uCAi6XIW7l25RuU2PJrlVu5YeBcfo4sxwO2EHvXzw2675nMugjDxrBoKgxQd SkfQi8h96cD8XPxrZTWlfyT8VKiZTVNlISNOA6AFzMjSIIukrRkVB2QVKsATC+Grz6W4 He2g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=HM0YzezU; 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 x9si12402219plo.98.2019.06.24.22.13.08; Mon, 24 Jun 2019 22:13:08 -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=HM0YzezU; 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 S1727839AbfFYFNG (ORCPT + 30 others); Tue, 25 Jun 2019 01:13:06 -0400 Received: from mail-wr1-f67.google.com ([209.85.221.67]:44297 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727358AbfFYFNG (ORCPT ); Tue, 25 Jun 2019 01:13:06 -0400 Received: by mail-wr1-f67.google.com with SMTP id r16so16192063wrl.11 for ; Mon, 24 Jun 2019 22:13:04 -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=6gLoDta3dvks3JMjP4ttL9HRhFOLozt40bGbv9xuKK0=; b=HM0YzezUeNwli6ksWOIkCS+8IZfqUikKPl7NJo/yxSA6QsEXEdB5LEBRsqnmnbeIx0 zDldjruUq0Yppg7OgL+00H0lzxbdubSLldJflP8ydhzO8klqDQRmH7hoDt6IGrzrEU40 114y3hr4fPYkuMSuDsMhS0rXTTiiYQyyHOFI47OTDMKwWNkDqjl7CvkdsYL/qNqYxKad LAqXwG+W2r6VbaG7RIhvxFKaHxO9agS2yiOgH0PNWO7wX/ZPWhpMrAj/MW/UdHFy6LKD lwMBPoye6qwgCmNjYwF951JaxoROBH1R9ASIckX3hKtOb+T9BKBtXCE/OUSs8uLn5sKX tW1A== 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=6gLoDta3dvks3JMjP4ttL9HRhFOLozt40bGbv9xuKK0=; b=fCFvPEheMwutpohQK0/+c9EXOG8lmcgqGbGpdvDa8SPj8wpYe6J0/vq+3FHGavbdNU P0/dA22eN4WBggaUGa2PHkTwFq/n0TBQYDr3McaCK/s5p4Ua3g9274VCSlNKFe4NesmR RQ7+E7cmynbSH1qmo6gLym77umgZ/V6Y5I+j39k2p3OqWdEwcrR0W1rOUPOaAHNgBjpv AhwxB3rww86MJLOSLAQ1uMEUgWEMVP9O6qO9RHVh5OgRHyGcHLxiMaa6JOd+w+wVf6Rq QX9GkJg3dv4Ge1Jo1QS77rPV80o+E/zZZY7N15oh3WeuVMvxddLnOsrfDnKEXo7K/nyY 063g== X-Gm-Message-State: APjAAAUH84PcXs3XWzkbKTuPJGB/jAd2L+a/GTVqMUY3lTUIW0DL3azm 94NxZldHX3kv9IV9i8UULrkw2Q== X-Received: by 2002:adf:fc52:: with SMTP id e18mr49271096wrs.14.1561439584126; Mon, 24 Jun 2019 22:13:04 -0700 (PDT) Received: from localhost.localdomain (146-241-102-168.dyn.eolo.it. [146.241.102.168]) by smtp.gmail.com with ESMTPSA id q20sm28543149wra.36.2019.06.24.22.13.03 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 24 Jun 2019 22:13:03 -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, bfq-iosched@googlegroups.com, oleksandr@natalenko.name, bottura.nicola95@gmail.com, srivatsa@csail.mit.edu, Paolo Valente Subject: [PATCH BUGFIX IMPROVEMENT V2 0/7] boost throughput with synced I/O, reduce latency and fix a bandwidth bug Date: Tue, 25 Jun 2019 07:12:42 +0200 Message-Id: <20190625051249.39265-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 [SAME AS V1, APART FROM SRIVATSA ADDED AS REPORTER] Hi Jens, this series, based against for-5.3/block, contains: 1) The improvements to recover the throughput loss reported by Srivatsa [1] (first five patches) 2) A preemption improvement to reduce I/O latency 3) A fix of a subtle bug causing loss of control over I/O bandwidths Thanks, Paolo [1] https://lkml.org/lkml/2019/5/17/755 Paolo Valente (7): block, bfq: reset inject limit when think-time state changes block, bfq: fix rq_in_driver check in bfq_update_inject_limit block, bfq: update base request service times when possible block, bfq: bring forward seek&think time update block, bfq: detect wakers and unconditionally inject their I/O block, bfq: preempt lower-weight or lower-priority queues block, bfq: re-schedule empty queues if they deserve I/O plugging block/bfq-iosched.c | 952 ++++++++++++++++++++++++++++++-------------- block/bfq-iosched.h | 25 +- 2 files changed, 686 insertions(+), 291 deletions(-) -- 2.20.1