Received: by 2002:a05:6a10:206:0:0:0:0 with SMTP id 6csp4794625pxj; Wed, 9 Jun 2021 01:53:57 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzbTFu2RSyw/JSiGFRrLzhLTGXs8v2JN7gDA4/0Bh/O788axU4wV8r+SrjOC0x/xDsFh7hh X-Received: by 2002:a17:906:22c6:: with SMTP id q6mr27709599eja.275.1623228837590; Wed, 09 Jun 2021 01:53:57 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1623228837; cv=none; d=google.com; s=arc-20160816; b=Ik43ATcvVEVrefcxVk+pKHWYY2v93HWBxCtdrxVxugL2nk0xU5CUg3XMPbjdO+scMw +Tr40V09tXf/vjBSC0cGV6Fx9DQDf22dG3ogvKaytEfz604grHaUrjTMh1qPQ8ZEUiwP jEAOMQeU5zbF0rYuLpNSoFpN444bWTE8C4DxL0ETQNHuBEyIqgmUH5C3wE5GCH3CgGya D9xvi935SXROyYaFbzgnm2bVm+AbgRzRcnduG046EClCj10MdBu/xlHG8DCWjZrjkI0L 5MjjdYn4tARmy3HoKLFLLZ1HI7X2BJ0T85VcZ+/1z0CIBE/7dmkHokcIZ+n2L4b0NQjJ 2MrA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date:dkim-signature; bh=DYpoxF8V5padVKMwBrEXiIPopPnsff439+NPdx91qIw=; b=qFNr1o9aukYcg4/Spi4gTX8fbETRXwXwu1fr3kenh6RI118ok4b+xOHXTiuvP+K4GD q2Df7cFnbfpaKnL8Utoh6pFW6kXaQjRUYx7c9WGvx10MEnfIOu676HiSZLQh799mWN2H UCBVEzdRaam1zJOduNg4CMBp9inX1U/lZAKj6cyv3a5AmdHujHd5HHQCsiUPp2bAfdNX KoyqlOYyQEqRVB25QGEdEGCSEmLNamdOwYJmTmbE2UE/M3v83AKALWyCsCm8GepyvvrZ xL1nL7h/OQ7P1Dn2h3inq4Et545BBeKPzUsAZfM7xOQop+Wz/bG8pcrvjqr1hdm7L9Ev m72g== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@infradead.org header.s=desiato.20200630 header.b=kCl98kyP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id v21si2096088edi.397.2021.06.09.01.53.35; Wed, 09 Jun 2021 01:53:57 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@infradead.org header.s=desiato.20200630 header.b=kCl98kyP; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233856AbhFHRsx (ORCPT + 99 others); Tue, 8 Jun 2021 13:48:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:47050 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233583AbhFHRsw (ORCPT ); Tue, 8 Jun 2021 13:48:52 -0400 Received: from desiato.infradead.org (desiato.infradead.org [IPv6:2001:8b0:10b:1:d65d:64ff:fe57:4e05]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A7043C061574 for ; Tue, 8 Jun 2021 10:46:59 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=desiato.20200630; h=In-Reply-To:Content-Type:MIME-Version: References:Message-ID:Subject:Cc:To:From:Date:Sender:Reply-To: Content-Transfer-Encoding:Content-ID:Content-Description; bh=DYpoxF8V5padVKMwBrEXiIPopPnsff439+NPdx91qIw=; b=kCl98kyPH+JxVLSKJfvdpIWvAA GSj+ov9Kkbcj/ByFCmB/vpzwUt4Ah1e3MdHRj5u90yFFmj8i91AjqxMqGbnqnvMdw0vqqGYUUkXxL aygzPkEv6Muk4lW3ftlfgQkSm5M4tln2tJHZHR9FcW7j9pbwmo5eBixCtVV07+an6peYXrVUl0YG9 dW0f93RklivEdOE8qJYpA8z0K0Xip7T5fD5vjWP19Vi5DHB3WnEuBWnPqK0+10C7dhsK2g6HvXZxk pcbPF4FSkeUxX23IMnoDf7cQbKtZSf6NYJw4QHncFTeIDZ94YSgsSH2PwG8rdbiQ2da0KJ7TCGXl7 nR6CllLA==; Received: from j217100.upc-j.chello.nl ([24.132.217.100] helo=noisy.programming.kicks-ass.net) by desiato.infradead.org with esmtpsa (Exim 4.94.2 #2 (Red Hat Linux)) id 1lqfoN-004p8F-U9; Tue, 08 Jun 2021 17:46:54 +0000 Received: from hirez.programming.kicks-ass.net (hirez.programming.kicks-ass.net [192.168.1.225]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (Client did not present a certificate) by noisy.programming.kicks-ass.net (Postfix) with ESMTPS id 4217B3001E3; Tue, 8 Jun 2021 19:46:54 +0200 (CEST) Received: by hirez.programming.kicks-ass.net (Postfix, from userid 1000) id 1A2EF201E7EE3; Tue, 8 Jun 2021 19:46:54 +0200 (CEST) Date: Tue, 8 Jun 2021 19:46:54 +0200 From: Peter Zijlstra To: Beata Michalska Cc: Joel Fernandes , Valentin Schneider , Quentin Perret , LKML , Qais Yousef , Vincent Guittot , Viresh Kumar Subject: Re: iowait boost is broken Message-ID: References: <20210607191031.GA12489@e120325.cambridge.arm.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20210607191031.GA12489@e120325.cambridge.arm.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jun 07, 2021 at 08:10:32PM +0100, Beata Michalska wrote: > So back to the expectations. > The main problem, as I see it, is what do we actually want to achieve with > the I/O boosting? Is it supposed to compensate the time lost while waiting > for the I/O request to be completed or is is supposed to optimize the rate > at which I/O requests are being made. The latter, you want to increase the race of submission. > Do we want to boost I/O bound tasks by > default, no limits applied or should we care about balancing performance > vs power ? And unless those expectations are clearly stated, we might not > get too far with any changes, really. You want to not increase power beyond what is needed to match the rate of processing I suppose.