Received: by 10.223.148.5 with SMTP id 5csp7086441wrq; Thu, 18 Jan 2018 00:26:59 -0800 (PST) X-Google-Smtp-Source: ACJfBovjYNWanBpbOp+QEFJLbMzHmhcj05yOx4SycYnnv9SqrWzs6kyfNENmS9pABb7Yiz7WrPD7 X-Received: by 10.99.111.10 with SMTP id k10mr30210214pgc.421.1516264019793; Thu, 18 Jan 2018 00:26:59 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1516264019; cv=none; d=google.com; s=arc-20160816; b=rTmHN3xS/qPLWyAzaVfhpo3llmWf+fPCLBBJQhp4J8RkDHIsXnJFgcCd2LHR9OTIa5 zDENPXuPmizSE9MnJ/eX/l3ANOe7ffABlXgEdfXpCYdy7sDLqshThHNvO+hIDXWWjLhg ePVPWCfLoK2v4nu/2NpRIk6fGPwxtYv2xrdPd5TKzcFRdLPr4TZFlX9C6wM6jpZDcelt rO8PbB0bwfzjePyF3jQ2Zb9KbdXNBVxTL4H5uBcIT47pE2VU8GVpOpPYmE1+JfMOuA2a Z86rYNJ8S9EVoE32ca/x5i8Akq7ojWAkK3pKfw10gZj9pmrZ/tjjMed8pnr19e7MGUIN /foQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:to:references:message-id :content-transfer-encoding:cc:date:in-reply-to:from:subject :mime-version:dkim-signature:arc-authentication-results; bh=zs5oidreeYt9HUTcL8c1XO+W6h/xKevGTqVbYScO6oI=; b=jc3A/1nQolmvl2K5YWm6mExcDuvpqiyi8c7UkNBKD0tKOs3Lex6KjfIZaujw8ZO0Vy Sg2zGwUoq6ukxnfXfj7T5bNXMKh+YqhaGnyUmQJ+EFsMsSYBDO6HTw/ioA9V3NIdaAyC RSWYMoWV6Ic/r9w63ClAa5hFLEG0Sgf/9gRNrxsdR7JQr9pPICRFKnZ+GLKXbSCfFEfu EvL9n8Tgd8ip1GqYifghSah3LeRE2jmrDiMEgn2YIFQJ/9lHAZGxWCF6BTmwHJomxHG8 wWuEAHmm75I88dGvFWmP26CeFOK0id15XdskxOFjQHOVn6qN0R3BKhMYN19NkCMKVjWs YWwA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=YwE03r8u; 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 s3si6000895plp.433.2018.01.18.00.26.44; Thu, 18 Jan 2018 00:26:59 -0800 (PST) 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=YwE03r8u; 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 S1754709AbeARIZs (ORCPT + 99 others); Thu, 18 Jan 2018 03:25:48 -0500 Received: from mail-wm0-f67.google.com ([74.125.82.67]:35936 "EHLO mail-wm0-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750972AbeARIZr (ORCPT ); Thu, 18 Jan 2018 03:25:47 -0500 Received: by mail-wm0-f67.google.com with SMTP id f3so21006949wmc.1 for ; Thu, 18 Jan 2018 00:25:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=zs5oidreeYt9HUTcL8c1XO+W6h/xKevGTqVbYScO6oI=; b=YwE03r8ufAFI0ZmEaldRrg1GLzxfPc/6vrT/DPWkssNkm1V30DtVMi2bOjSb+mSbQw XTuQXf7K4tJ0hIzmG+HaYscnwdO1sxl8OOl2oD8Dm2YC//g/NtERjlrMHQHUpv1M5DFO nrA+iNwj7r2GCWAXwS79em6Xs2X6rZujMp+FY= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:subject:from:in-reply-to:date:cc :content-transfer-encoding:message-id:references:to; bh=zs5oidreeYt9HUTcL8c1XO+W6h/xKevGTqVbYScO6oI=; b=E3GEW4pSx5+pY9IY8JIxVn6yqOkheFYo83f+Y537j8xcRIwmG/+gIfRV1n/V5aZePi IO+A/aZkq/dy0J1Fs8RQwDNj86p3MVwRExk5sp/5wzEon4LK7S3j7C291AWAOT1FhbTv u0D1aIM6bBu5cclEB+guXnqZKmg3tQrWl5/kZv2JV6KVhuEVYw8xRv6mVAjXxpC2QcB8 4o4JagJ5aeUXX/5gEAjY5NofUyZuWI2UkCD/tth9pvt8gnhA9chmODaoQHbZuA4G0gyY ynwA+0pb04P4/NfmU3kH/9UkOEihrvVBmrN4klh/mkuoOBoJV0ECBNZbXGoaROlNwxtK D4qw== X-Gm-Message-State: AKwxytedPE2iIDrHyoZmO1WLjCAjxPa2msgvgdM3QAkIPAUs/fZHpyL0 5kIT+a5OA0kgd3jx7XBak/m5Cg== X-Received: by 10.80.179.146 with SMTP id s18mr6863595edd.190.1516263945920; Thu, 18 Jan 2018 00:25:45 -0800 (PST) Received: from [192.168.0.101] (146-241-49-12.dyn.eolo.it. [146.241.49.12]) by smtp.gmail.com with ESMTPSA id p6sm3643993edh.68.2018.01.18.00.25.44 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 18 Jan 2018 00:25:45 -0800 (PST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 11.2 \(3445.5.20\)) Subject: Re: [PATCH BUGFIX/IMPROVEMENT 0/2] block, bfq: two pending patches From: Paolo Valente In-Reply-To: <20180113110518.2519-1-paolo.valente@linaro.org> Date: Thu, 18 Jan 2018 09:25:43 +0100 Cc: linux-block , linux-kernel@vger.kernel.org, ulf.hansson@linaro.org, broonie@kernel.org, linus.walleij@linaro.org, bfq-iosched@googlegroups.com, oleksandr@natalenko.name Content-Transfer-Encoding: quoted-printable Message-Id: <8EB4BACE-3D6D-4EB7-844E-45092AC7644B@linaro.org> References: <20180113110518.2519-1-paolo.valente@linaro.org> To: Jens Axboe X-Mailer: Apple Mail (2.3445.5.20) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > Il giorno 13 gen 2018, alle ore 12:05, Paolo Valente = ha scritto: >=20 > Hi Jens, > here are again the two pending patches you asked me to resend [1]. One > of them, fixing read-starvation problems, was accompanied by a cover > letter. I'm pasting the content of that cover letter below. >=20 > The patch addresses (serious) starvation problems caused by > request-tag exhaustion, as explained in more detail in the commit > message. I started from the solution in the function > kyber_limit_depth, but then I had to define more articulate limits, to > counter starvation also in cases not covered in kyber_limit_depth. > If this solution proves to be effective, I'm willing to port it > somehow to the other schedulers. >=20 Hi Jens, have had to time to check these patches? Sorry for pushing, but I guess 4.16 is getting closer, and these patches are performance critical; especially the first, which solves a starvation problem. Thanks, Paolo > Thanks, > Paolo >=20 > [1] https://www.spinics.net/lists/linux-block/msg21586.html >=20 > Paolo Valente (2): > block, bfq: limit tags for writes and async I/O > block, bfq: limit sectors served with interactive weight raising >=20 > block/bfq-iosched.c | 158 = +++++++++++++++++++++++++++++++++++++++++++++++++--- > block/bfq-iosched.h | 17 ++++++ > block/bfq-wf2q.c | 3 + > 3 files changed, 169 insertions(+), 9 deletions(-) >=20 > -- > 2.15.1