Received: by 2002:a25:1506:0:0:0:0:0 with SMTP id 6csp1700527ybv; Fri, 21 Feb 2020 01:59:05 -0800 (PST) X-Google-Smtp-Source: APXvYqzmYUkW9Ye+BShT+IPMfYBU0fdluBKPN6LjCTYT0yvAwSAtsd4tfb4MGX2C2QmU6Ksz8ZGJ X-Received: by 2002:a05:6830:1385:: with SMTP id d5mr28431007otq.61.1582279145616; Fri, 21 Feb 2020 01:59:05 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1582279145; cv=none; d=google.com; s=arc-20160816; b=C/B3DMTQZibHoMcgaFfzLP9f3jK8hHLsgMKKYkuoQZ3aR+LXqXLAxdiL50KKZt7eIc clS7wqEqTmTC8o2FXh18qwSdZrLVUgaKylGuVfBYuO93FoJL0+zvW/bZ4MwGE2wZd1iF 0rlEa+iI7WwSDwHxeBvB434k+OHtit/D54S39LvP2Xq62pvdecWes+77SwYLN5v+YaM6 BVux/ufhcaCRyN+J64JZF49SNHYx3u4E5d30HmJjwlLk1uSr4FC98R0/DC2L1Dp/vz1c XvCIEa9yDvA3mWE7BuFOvKyOdRR+CT5FWgAyO5aMl0lavq6sVpXlRLQUp9fwfXEAulCZ MuDQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding :content-language:in-reply-to:mime-version:user-agent:date :message-id:from:references:cc:to:subject; bh=V5gC/Yna0yNh46x4uITkZACqct3IYPLCesxssJrk3Oc=; b=UNmWkv9qEwHp9REw6T7A0qxRG2hYH3ROkatA7spwVDcmLMX1qMAVJjboSfgbCWx394 fuqfXyYEZjeg9UP6mpBcKkBP1kUf/IMsv8yKZos2QUTqzOO4PuIc2qXxRynM3rncD74F InjxZbd55EEVQQ9oT0c0uZgWUJrn1QPn3AyvTcxlCz3wyxnQ4Pz9seGf4kRNxAXRyGRp rSLwlFEzWc6He/jeuSs6yySPjInm1HztXgePrJyOXXaHaJFjTptymg7wqZLlqHKpp+66 8Y345IIx/G35RDQQCeJBoyOOQ6TUw1Q9VBrpLkobLPI84L2Thc8hJxJO7j9WSBtiKVW5 6J6Q== 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id o16si1292162otp.289.2020.02.21.01.58.53; Fri, 21 Feb 2020 01:59:05 -0800 (PST) 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1728484AbgBUJ6T (ORCPT + 99 others); Fri, 21 Feb 2020 04:58:19 -0500 Received: from foss.arm.com ([217.140.110.172]:35496 "EHLO foss.arm.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726989AbgBUJ6T (ORCPT ); Fri, 21 Feb 2020 04:58:19 -0500 Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id 1F951328; Fri, 21 Feb 2020 01:58:19 -0800 (PST) Received: from [192.168.0.7] (unknown [172.31.20.19]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 548103F68F; Fri, 21 Feb 2020 01:58:17 -0800 (PST) Subject: Re: [PATCH v2 0/5] remove runnable_load_avg and improve group_classify To: Vincent Guittot , mingo@redhat.com, peterz@infradead.org, juri.lelli@redhat.com, rostedt@goodmis.org, bsegall@google.com, mgorman@suse.de, linux-kernel@vger.kernel.org Cc: pauld@redhat.com, parth@linux.ibm.com, valentin.schneider@arm.com, hdanton@sina.com References: <20200214152729.6059-1-vincent.guittot@linaro.org> From: Dietmar Eggemann Message-ID: <827f745e-5afc-88b1-0a93-b5d2dfd796db@arm.com> Date: Fri, 21 Feb 2020 10:58:05 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.4.1 MIME-Version: 1.0 In-Reply-To: <20200214152729.6059-1-vincent.guittot@linaro.org> Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 14/02/2020 16:27, Vincent Guittot wrote: > This new version stays quite close to the previous one and should > replace without problems the previous one that part of Mel's patchset: > https://lkml.org/lkml/2020/2/14/156 > > NUMA load balancing is the last remaining piece of code that uses the > runnable_load_avg of PELT to balance tasks between nodes. The normal > load_balance has replaced it by a better description of the current state > of the group of cpus. The same policy can be applied to the numa > balancing. > > Once unused, runnable_load_avg can be replaced by a simpler runnable_avg > signal that tracks the waiting time of tasks on rq. Currently, the state > of a group of CPUs is defined thanks to the number of running task and the > level of utilization of rq. But the utilization can be temporarly low > after the migration of a task whereas the rq is still overloaded with > tasks. In such case where tasks were competing for the rq, the > runnable_avg will stay high after the migration. With those small things I commented on: Reviewed-by: "Dietmar Eggemann "