Received: by 2002:a25:31c3:0:0:0:0:0 with SMTP id x186csp727388ybx; Fri, 1 Nov 2019 10:15:43 -0700 (PDT) X-Google-Smtp-Source: APXvYqx+ctB9bBucCO4G6UVnzd8P7H/P/0PZ9FDPdE4qD+es+yslHssaVWIleFtub4NCbeEfsCiB X-Received: by 2002:a17:906:76c9:: with SMTP id q9mr10884275ejn.53.1572628543319; Fri, 01 Nov 2019 10:15:43 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1572628543; cv=none; d=google.com; s=arc-20160816; b=Q0Aj20+6IIwGeSRys83kE2fqCkgMMDLVcN0cAbQBZhm8BSsygURAWrKhwMmKUc82hA huUqD/u51sumqT9f1XXfDEofxBmxt0fIlFcZuLH8LQ/7/dXby/XhKJdF22N9/Z02EQke UBY/YBWBrwK9jyJ86ge4xSdjjSBugcZRHlcz0TRRfJEA3A6zgMK01lclgony29dkH0mq 0ydrBr9EBoA+QQLhh9I2SDqW2g8Tcju/s8/fQiuSLmvuXQT4nAmSkmC0lyLCInXbqib0 fsY55E1VdkhqOmtK0iPnznryFYxNaR729zGdXT4/r8UjMu2ZtQcXycv+MSpZIyEa2+g5 r7Rg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date; bh=c/ArH3WzU8uZWY6TZ6MZs3J+cC0LreKJa7QGT0XK/70=; b=WUscUc9gBbzd/a1ntk+CYd2iC3XbGzwaGW80/zMTJVDLyAFiyxUTWcg3WLb0RQfAc2 bk/OaxmlkCccx19wgorc6893Nu9jZNGqVPr+qorZ9v0y1M233lvamJfOmw7WJoK7zjNR Rtq+6EEkogJwPpmRGPBIh26hNIkqPXh670ggSxa1WWfPx+5MuD0oJZxpE3hdDmEmvU9B gDAoKAa9ffqeZFLbzKaCfWXqeVIc1KWrMS5bEYzZKCPjNIEiuc4D2tLRd/ekNDF3nwJs HhyCRIE94vsPgAic0RDCeqH1/75V+yIxCrsCyq2JJDY+zSfm+AdqW2lSL4/JI3gyyGCl hX+g== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id v13si1072451edb.164.2019.11.01.10.15.20; Fri, 01 Nov 2019 10:15:43 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727811AbfKAQPz (ORCPT + 99 others); Fri, 1 Nov 2019 12:15:55 -0400 Received: from mx2.suse.de ([195.135.220.15]:38324 "EHLO mx1.suse.de" rhost-flags-OK-OK-OK-FAIL) by vger.kernel.org with ESMTP id S1726949AbfKAQPy (ORCPT ); Fri, 1 Nov 2019 12:15:54 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx1.suse.de (Postfix) with ESMTP id 0E53BB533; Fri, 1 Nov 2019 16:15:51 +0000 (UTC) Date: Fri, 1 Nov 2019 17:15:06 +0100 From: Michal =?iso-8859-1?Q?Koutn=FD?= To: Tejun Heo Cc: hannes@cmpxchg.org, clm@fb.com, dennisz@fb.com, Josef Bacik , kernel-team@fb.com, newella@fb.com, lizefan@huawei.com, axboe@kernel.dk, Paolo Valente , Rik van Riel , josef@toxicpanda.com, cgroups@vger.kernel.org, linux-block@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH 08/10] blkcg: implement blk-iocost Message-ID: <20191101161506.GA28212@blackbody.suse.cz> References: <20190828220600.2527417-1-tj@kernel.org> <20190828220600.2527417-9-tj@kernel.org> <20190910125513.GA6399@blackbody.suse.cz> <20190910160855.GS2263813@devbig004.ftw2.facebook.com> <20191003145106.GC6678@blackbody.suse.cz> <20191003164552.GA3247445@devbig004.ftw2.facebook.com> <20191009153629.GA5400@blackbody.suse.cz> <20191014153643.GD18794@devbig004.ftw2.facebook.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="bg08WKrSYDhXBjb5" Content-Disposition: inline In-Reply-To: <20191014153643.GD18794@devbig004.ftw2.facebook.com> User-Agent: Mutt/1.10.1 (2018-07-13) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org --bg08WKrSYDhXBjb5 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Hello (I realize it's likely late for the remark but I'd like to bring it up anyway.) On Mon, Oct 14, 2019 at 08:36:43AM -0700, Tejun Heo wrote: > We likely can talk on the subject > for a really long time probalby because there's no clearly technically > better choice here, so... I agree with you that functionally the two options are equal and also =66rom configuration POV they seem both sensible. I checked where BFQ stores its per-device parameters and its under the sysfs directory of given device's iosched directory. So from the user perspective it'd be more consistent if all similar tunables resided under that location. (OTOH, I admit I'm not that familiar with block layer internals to identify the overlap between IO scheduler and IO controller.) > Yeah, it's kinda unfortunate that it requires this many parameters but > at least my opinion is that that's reflecting the inherent > complexities of the underlying devices and how workloads interact with > them. After I learnt about the existence of BFQ tunables, I'm no longer concerned by the complexity of the parameter space. Thanks for the explanations of QoS purpose. > For QoS parameters, Andy is currently working on a method to determine > the set of parametesr which are at the edge of total work cliff - > ie. the point where tighetning QoS params further starts reducing the > total amount of work the device can do significantly. The QoS description in the Documentation/ describes the interpretation of the individual parameters, however, this purpose and how it works was not clear to be from that. I think the QoS policy would deserve similar description in the Documentation/. > Nothing can issue IOs indefinitely without some of them completing and > the total amount of work a workload can do is conjoined with the > completion latencies. [...] I may reply to this point later. However, if that provably works, I'm likely missing something in my understanding, so that'd be irrelevant. Cheers, Michal --bg08WKrSYDhXBjb5 Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEEEoQaUCWq8F2Id1tNia1+riC5qSgFAl28WgQACgkQia1+riC5 qShQKA/7BT64RM/e1xU73WG0TsdQ1By8FWwkm/pwmasQzFiWE2gbCKdVx7FOdoR7 m1cyKkl1tWef4uJGy788zwruYfliudpgN4juB0qDBMXfX+FIMOcIkbfbsXYf7qSy S3iIUP5p0sidWswOeK/fEwXKDEDzmZGqxqHiRiLYyoXE1gGsf6wH2HCy+S5fOC8K EEiCk3c4EzG2cX6gQa1nuhXIYhGASZXpVGwfyFi9O6cYZmzuEyj26k2YjnZsmWp9 i8uqcOrTOCYV36nP5YJyfKKhfx0UlpGKFk90z9LGagKEhbD2Ht3xgYugJJCrem4C OS7tJWWWaycZ/uli5InGk5X/lGMp514FY1ARNyA0/HavLI5eqTDkvf2b2EP+yoRH bwnPh/YeYyPjMQJ+ONfdV1iC5pGIYsGC20jOQz4QY9QRkjbKwMLLacYHoCSDIRxg BLgwf35pxzXJfxQc8iEdoSz1Ii6yKOZGDN+5C4yUV/1qDSG4j4DvAfY+71oc34is HvZBattBqurPSH8f4DMg9zB6KaU/JAWrg0m/sUxDXSbu3pit7R/L/PVP+Kljhsf5 vmQf6n3e4wcU93S7hCCLPA0CWMQLgn/PIgDBKUIJP6eP6CAV4NKkK7xY/ZjViduI DlKBVs30QYjqG4xx5oZCyzmiA7Q96q3vMtzR6tevrTD6tSyf08g= =0UBH -----END PGP SIGNATURE----- --bg08WKrSYDhXBjb5--