Received: by 2002:ac0:a5b6:0:0:0:0:0 with SMTP id m51-v6csp3269881imm; Mon, 4 Jun 2018 00:05:32 -0700 (PDT) X-Google-Smtp-Source: ADUXVKJkbPBv0zZU+FAo/mpoh72EBDU8CZ8Bn5rGAMrzh3p6l+GhDvP9mxjcxU1elj8crGzzAZj+ X-Received: by 2002:a65:57c6:: with SMTP id q6-v6mr11186322pgr.160.1528095932453; Mon, 04 Jun 2018 00:05:32 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1528095932; cv=none; d=google.com; s=arc-20160816; b=gIWNjFWmx8Up/wVlE34gTdIS/rsGupNNrr4zzAH94pzzu4wVitY9+20yZd0h0ssLw5 pNZAy/o0WdQaoOMvGhyZxgByvfsUfEYMDPReGIjqnzstXXWNHDg/KpF0uI9PVEuLMf49 ORX4VFxpH9bvSTNakgV+ZkTbMrPigpEgrrpu2MUAVyr4dKBSferkNNWyHcLDLNif36+Z dkS8ZMpKqo7zWDHX9ObChN0lzrB/54JLjGYMF/xOlTlomdxdOiPQeT/xM8GkGRiLDMA5 28KMb791dpDapkw8913x04fLkUjx8fRiHFFjxyw1IYZwseSSgnP7gqZnmPAoUiykdH0x OoyA== 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:arc-authentication-results; bh=+Q0cJ+v3Qfeo0KBtIuF0oR+TDZ5r2XlXTGHk/7pf/kE=; b=BRqt63V126/hpFaeF5+V0YVHyw6BnVy2PesOlW3AebqSdWmen2WbAP9wovGgJETieO sY1D49E/coyFaSzIHVa2vYCk2XAEOOHfdLoKgynBxjm/Tvh6g7UdlfcXpcd650bhcPfu rxcm/KTqUoUaVdsUNbb6Bk2vMFU6jTzmnoJGjyJmy7AANcWM+b09iu/GeTTpjGZ/wnjx eFi6enXjpm6FZpp4TyD5J2uHTI3FPB09MdJCFIVl6zMnEiamV6LlUuOEH6OcTcir5q6a b7a0RQiHx6stR6PF0yIyINI2+k0HHWMzUIur42beu38dMD2j/C48TJohOqEQTJUxZ0fF lIxg== ARC-Authentication-Results: i=1; mx.google.com; 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=redhat.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 1-v6si19430925plz.379.2018.06.04.00.05.18; Mon, 04 Jun 2018 00:05:32 -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; 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=redhat.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753843AbeFDHEq (ORCPT + 99 others); Mon, 4 Jun 2018 03:04:46 -0400 Received: from mail-wr0-f193.google.com ([209.85.128.193]:36175 "EHLO mail-wr0-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753307AbeFDHEm (ORCPT ); Mon, 4 Jun 2018 03:04:42 -0400 Received: by mail-wr0-f193.google.com with SMTP id f16-v6so26636844wrm.3 for ; Mon, 04 Jun 2018 00:04:42 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=+Q0cJ+v3Qfeo0KBtIuF0oR+TDZ5r2XlXTGHk/7pf/kE=; b=tcoA++N4+boQw/QP2QhYnaHxYcbbBebq0LJ9MJQQ9JIxD/qOPK4jwm36GX1mDyP88Z 4d7MBjIFYTQHcHmMEv2SPsSR4AJinsuxZxyfk1EPM7rje4Zv1MM18WlD99NsIDXh64bK +x5O78X0Un85e6pfqzVTpEq0Xl0bUuD0EcqGJwmRCNGAJHDeHYTxXed3rFG5sVY3gXBP fOI8bB+cUIkCdjPVXJjfJXo/1Ll93tiw9Vvq28VHEvaRbl8Op1sBk3LfoMY9N/mXcHGF b7vSlOkehWOauzudfeT1GUGlwXU2RRl/3+TJKYuxU+EIBrlvp1dXqV/QKXXYsKqYt53k 5Jsw== X-Gm-Message-State: ALKqPweCLwE4cETLAxRG99gchjrfnAGCf21SJnt5nwTNZdvaSw3lrtfn aQRMlM0j6dXI/DRqcp1zQeqnkQ== X-Received: by 2002:adf:b691:: with SMTP id j17-v6mr15701437wre.10.1528095881568; Mon, 04 Jun 2018 00:04:41 -0700 (PDT) Received: from localhost.localdomain ([151.15.207.242]) by smtp.gmail.com with ESMTPSA id 72-v6sm46977172wrb.22.2018.06.04.00.04.39 (version=TLS1_2 cipher=ECDHE-RSA-CHACHA20-POLY1305 bits=256/256); Mon, 04 Jun 2018 00:04:40 -0700 (PDT) Date: Mon, 4 Jun 2018 09:04:38 +0200 From: Juri Lelli To: Vincent Guittot Cc: Joel Fernandes , Patrick Bellasi , Peter Zijlstra , Ingo Molnar , linux-kernel , "Rafael J. Wysocki" , Dietmar Eggemann , Morten Rasmussen , viresh kumar , Valentin Schneider , Quentin Perret , Luca Abeni , Claudio Scordino , Joel Fernandes , "Cc: Android Kernel" , Alessio Balsini Subject: Re: [PATCH v5 05/10] cpufreq/schedutil: get max utilization Message-ID: <20180604070438.GA2731@localhost.localdomain> References: <1527253951-22709-6-git-send-email-vincent.guittot@linaro.org> <20180528101234.GA1293@localhost.localdomain> <20180528152243.GD1293@localhost.localdomain> <20180531102735.GM30654@e110439-lin> <20180601135307.GA28550@linaro.org> <20180601174526.GA105687@joelaf.mtv.corp.google.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.2 (2017-12-15) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi Vincent, On 04/06/18 08:41, Vincent Guittot wrote: > On 1 June 2018 at 19:45, Joel Fernandes wrote: > > On Fri, Jun 01, 2018 at 03:53:07PM +0200, Vincent Guittot wrote: [...] > > IMO I feel its overkill to account dl_avg when we already have DL's running > > bandwidth we can use. I understand it may be too instanenous, but perhaps we > > We keep using dl bandwidth which is quite correct for dl needs but > doesn't reflect how it has disturbed other classes > > > can fix CFS's problems within CFS itself and not have to do this kind of > > extra external accounting ? I would also keep accounting for waiting time due to higher prio classes all inside CFS. My impression, when discussing it with you on IRC, was that we should be able to do that by not decaying cfs.util_avg when CFS is preempted (creating a new signal for it). Is not this enough? I feel we should try to keep cross-class accounting/interaction at a minimum. Thanks, - Juri