Received: by 2002:a25:c593:0:0:0:0:0 with SMTP id v141csp1429813ybe; Fri, 6 Sep 2019 18:06:25 -0700 (PDT) X-Google-Smtp-Source: APXvYqyofFZKpe8dql+dYlbiErNYCFcp0mu7av1RVJhn1SnBiOcMIWTnQQn51LCcQnm9xG7Ni+hA X-Received: by 2002:a62:cdc3:: with SMTP id o186mr14274434pfg.168.1567818385593; Fri, 06 Sep 2019 18:06:25 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1567818385; cv=none; d=google.com; s=arc-20160816; b=oXwm3h8CXXNbXLKn5UH5EhqBuQdCgCKfM8nwNTvlhzvsLaesyonqQ/eNqL2N4NDekI Vw/3cc2PEt0k7FhinXfaGfRqZavejHSIrBiEJaJT2iS5kJTwPTtPnA7p7wZj8bH1M46J xtx7u+0dVgZjumzVy/O0QDXZihucnAVXOX+VzSRlthhE5ORJMPnYhm1mY67kMscIbxnr /ra8wSNo38PZckytdKN0+E1eHlVfXy/8BpAMONpwnMy++WKqkq6u5b1zsc5UlXHfn1+b kjRcz+QMVXs6Zbeq3Dib+mFHR8Sk9qZ7pBd9r4uxlSZSy2USBoDvYvHF587/Hnvp/ml8 WnOw== 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:dkim-signature; bh=LOL4RkhxwNmxVBDlkkOKh5q7eIdq3MEVHDS6KxIm1I4=; b=IbwEHLEbhTk1QqzLbI6HxGucCICxvwxLGeYrT/V2FUgLsNb2aOKtxkBNL1n2fIY5OU ZVaYII0SoN5eH2R2mbaQP6CwzXKxGmL33vqyVve5XKsioeEiyAAFvPTP0uAVsR5XFvfB 8mh2QdT+NqnDO5qCWP4+Xkfq0uKpYAYacPLLqgSJPNqpXRsd47kmn17Yuh3/gK5Vk22L Q267yLVrDnldluUPC3M27angvNohuhQR5xQHJwwJOFqWhsbrkdbEthgsg3RNV712cCny R/yyA3eMOnVGCVcB33bHG89fqfC4ZS9bfa6BoaJ6yXS83HGJuXEfMWEH6hBV1Y5JLzN5 BTpA== ARC-Authentication-Results: i=1; mx.google.com; dkim=fail header.i=@gmail.com header.s=20161025 header.b=MOXP8ySN; 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=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id h189si5674788pgc.236.2019.09.06.18.06.09; Fri, 06 Sep 2019 18:06:25 -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=fail header.i=@gmail.com header.s=20161025 header.b=MOXP8ySN; 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=fail (p=NONE sp=NONE dis=NONE) header.from=kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2392270AbfIFO6b (ORCPT + 99 others); Fri, 6 Sep 2019 10:58:31 -0400 Received: from mail-qt1-f193.google.com ([209.85.160.193]:34697 "EHLO mail-qt1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726019AbfIFO6b (ORCPT ); Fri, 6 Sep 2019 10:58:31 -0400 Received: by mail-qt1-f193.google.com with SMTP id a13so7407633qtj.1; Fri, 06 Sep 2019 07:58:30 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=sender:date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=LOL4RkhxwNmxVBDlkkOKh5q7eIdq3MEVHDS6KxIm1I4=; b=MOXP8ySNFPJpMxFpoTNloLC7w8Wh/zABeSUGLmy9GcZZLTPwTWbLNAiqmpDc3ec4/o fd/SQEbUNPqNvtpl1/z5Lvnd779JkYSuyqQbJvM8lCbSRUV/hrvYwZxSgL1rKwz0us/i ZREmz6vxrZfPNGqJkZmhWJzITJzzyL2gIw8RxEgkUTgtbxCjFWnGsP1l5JXqBN4ds0LM SVyRMrlR29TEH85320jHVL5TDIO8nn5KCyJ9cdcTr0DMf2el5OoMqyCl+KPnXNdr78gM NnqSEpEKFjrjmUF5jre4PNzvz5/0G04w9u5myf8I6/pAcoyhos2ouAn+mFiJ6I12Kg6r 75JQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:sender:date:from:to:cc:subject:message-id :references:mime-version:content-disposition:in-reply-to:user-agent; bh=LOL4RkhxwNmxVBDlkkOKh5q7eIdq3MEVHDS6KxIm1I4=; b=bvCsxm+7mke4oAm9lVJ7sqkX5g8rBzceWjkhyKXuRsc7PKNbiEpuNWMiVcpq+43ulF QIolFhhZOJQAM/S7B5/PM4pqoiPJfFOsQSwJhJaGjF+zLmVkw0O6kRO3rGfg3MuiBgzw O7tgFWS8GMtyuaX1tVND2xrnvXgCSSir8sxkhAXA0ArA4Wy+qPbV1Sgc0d8OvVmhwrrt qsNn8FjJm0XGGU7K5iiJ060rOC8fp7hPSGyPAMGNpTsSluIaeLyppOgsMNMp0vvGfM8X pWdHPdj3GbuAG696f4vO/fihvrVzS7fUHL/fx/6D8hHVxnhamUcqWdcA1dq030oHeX/m hmqQ== X-Gm-Message-State: APjAAAXupRDMVQga3obNhhiRDQ6cNTSbLe6kxxhsSDAkqGdUtexBXq9C VcrEGiFSQeTq0pO4Vig0Y4A= X-Received: by 2002:ac8:5390:: with SMTP id x16mr9499947qtp.390.1567781909530; Fri, 06 Sep 2019 07:58:29 -0700 (PDT) Received: from localhost ([2620:10d:c091:480::e7cb]) by smtp.gmail.com with ESMTPSA id g194sm2967170qke.46.2019.09.06.07.58.28 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Fri, 06 Sep 2019 07:58:28 -0700 (PDT) Date: Fri, 6 Sep 2019 07:58:26 -0700 From: Tejun Heo To: Paolo Valente 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 Subject: Re: [PATCHSET block/for-next] IO cost model based work-conserving porportional controller Message-ID: <20190906145826.GL2263813@devbig004.ftw2.facebook.com> References: <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> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hello, Paolo. On Fri, Sep 06, 2019 at 11:07:17AM +0200, Paolo Valente wrote: > 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 Ext4 can't do writeback control as it currently stands. It creates hard ordering across data writes from different cgroups. No matter what mechanism you use for IO control, it is broken. I'm sure it's fixable but does need some work. That said, read-only tests like you're doing should work fine on ext4 too but the last time I tested io control on ext4 is more than a year ago so something might have changed in the meantime. Just to rule out this isn't what you're hitting. Can you please run your test on btrfs with the following patchset applied? http://lkml.kernel.org/r/20190710192818.1069475-1-tj@kernel.org And as I wrote in the previous reply, I did run your benchmark on one of the test machines and it did work fine. Thanks. -- tejun