Received: by 2002:ad5:474a:0:0:0:0:0 with SMTP id i10csp1099989imu; Tue, 20 Nov 2018 11:41:11 -0800 (PST) X-Google-Smtp-Source: AJdET5cLGS4lEAvyVnc/Mx5OhQyfpfu4c+OEOJ1+BPmuBcGoDVaslp0zgro2CkzDhlgnpglmwsPs X-Received: by 2002:aa7:80ce:: with SMTP id a14-v6mr3500895pfn.86.1542742871603; Tue, 20 Nov 2018 11:41:11 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1542742871; cv=none; d=google.com; s=arc-20160816; b=QDaSZGsqalS3ANJ4Xiy/d6kkchhek2mIV4cKUNMx1W5IVwMQ8TGEGOvfWz8JeFer5v bfpj8ctux+Wsa489b7Ax8K+2BNWSRlyGGLCpqemvmcjzPa8nNwgeZw7L3B75cGa9T9i5 A9eZGFuXOD5PDeAfqjIvIaaOHwfjMix11duc556zIXAgttQOG5SGi5i9Os6qdq2IlZu6 8GCcPgTiEe4vg0+WYo+DpgYgbbwjBc8QPBoVwjZXHP4HUhY5Rv9KNxcZMkdIuvEmOZ0r rGnXms7HWRr71oScqmIFrcSdQPYelHmgufLf9PywigDoCVAq+6CLpIfmDnaQClRu1Tl+ Ulng== 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; bh=+Wf6CDJUPs+eWjtmr8Hr9KG3FFVm+nlkqZS2f8RgM/w=; b=Yazh8pAPE4mT4/b5yLmjO6/cp59W+YTsJF9bv+rZrzeVE5A+lPsUdhgWHzYVVTcEAP ffD5Md1l84MitK2Vucm/IsP0Jmgp+VZeEmuugp+01DBlw8rZARkJlNovYWyuMSEAWg2R c4uqoDdlBJDOFcvCok7cluC7KsDtscYrxr9nSTJ9rDyVG3bUryhp6Y16xSDJEIjbVP+O pCQA21bt0wlSLVHuqAupL0zhNR/Vv/oDfC07pGot0Ck4QtW+o0u/YHmvnaNbBd6QZyan BN/ZvVuGUJVC7N+SponS/1VNP/uPuw2F15ddh8qnBpC7Y19uWIvZ/zMtvDHtDOYkta+T Y1/A== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=bR53PuEk; 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 r23si47013891pgu.359.2018.11.20.11.40.53; Tue, 20 Nov 2018 11:41:11 -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=bR53PuEk; 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 S1730253AbeKUDU0 (ORCPT + 99 others); Tue, 20 Nov 2018 22:20:26 -0500 Received: from mail-wm1-f67.google.com ([209.85.128.67]:54884 "EHLO mail-wm1-f67.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729353AbeKUDUZ (ORCPT ); Tue, 20 Nov 2018 22:20:25 -0500 Received: by mail-wm1-f67.google.com with SMTP id r63-v6so2800169wma.4 for ; Tue, 20 Nov 2018 08:50:20 -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=+Wf6CDJUPs+eWjtmr8Hr9KG3FFVm+nlkqZS2f8RgM/w=; b=bR53PuEkjfKVO5TfuQ57wxNpCGss5PElS42NlnIjUGGw8biMobE8VfD8A7yOhyg7TC evXEdHcDLEQS1PR8hyjN3k1q1TpLWTTPVIMHma0fR4A9eq/FXWqA9rrXZQ6+52BApAWS dXn5fVB13ahQLsouU+4AlZzMipjOTQmhOgXT0= 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=+Wf6CDJUPs+eWjtmr8Hr9KG3FFVm+nlkqZS2f8RgM/w=; b=XCi1fe4x3AAr1lgBPGdk2tL5nSpIPb10ZHE5EpeBBK2H8C5+/Y7aGLWij/RY05tqN1 inMr9Bc+ShL/g1uW9cBfXlMwmGfXUYuCMKR7M0I0y83OLLaHSUUwU3jfXRX1+bhFF+Bb 0WQfalytU63W4h5hcWChYtWZveVQUoVWhN0H+rKIzHp1xvM0PTMGYFQFNEfWw3DgbCA3 bFLjOlJgGhx0RHym7N2kpF+VP1mV0pAQj5FqdA6Q9ZaRQ9nuSZ8elNnpvgL7SW59JaUn ekM4CJ+iBxLG/fwmpn332jxXYztcw1/VyoZFN80kE1PFUrz7DqrG42kstJMusVXTvbFI Qhvw== X-Gm-Message-State: AGRZ1gJCgDVt1DGAiddgsQMMWj9Bp0UOH2su0FarDMTtslb24MzwLxQY JRIPzTgpb7KxaK8kJbNUiaR+mA== X-Received: by 2002:a1c:bc82:: with SMTP id m124-v6mr2719620wmf.47.1542732619004; Tue, 20 Nov 2018 08:50:19 -0800 (PST) Received: from [192.168.43.112] ([37.162.66.240]) by smtp.gmail.com with ESMTPSA id x6-v6sm13626648wrs.50.2018.11.20.08.50.16 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Tue, 20 Nov 2018 08:50:18 -0800 (PST) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 12.0 \(3445.100.39\)) Subject: Re: [PATCH V2 00/10] unify the interface of the proportional-share policy in blkio/io From: Paolo Valente In-Reply-To: <20181120162816.GV2509588@devbig004.ftw2.facebook.com> Date: Tue, 20 Nov 2018 17:50:14 +0100 Cc: Jens Axboe , Greg Kroah-Hartman , Li Zefan , Angelo Ruocco , Dennis Zhou , Josef Bacik , Liu Bo , Bart Van Assche , Johannes Weiner , 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, cgroups@vger.kernel.org, linux-doc@vger.kernel.org, Jonathan Corbet Content-Transfer-Encoding: quoted-printable Message-Id: <25296DAE-73EC-46CC-9A98-A8B7E9017BB7@linaro.org> References: <20181119103424.3853-1-paolo.valente@linaro.org> <20181120162816.GV2509588@devbig004.ftw2.facebook.com> To: Tejun Heo X-Mailer: Apple Mail (2.3445.100.39) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > Il giorno 20 nov 2018, alle ore 17:28, Tejun Heo ha = scritto: >=20 > Hello, Paolo. >=20 > On Mon, Nov 19, 2018 at 11:34:14AM +0100, Paolo Valente wrote: >> - if all entities produce the same output, the this common output is >> shown only once; >> - if the outputs differ, then every per-entity output is shown, >> followed by the name of the entity that produced that output. >=20 > So, this doesn't make sense to me. One set of numbers is meaningful, > the other not and the user doesn't have a way to tell which one is. > It makes no sense to present both numbers. >=20 I do agree that these numbers may confuse. Before discussing how to do this better, let me tell you why we are showing them. In the first place, the need for a diversified output showed up in the following case. Given a group using the blkio/io controller, and two drives - one with legacy block and cfq - one with blk-mq and bfq there will be different statistics for each scheduler, for the same interface files. Then we understood that exactly the same happens with throttling, in case the latter is activated on different devices w.r.t. bfq. In addition, the same may happen, in the near future, with the bandwidth controller Josef is working on. If the controller can be configured per device, as with throttling, then statistics may differ, for the same interface files, between bfq, throttling and that controller. More general examples could be made considering that this extension is for the generic cgroup interface. Of course, suggestions for a clearer way to show these numbers are more than welcome! Maybe involved device identifiers can be somehow gathered by the entities providing these numbers, and then shown? In this respect, consider that, even without this extension, one still has the fundamental problem of not knowing to which devices numbers apply (unless I'm missing something else). Thanks, Paolo > Thanks. >=20 > --=20 > tejun