From patchwork Mon Jun 24 19:40:35 2019 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Paolo Valente X-Patchwork-Id: 167635 Delivered-To: patch@linaro.org Received: by 2002:a92:4782:0:0:0:0:0 with SMTP id e2csp4615039ilk; Mon, 24 Jun 2019 12:41:09 -0700 (PDT) X-Google-Smtp-Source: APXvYqz5kc+CW9DWNtuo4Asc6s5y44Lf6JCYHc6rO5oLRwcIGYj7RM72S+1vvu473Fp7c9Knsq4U X-Received: by 2002:a63:292:: with SMTP id 140mr33568315pgc.88.1561405269523; Mon, 24 Jun 2019 12:41:09 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1561405269; cv=none; d=google.com; s=arc-20160816; b=Dv21J294OJ4zYszmyWamzNbJSh2rt/JE0w4okhBjfXKSCbxS/N+Zq5oLxuTXtmjAKg /3AIJsULg6QABTFuuggozfZhZgT36Tx3s6rUziIhleUuqEwMbt/cbmTf+mLVfSCM+Ip7 8TRk0+m6Vv8jNf0mUoxfipQr4Mgtf+ttk+tkBudFaJyWronowS0dUvwupUyHdV5HaG04 VM/NyBpU36XKE/uMxRVNUfb9ejI3/gzmjVw8+NqcUVI2XTx2abZ79pNvHeeCYO3Qv4hp +fpySeiFPTwpta84wxxN0iHe4xd+Z1jdv3FdHgZJcQsDJIPiv8vCaM7wIHGldBpUCZyB yaWQ== 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=J6McyXpHhvJ62Wx5SvCqGaB8/OSzRVB/5VC6vTy2TqQ=; b=l34IcNPjSUBDyVl2OqEU2dJ8UwnESA7Rpyzl7yrpp9e/70bPex1axNMtizv3sWqBGQ CwnqyKljVwE720wzUsVg1sE5Ugg22tSsR+fchwG0Nyxyc1b6s1u6Uq80qBioXSsE4ufd v82wVn80z+FShu4DXDpvMolMV328m8int8hK26rNX6XFMZfCvheMZhcosffMVjKffA+E CZHZXkhZAVGJEUn0QLzT86WKYjbdIPpbQwBsljAyOQxe3Ab2Wgai1SzM17L81yR/VdxP xvXuusXP6MkMnBNSQIvlkyTe/YBjzArbiHCXzEEXxYrZRx09AJQ5LhmhIHLLMLByviYA EwQg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=M48+BroH; 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 w21si12071187pff.263.2019.06.24.12.41.09; Mon, 24 Jun 2019 12:41:09 -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=M48+BroH; 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 S1730354AbfFXTlH (ORCPT + 30 others); Mon, 24 Jun 2019 15:41:07 -0400 Received: from mail-wr1-f67.google.com ([209.85.221.67]:40336 "EHLO mail-wr1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726414AbfFXTlH (ORCPT ); Mon, 24 Jun 2019 15:41:07 -0400 Received: by mail-wr1-f67.google.com with SMTP id p11so15157182wre.7 for ; Mon, 24 Jun 2019 12:41:06 -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=J6McyXpHhvJ62Wx5SvCqGaB8/OSzRVB/5VC6vTy2TqQ=; b=M48+BroHFQYMi06n4mupqxhg0lJK+JUAVqf5zHxFG54TrAZYIrIWtQUPbfLJhowVfY nha7AD8YdXoLitLaAIuvmXGtIlr0gJfEkS8Ir4FSHGlf6R191KkvGz+ie7RevmS0hbyH tOIz9XGsYXVfkUZxFaUZQaMcXIKXc3VdKe/8I09ftsegvoJ6IONcP55/knMzWpu5v9+V Wi3TELxFuVq+OGYDSZ1Az+t/uyW1KrJZvtZlrVf8zaporbdn9tEexXV4RvLls+RjZWls lh6ZfGKNdpHun6Ky9xnYfIbip8UwcW4DPTnmTk7Txy+AeSEwTYHjDkawFzMMt8SqFQKV P/Pw== 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=J6McyXpHhvJ62Wx5SvCqGaB8/OSzRVB/5VC6vTy2TqQ=; b=Pn9UJOINdIKEpZ2e3QhV7WyPHrXjhaurI7ehlxz3VFlU0rpuXQ8PqlO3ZlpBGS25Se Uub9hg+Bam7+gtD40J+X9g6EKsWSmMOEktTqv2PlDUuH3f1dv2m/wflz52JTbuOrW6/8 62WKlT3cq7TozcjLxMFxKpNHn1CuZH35PJnGshG/bZwLNnLGT+yjXWBxbYQ+MyM07yVM 7wn9vRPyyqm04lwJLT891OI888MxBMGqb4R5SKpA7WwpvBQHv5oh/A47jCOHUFcvEybw OJTeLz/R2UeKZt2Osjj5herxLRDDtCTxh0i/G+ks/bR8cAqZBkRBDeWA16J15W3MYu9U Narw== X-Gm-Message-State: APjAAAW8y/eb/+SMfWO6ixap1wMvwrrkarslOzCY3LnPzgjgWjH72fVF fKXhTGLxV9FLNXgmoyCGhTWhng== X-Received: by 2002:adf:dfc4:: with SMTP id q4mr37375067wrn.54.1561405265273; Mon, 24 Jun 2019 12:41:05 -0700 (PDT) Received: from localhost.localdomain (146-241-101-27.dyn.eolo.it. [146.241.101.27]) by smtp.gmail.com with ESMTPSA id q25sm17615395wrc.68.2019.06.24.12.41.04 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 24 Jun 2019 12:41:04 -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 0/7] boost throughput with synced I/O, reduce latency and fix a bandwidth bug Date: Mon, 24 Jun 2019 21:40:35 +0200 Message-Id: <20190624194042.38747-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 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 Reported-by: Srivatsa S. Bhat (VMware) Tested-by: Srivatsa S. Bhat (VMware)