Received: by 2002:a25:8b12:0:0:0:0:0 with SMTP id i18csp774088ybl; Thu, 22 Aug 2019 04:49:02 -0700 (PDT) X-Google-Smtp-Source: APXvYqwUQ4wgnrLw7kgoAmr+j4waYA++jL8UMGoC4Y00BpzNRv1NZe0dXVTElQb2hDalI0x/5Uu7 X-Received: by 2002:a17:902:1e3:: with SMTP id b90mr38742587plb.82.1566474541976; Thu, 22 Aug 2019 04:49:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1566474541; cv=none; d=google.com; s=arc-20160816; b=KiV4OXct0TmjTa5vop2lkqCph8de22bJNnn3AtWfaqyDavU6B/gjSm4lUTPwA3T4p/ OdeQT+7aaCU8WRABo/N3GB2DfptlsLNTq9VDAmR/WK/tdlGYCHI24G0GM9Vqn+xwo7nR JnxUqaj1VgoXhXB2TDNsrpXlRLqZJgLhmYF3qNgKUD2NLpy4Z6ipb+1k4tyo7RVnx6E/ +wPTNmfa9MmzpJ1uSZ756snRSIhQFTExMtWIkrvhzeo0lNSqq8/9OatY5Jo9Wyr3f4s3 FULFrrHozGdS530fjp9jdudoBsBwrLFVZVz8LR/bxyjNK4A43OyQXJgKKYvPJWN0gdhv 8N5Q== 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=HwcMDsi2XQejCpwJcqSON0QYDIy6of9C4lFX3vq5Vd8=; b=g4IwDP+GtEVS+7Yl9RPDhkDXWwyd2H2rOPWPA6mVsrrecFJ8x1+aCJoUXHXjHxPSxJ 6Qn0kivVeLiXelfRxzeVRivHYIzJ4zuSbN/e3kyMX7Wq2p6H2fjfOtb+Il3P2A4s7AOJ WjMP1tVPYnOBgzDwrzrHm/0r6RxbeLFDRPEUFUqcpx3vbMd5w6AMgbKjWSjHlGfZazQ1 S1PD+q2RFcdlGzBrHW3BUtQwdcDPt3ALDM9C4o2KW2xOkTAR31epBXk8RNaaHtIVG+OK iCJxImDXp13dvPpJtuwDlxHw/ahZ+7UKSDUv7fXApJw5HSpG3CULQD0SYjjstzQ8jhWN K/gQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=rws6jNKs; 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 73si16544314pgg.72.2019.08.22.04.48.46; Thu, 22 Aug 2019 04:49:01 -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=rws6jNKs; 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 S1732836AbfHVI61 (ORCPT + 99 others); Thu, 22 Aug 2019 04:58:27 -0400 Received: from mail-wm1-f46.google.com ([209.85.128.46]:39558 "EHLO mail-wm1-f46.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731987AbfHVI61 (ORCPT ); Thu, 22 Aug 2019 04:58:27 -0400 Received: by mail-wm1-f46.google.com with SMTP id i63so4911341wmg.4 for ; Thu, 22 Aug 2019 01:58:25 -0700 (PDT) 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=HwcMDsi2XQejCpwJcqSON0QYDIy6of9C4lFX3vq5Vd8=; b=rws6jNKsi1M8Rkg+o1TcSh47k+MBIMlZ2PG9GVoXpHOHN3MDWajZ42qf2bwZzNxViW DAkPKntHOYRZpDPuvQBKP7zUv/xa/jRR6w1y4bYMxRKUh79SEfgnY5pr5iHYPMjsgAXC tHtspKL5+LLP11iVlGZn7uqXQIsYg61EWdpwaohwUKU3vfXKzvl5DkkrMzXQtl+wnfPB JStOH5mMiyjBhPn0AYgSLb0WOsyjKgkMJnEmj3SR0AeYOSficjQrUV73JMO1ziA+o0Jb fVTYxfpb0LpU0FytZ+oQndnyNIff/g8nsrg8CJDfgs0FuxT66v2GorScxqX5dSepeJNF /zXQ== 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=HwcMDsi2XQejCpwJcqSON0QYDIy6of9C4lFX3vq5Vd8=; b=NiL+mq2G4bdAwKeC4Q70QkvwT/MnywRGKIgJ0WRl+0uDQhAygML5GNducBWNhDt9YQ x0WhN0ChQSDun+LcSoUkKrEFCbMrkpCqo2wjgoogtkLb5WYxFWL27hkdiZ5q50NjRY/7 rg4hLd03SHDRQWEcQ8guuJ9w/N47v/4NuODPBdDqKvI7NmWSbu+RSFLajsuJ4Tv1lwtR bYj/Gf3IchhVZbJ4rQ3M5n+zaBw0k/C+5d1QF7u68pHBnR4yB6H0Vw/Qj5374U+EekJS oLQSq7ZHxty3SSI/F0kVwYtj7dWxInbvrCzEkz+WD48Z/9iBOracahXY7hI/6NWeu3Dw JZ+Q== X-Gm-Message-State: APjAAAXEoj8oY79KwzzkkHV5/CcGiTbJpSVW71C4nlDBIQEEbRYuTbqo F/6cmYGXWMiCtFSFKLpyI7TTbQ== X-Received: by 2002:a1c:cc09:: with SMTP id h9mr4860686wmb.32.1566464305103; Thu, 22 Aug 2019 01:58:25 -0700 (PDT) Received: from [192.168.0.100] (146-241-115-105.dyn.eolo.it. [146.241.115.105]) by smtp.gmail.com with ESMTPSA id t198sm6286486wmt.39.2019.08.22.01.58.23 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 22 Aug 2019 01:58:24 -0700 (PDT) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 12.4 \(3445.104.8\)) Subject: Re: [PATCHSET block/for-next] IO cost model based work-conserving porportional controller From: Paolo Valente In-Reply-To: <20190820151903.GH2263813@devbig004.ftw2.facebook.com> Date: Thu, 22 Aug 2019 10:58:22 +0200 Cc: Jens Axboe , newella@fb.com, clm@fb.com, Josef Bacik , dennisz@fb.com, Li Zefan , Johannes Weiner , linux-kernel , linux-block , kernel-team@fb.com, cgroups@vger.kernel.org, ast@kernel.org, daniel@iogearbox.net, kafai@fb.com, songliubraving@fb.com, yhs@fb.com, bpf@vger.kernel.org Content-Transfer-Encoding: quoted-printable Message-Id: <9EB760CE-0028-4766-AE9D-6E90028D8579@linaro.org> References: <20190614015620.1587672-1-tj@kernel.org> <20190614175642.GA657710@devbig004.ftw2.facebook.com> <5A63F937-F7B5-4D09-9DB4-C73D6F571D50@linaro.org> <20190820151903.GH2263813@devbig004.ftw2.facebook.com> To: Tejun Heo X-Mailer: Apple Mail (2.3445.104.8) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org > Il giorno 20 ago 2019, alle ore 17:19, Tejun Heo ha = scritto: >=20 > Hello, Paolo. >=20 > On Tue, Aug 20, 2019 at 05:04:25PM +0200, Paolo Valente wrote: >> and makes one fio instance generate I/O for each group. The = bandwidth >> reported above is that reported by the fio instance emulating the >> target client. >>=20 >> Am I missing something? >=20 > If you didn't configure QoS targets, the controller is using device > qdepth saturation as the sole guidance in determining whether the > device needs throttling. Please try configuring the target latencies. > The bandwidth you see for single stream of rand ios should have direct > correlation with how the latency targets are configured. The head > letter for the patchset has some examples. >=20 Ok, I tried with the parameters reported for a SATA SSD: rpct=3D95.00 rlat=3D10000 wpct=3D95.00 wlat=3D20000 min=3D50.00 = max=3D400.00 and with a simpler configuration [1]: one target doing random reads and only four interferers doing sequential reads, with all the processes (groups) having the same weight. But there seemed to be little or no control on I/O, because the target got only 1.84 MB/s, against 1.15 MB/s without any control. So I tried with rlat=3D1000 and rlat=3D100. Control did improve, with same results for both values of rlat. The problem is that these results still seem rather bad, both in terms of throughput guaranteed to the target and in terms of total throughput. Here are results compared with BFQ (throughputs measured in MB/s): io.weight BFQ target's throughput 3.415 6.224 =20 total throughput 159.14 321.375 Am I doing something else wrong? Thanks, Paolo [1] sudo ./bandwidth-latency.sh -t randread -s none -b weight -n 4 > Thanks. >=20 > --=20 > tejun