Received: by 10.192.165.156 with SMTP id m28csp2254565imm; Thu, 12 Apr 2018 11:08:08 -0700 (PDT) X-Google-Smtp-Source: AIpwx49ZGqwAymXL7Gx7sKq3hlGa2R6/6cP+QOoZj8uh/VCGCCfwLcT2u1uj23T+MOGGo9XKgL91 X-Received: by 10.99.113.26 with SMTP id m26mr1470976pgc.364.1523556488736; Thu, 12 Apr 2018 11:08:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1523556488; cv=none; d=google.com; s=arc-20160816; b=YWoYPWFneLdlaWeY6debzw6Z5tPmBQSD/8f73CrfUZqKjnMp+ywCLZPI29fun7vDS5 kWQW/L4XrOfynwHV9skQkxbIxKschEzKk5+tWFjem3yCTv06rN0kYHBPRpx92ktu151O pYnBSauupIuP1CULKAcO2T5xV0XdXQ5qrkM2neml70/vSJkwgEQJgWqOe8bmpNx7YnVQ kfebO3GYMm7ZvwxE88cvfNTnM7AduZW7o8rjgTNqcZ61x5xwH6h5z5LbdeD8nrw8pNCx KUQIZILq025KIOuT24PB4wy1sGRk2DtTbHUvcwoiDfOyhQffOcsjD1VN2+dpHleZfv1E 3B7Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:cc:to:subject:message-id:date:from :references:in-reply-to:mime-version:dkim-signature :arc-authentication-results; bh=Hn9Z+gmpno5oulPz4rCOyv6rHGDW7PxDy6N+X9fFLc8=; b=Ikm3vJQB5WehWAFawXK+e9VC2O3NpRAScvD4njHzRNdvSzndrBQMGi2hJr1LTrEeSC 3TXi1NBryS1xvVke5pfoVdqOwDRXgJ7w0dPssXx4b9n6kNEy/3D81leh1ZrTqu89lj/o M8G7C9PaK7MzsY2WxAncI7x2vlAI5P2hGVs+8dn5He4tS9UySAvKTkfgHHdiAw5ZtY2K +nryV/sEXkQseUAvcMEm4aaV5sdR4Yewz/nz1RR+6bKOgsEPPbgXRpl8NunxcgMlEtu/ 45/dV2JBut57vqY6F6XKg0x36jSPPx/YWR70G8I3T7h3bbvvGAQEKWez1I5ytrBBazJo x2XQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=KBlaSY03; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id l17si2554711pgc.681.2018.04.12.11.07.51; Thu, 12 Apr 2018 11:08: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=@google.com header.s=20161025 header.b=KBlaSY03; 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=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752946AbeDLSGj (ORCPT + 99 others); Thu, 12 Apr 2018 14:06:39 -0400 Received: from mail-io0-f170.google.com ([209.85.223.170]:35312 "EHLO mail-io0-f170.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752878AbeDLSGh (ORCPT ); Thu, 12 Apr 2018 14:06:37 -0400 Received: by mail-io0-f170.google.com with SMTP id h10so4196988iob.2 for ; Thu, 12 Apr 2018 11:06:36 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=Hn9Z+gmpno5oulPz4rCOyv6rHGDW7PxDy6N+X9fFLc8=; b=KBlaSY03SOpjbylo8RCsnOcKTJ0oR4iNczxgOIQ0SR2SWToSKbOtj899fXI52KLu/Y A5VaGNW+F3SG+P4NJaLGxrhwwDKG9kQiXsqp1/4lXzv+x6vfewfMsbFzQWwbfc1wRNcu DjIO6mPDQutzMe+36sXIl59Gm8MvKmPzTbebSxYYE2xcZftzjrKLtiS9l0aWD/A/zj7w ilcQRVNDt54P2pmjAoXj4BQZ3iRJc19uvMbLqJy9zBK8tc1zMEE6fOdFmm3tZ7jDtkKD 9v3igf4f56EWkzfs+Kv6vzS61Ycd4wOSXEepLKXOVkBi0IVNwh+zUjHED2ihw2Obxyu2 ynmA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=Hn9Z+gmpno5oulPz4rCOyv6rHGDW7PxDy6N+X9fFLc8=; b=Ye5FLElolphi5rG5ipaFSCd0a/P6SYhK/01tUHHKpT6efVEGNAa0Hd4dE5R/6HwfKz 0RXk7aSRAjJHJBalFXfzCa+nYsB4P7X8vXg+9hJZH2CJOCqcQCEnrojjljiGcFKN4/Wv NP7HnyUVl+UHHr010IM5ATrtrh4XDqQ3Nd4SQGbzQ/DxQ3eWjL/xQYswneeMgFYEI6pf ZwBFhJwCBo0Tcw/zTiGsGU/QwmxPZ+6xoG8xJ4i6LrH9unjM381nFD4AFko1sC7oUf1a jVcFbVN3nhWBJiPEcu4KWbSliiSL1YROsetROGOF8bpCdQlYfhQh6+r33M2aAtthzczp Sorw== X-Gm-Message-State: ALQs6tBKnOaDM0KGy8r4Vve5KTuEl19FoiI48yqXH/a3/UAGeWjH3vIA XW+Tt+m5QYWL+d3AaXQm2Vy5VqfUHa9XZRlnJJemfQ== X-Received: by 10.107.33.147 with SMTP id h141mr1833208ioh.235.1523556395830; Thu, 12 Apr 2018 11:06:35 -0700 (PDT) MIME-Version: 1.0 Received: by 10.107.181.213 with HTTP; Thu, 12 Apr 2018 11:06:35 -0700 (PDT) In-Reply-To: References: <20180406172835.20078-1-patrick.bellasi@arm.com> <20180410110412.GG14248@e110439-lin> <20180411101517.GL14248@e110439-lin> From: Joel Fernandes Date: Thu, 12 Apr 2018 11:06:35 -0700 Message-ID: Subject: Re: [PATCH] sched/fair: schedutil: update only with all info available To: Vincent Guittot Cc: Patrick Bellasi , Peter Zijlstra , linux-kernel , "open list:THERMAL" , Ingo Molnar , "Rafael J . Wysocki" , Viresh Kumar , Juri Lelli , Steve Muckle , Dietmar Eggemann , Morten Rasmussen Content-Type: text/plain; charset="UTF-8" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Apr 12, 2018 at 12:01 AM, Vincent Guittot wrote: >> >> Also that aside, the "running util" is what was used to drive the CFS >> util before Peter's patch (8f111bc357a). That was accounting the >> blocked and decaying utilization but that patch changed the behavior. >> It seems logical we should just use that not check for h_nr_running >> for CFS so we don't miss on the decayed utilization. What is the use >> of checking h_nr_running or state of runqueue for CFS? I am sure to be >> missing something here. :-( > > As Peter mentioned, the change in commit (8f111bc357a) was to remove > the test that was arbitrary removing the util_avg of a cpu that has > not been updated since a tick > > But with the update of blocked idle load, we don't need to handle the > case of stalled load/utilization Thanks a lot for the clarification. It makes sense now. - Joel