Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp579633ybe; Fri, 6 Sep 2019 04:12:08 -0700 (PDT) X-Google-Smtp-Source: APXvYqyY94etZxQL8nu1fae7eB7rZUgDxyyvrP9DsNIZp047HrtzoqsIpzYxDHRRoKEoW6SVNQpT X-Received: by 2002:a65:458d:: with SMTP id o13mr7375518pgq.34.1567768328160; Fri, 06 Sep 2019 04:12:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567768328; cv=none; d=google.com; s=arc-20160816; b=nzMdETs13XaI5+cNBFe2yIsu2AXl0a0uEcJllAPAymBgYlAMaUZS/j+EEO+ZocRVND IqkdN0iHlkZPbE8yY1nmOzSpdTs1fQiq4p0G/dBCQF5AbLD1r5+ZCKsQk4nE9V0dUnqO 6r8AoP9RnRjny4BMVgGhH8ZEsWEWCt6zMX0l/vkcXOcCc0NNeUIjAArF1uaiAXhBpPeb /slEfJrRsJX9wI4gNmjtZPhsH2mpZjLaUpDrGdPuZNFleel6vZAPqW+V/OAV1l3FQJ4V qui+2sklIPMtPH2/6NStp3+JqmspI3V/2vdhgChH5R1Qc55acv3tDVq7QoOZ5FvTP6o2 dMsA== 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=bRNpTF+jlVTEA0th1ETWAk1qTJWN6Qeu8URjuG4vuw0=; b=0J49VECR6aKmEJeSiowS45qvtvrcBh8yD4AL4cfBxk8nm/wiR2xEHINfAu1rVtE00N Wfa+bGmb77BTIQn3P44As8I36KA9tN3IlWYp8tCKLRZog+x73yN7PAA2s9ah8lOjLQ7w PgONzOHU2rRdl25spKX3J5EMiWKfidoCmz0TMS9wsw0id7VeWIgxflpoyCxjgpa1nV7G xwZLcjGhcdzwOQopmAWOqko1sqUqlx+sA4vf2a5rLR8g57czZ9ND7o4texdMtk6FqHqm En9eoRXhPCTsXoqLx4YBwlwqCKy0Xxp7aYJZiaE2voYQGfv4U2gJCSVC6ZJZSF+Mv62r B05Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b="g2/f8zaL"; 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 j3si5271300pfa.49.2019.09.06.04.11.52; Fri, 06 Sep 2019 04:12:08 -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="g2/f8zaL"; 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 S2392860AbfIFJHW (ORCPT + 99 others); Fri, 6 Sep 2019 05:07:22 -0400 Received: from mail-wm1-f43.google.com ([209.85.128.43]:39283 "EHLO mail-wm1-f43.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2392853AbfIFJHW (ORCPT ); Fri, 6 Sep 2019 05:07:22 -0400 Received: by mail-wm1-f43.google.com with SMTP id q12so6172867wmj.4 for ; Fri, 06 Sep 2019 02:07:20 -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=bRNpTF+jlVTEA0th1ETWAk1qTJWN6Qeu8URjuG4vuw0=; b=g2/f8zaLtJ58LwSPZ4Fxp31XofUqLVy6CiLpQZDRxqfSFCkkkcQLmP2pN2lCr2Rvma iQJYDrF+zvyU/PUN6bEeU5c3tIgPkZfK545NpqirU+wuHQnRcG43TdxBmEC2cEZRwsiY rtFeoV8dRoYX1yt6xiu7gsSNbRo/a2xy2lLe+bnBCfBxMj1ZL9K1yYgTC0JgUyLrQ8Up SGrBhpTBm62GcF/Xcwdw5RbV4mP9XNKsL94XLYOL+Z65LESWw2zQzD1bbFKib96Bk+9s KAaQoiygmpBNgES7OYeyQdBSdamFxGxMR9Rl/R6obORIq2TlsRfCcMnN7w819OT00gC7 vLkw== 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=bRNpTF+jlVTEA0th1ETWAk1qTJWN6Qeu8URjuG4vuw0=; b=Hpmu9nuku3JSIwFQfnYp6+YvJe3BHAYBwdTU/kvazS4lCxhLjvMxbCgdRnbRfQwQ5Q d7fP7fK3e+uriS+3b2gE7V05VyXyT/AiZvBGAnk+lw1QcVsAlqzoNGKuec8OALJLkblM +zj+F7whWxuLyQ1+LJPUE6YCvh4A8nZPv0uiLq9PKF5th8jagsfHsadrfl7p/3ezSRNw lMw0iChlESJ4eyBZWF/iLJC6tVBV9d7+x8QtSfaYskWrBOGJSdud4IYP4grOnH81vLBe 0baNI63WWpsax4zWZdjLi18dcpwBU8g+xR62AyLCkvz+z1BONB4vtDg9w3khoB74fczj QaxA== X-Gm-Message-State: APjAAAUx89fLKhf9Dk2QI0Kxz/btll2f4P7z8LwbmxsoqJbuxCLkCgSb PU/lAqu2QEEIO1GxeHX51uzDMQ== X-Received: by 2002:a7b:c935:: with SMTP id h21mr6004171wml.35.1567760839881; Fri, 06 Sep 2019 02:07:19 -0700 (PDT) Received: from [192.168.0.103] (88-147-65-157.dyn.eolo.it. [88.147.65.157]) by smtp.gmail.com with ESMTPSA id j22sm9584317wre.45.2019.09.06.02.07.18 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 06 Sep 2019 02:07:19 -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: <20190905165540.GJ2263813@devbig004.ftw2.facebook.com> Date: Fri, 6 Sep 2019 11:07:17 +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: 7bit Message-Id: 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> <9EB760CE-0028-4766-AE9D-6E90028D8579@linaro.org> <20190831065358.GF2263813@devbig004.ftw2.facebook.com> <88C7DC68-680E-49BB-9699-509B9B0B12A0@linaro.org> <20190902155652.GH2263813@devbig004.ftw2.facebook.com> <20190905165540.GJ2263813@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 5 set 2019, alle ore 18:55, Tejun Heo ha scritto: > > Hello, Paolo. > > So, I'm currently verifying iocost in the FB fleet. Around three > thousand machines running v5.2 (+ some backports) with btrfs on a > handful of different models of consumer grade SSDs. I haven't seen > complete loss of control as you're reporting. Given that you're > reporting the same thing on io.latency, which is deployed on multiple > orders of magnitude more machines at this point, it's likely that > there's something common affecting your test setup. Yep, I had that doubt too, so I extended my tests to one more PC and two more drives: a fast SAMSUNG NVMe SSD 970 PRO and an HITACHI HTS72755 HDD, using the QoS configurations suggested in your last email. As for the filesystem, I'm interested in ext4, because it is the most widely used file system, and, with some workloads, it makes it hard to control I/O while keeping throughput high. I'll provide hw and sw details in my reply to your next question. I'm willing to run tests with btrfs too, at a later time. Something is wrong with io.cost also with the other PC and the other drives. In the next table, each pair of numbers contains the target's throughput and the total throughput: none io.cost bfq SAMSUNG SSD 11.373 3295.517 6.468 3273.892 10.802 1862.288 HITACHI HDD 0.026 11.531 0.042 30.299 0.067 76.642 With the SAMSUNG SSD, io.cost gives to the target less throughput than none (and bfq is behaving badly too, but this is my problem). On the HDD, io.cost gives to the target a little bit more than half the throughput guaranteed by bfq, and reaches less than half the total throughput reached by bfq. I do agree that three thousand is an overwhelming number of machines, and I'll probably never have that many resources for my tests. Still, it seems rather unlikely that two different PCs, and three different drives, all suffer from a common anomaly that causes troubles only to io.cost and io.latency. I try to never overlook also me being the problematic link in the chain. But I'm executing this test with the public script I mentioned in my previous emails; and all steps seem correct. > Can you please > describe your test configuration and if you aren't already try testing > on btrfs? > PC 1: Thinkpad W520, Ubuntu 18.04 (no configuration change w.r.t. defaults), PLEXTOR SATA PX-256M5S SSD, HITACHI HTS72755 HDD, ext4. PC 2: Thinkpad X1 Extreme, Ubuntu 19.04 (no configuration change w.r.t. defaults), SAMSUNG NVMe SSD 970 PRO, ext4. If you need more details, just ask. Thanks, Paolo > Thanks. > > -- > tejun