Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp1123053pxb; Fri, 20 Nov 2020 01:31:00 -0800 (PST) X-Google-Smtp-Source: ABdhPJzNBy52J2FA8DPkdcgAjLc1vsPXLzZzf6I6Z1ljxQi8h6KhuU7zIdye0ySTpGd/vqJy/i5C X-Received: by 2002:a17:906:7cc6:: with SMTP id h6mr30651510ejp.161.1605864660508; Fri, 20 Nov 2020 01:31:00 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1605864660; cv=none; d=google.com; s=arc-20160816; b=goPhntfpj1WEADUrkxQmM/SoEigvQsJJ3+HYoLBw2O9XjlSc2izPQl9eQenrKhvejM RjYZaqjrzu2USJXy/Cpe72GV8k8ohQWKIpwNlZKrsMEAwXbTuX6Mx4f5MesOugj1Kx9y CObKgwQZJnIhRlb+UZx4oF2HGg/YaHxr+ITQmBoT2XdbqzgOWWvgyDWkZYVlkumA3aQo MrIAaZlnndcVUWjUUt0+5xU0e4Q3FCkMKBE87zXsjfiruYr1Hz1MEfCz3c9LtFeeu9+j uqXt+wOpWIP23pZBcbz1fPGw5gqel+ImVfUvf0SCUCcGl1iFIrtIVSxdgmJ981lMdyrg 5c0Q== 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=ETHeYbN6hBpTG62cbJNz0JDBf9vI0VaNEPAJRWU9xC0=; b=OTS4xp12rvuLX6sMbsIvS2ecMXeSkT0RIZmtj9Itqng++EVLq8Jmlv0ntKgilXYrZD 60F0pdN70TQ3jCfs6gihC7/ZtDgLLg1hiI24sRh+/B9qkxmb+42uiy/lD5NDHWjhvO8b E9biPHArcfFpm/g/QJZdIJXuyhxcb4Cz0wSLcdjC4WLlLquJ6qEHsNGggyY4A4Q+25HL nQUK+n59lc6tMQK9fEtSApjsRzxdHAKQiBgf9jz7XqKPZzAp3/L6ZzLoyITP3fRp2qk4 5f0dfuDgoUHIKYp04w5+7HQjz+fsAbcoV0o+HL8qFl46Zj4UK2wZu2yKxzg3NNnfrS3E NAAg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@google.com header.s=20161025 header.b=lEfJ1DDq; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id s17si1412233edt.578.2020.11.20.01.30.37; Fri, 20 Nov 2020 01:31:00 -0800 (PST) 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=@google.com header.s=20161025 header.b=lEfJ1DDq; 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; dmarc=pass (p=REJECT sp=REJECT dis=NONE) header.from=google.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727430AbgKTJ1a (ORCPT + 99 others); Fri, 20 Nov 2020 04:27:30 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:41594 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727312AbgKTJ1a (ORCPT ); Fri, 20 Nov 2020 04:27:30 -0500 Received: from mail-wr1-x436.google.com (mail-wr1-x436.google.com [IPv6:2a00:1450:4864:20::436]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B6A45C0613CF for ; Fri, 20 Nov 2020 01:27:29 -0800 (PST) Received: by mail-wr1-x436.google.com with SMTP id 23so9279263wrc.8 for ; Fri, 20 Nov 2020 01:27:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=ETHeYbN6hBpTG62cbJNz0JDBf9vI0VaNEPAJRWU9xC0=; b=lEfJ1DDqui1+HfYPrsT0dk46sBjS8FTGqAl7VV2pCRfosbO/VdvtXDKsDcqKCCdhbn N545BqEmmJtVMEO61BrL6zHc87uhHuX7MGufM6xFyip8oeKjUo8rL8uxQrpaVv7L2ERw 2MQKBA0lHfVfOa85YwhxPmhdVuISu1vIgNpN7nmDk3pBrP8SLXRgLCsrJ90eQmEMgavR FqrzcYPqXu0sJF2ZkffAJBbvaYncDN7SGt2SlxaTpy9MMz73yGPGG+qK0lPxS0Y6tzx3 mPzlzA3+bZvrBUO4Nt+xy+VIH3SmL0DqlssAqwSkYKJPBWbfLNTUsCuyoPWM/22DqiOM cCEg== 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; bh=ETHeYbN6hBpTG62cbJNz0JDBf9vI0VaNEPAJRWU9xC0=; b=LYvCqIoXqrT3YB3CmZKqI08c1untZHZKcRzrLoyK3TPBj35XTgoqt5o7thGD+nJlsB 6XVApWVoij5SSb+2ecNQ0FgmSaAOpYFQfaeiVlsCa1TaE5hzm+z0HltPMcK5HttiFPrA 9xdM9aJUrpzL/coSoRxTPaRqhUDaSJbzM9hJx8NRXeqdqtiDegghKIeAAzaSFJWAmxoh Bvry8IkbuDUzt4IdyTpgSBABjxyIDT7beSzBSibNHhFW2n+k90tlSj+XapXC2BXMBSZt gB3EYFKwwaZlbyyiJfhNqgmFmz52ZtE7upMGY22Ar5vHcumIk8YbxKpeH3A76E6mLYXd j9Ng== X-Gm-Message-State: AOAM532MDCKhXUN4ySIKW/bLfKl23qI4gCOOh5pJocCk7KBv0heXLAPN e/VdE/aPZBuxtFlqZuk3/qenCA== X-Received: by 2002:a5d:4e4c:: with SMTP id r12mr14845723wrt.348.1605864448213; Fri, 20 Nov 2020 01:27:28 -0800 (PST) Received: from google.com ([2a00:79e0:d:210:f693:9fff:fef4:a7ef]) by smtp.gmail.com with ESMTPSA id c5sm4291172wrb.64.2020.11.20.01.27.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 20 Nov 2020 01:27:27 -0800 (PST) Date: Fri, 20 Nov 2020 09:27:24 +0000 From: Quentin Perret To: Viresh Kumar Cc: Peter Zijlstra , "Rafael J. Wysocki" , Ingo Molnar , Thomas Gleixner , Vincent Guittot , Morten Rasmussen , dietmar.eggemann@arm.com, patrick.bellasi@matbug.net, lenb@kernel.org, linux-kernel@vger.kernel.org, valentin.schneider@arm.com, ionela.voinescu@arm.com Subject: Re: [RFC] Documentation/scheduler/schedutil.txt Message-ID: <20201120092724.GB2653684@google.com> References: <20201120075527.GB2414@hirez.programming.kicks-ass.net> <20201120085653.GA3092@hirez.programming.kicks-ass.net> <20201120091356.GA2653684@google.com> <20201120091904.6zvovj2yxjxtnq2x@vireshk-i7> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20201120091904.6zvovj2yxjxtnq2x@vireshk-i7> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Friday 20 Nov 2020 at 14:49:04 (+0530), Viresh Kumar wrote: > This is unlikely to be an issue on systems where cpufreq policies are > shared between multiple CPUs, because in those cases the policy > utilization is computed as the maximum of the CPU utilization values > over the whole policy and if that turns out to be low, reducing the > frequency for the policy most likely is a good idea anyway. Hmm, I'm not sure I agree with this actually. We may be migrating the task to a different policy altogether. And even if we migrate to another CPU in the current policy, the task util_avg may be small just because it was packed with other tasks on a rq, which means it may not increase the util of the destination rq by much. ISTR Douglas' EM-based schedutil boosting series was addressing that at some point, I'll go have a look back at that discussion...