Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp2493503rdd; Fri, 12 Jan 2024 11:03:56 -0800 (PST) X-Google-Smtp-Source: AGHT+IFQrukfM73+Kl1UVDCcdAAzfZNUTiHVZfjD+yLW3H9F4KTnI4D+Nw4CllPHgeLCt1V9iljq X-Received: by 2002:ae9:e101:0:b0:783:3ae2:bb0c with SMTP id g1-20020ae9e101000000b007833ae2bb0cmr1763228qkm.5.1705086236223; Fri, 12 Jan 2024 11:03:56 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1705086236; cv=none; d=google.com; s=arc-20160816; b=NjOUK9Wxzks13wsOSO96PQ+w25jSOk5bEgE0Ok2guh/ipFKUh9b8TmkMs/gMcAsIJY ED4tSwQefMpcoEDHekCXASsr4ub8n6eLX7LR37Gdq2RHqdMXnq+vkphf5Zd6AClUBAVz ewJegJVamb0RBXD7J8xcMzx84LVV5l7wpLoZnexU4cXc0/RARLbB3hr3n+AGd78R9LHX fuXAL2G3CuH+zv5X73cvPvJSk7O5sORL5JJ5N+urPiM2ZctCv1mmvhWslewKoqImpv0b SO6K7a7KgaZXNqlo1gqsehsOcbUmL6AuSuq6uo57191SsMWsWcVyvqtYY8n2/SO+AtzS lpTw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:list-unsubscribe:list-subscribe:list-id:precedence :dkim-signature; bh=9dt8X+Vtql8Jk3ZGqAjOBvDvFvpIh/V3y4Jn7PPUwXM=; fh=2oAqgm0tJxkVPzlgtPHCLcPob8DTvhzvPWyjbbLqMko=; b=g1uYwlRvc6ss9CKAiNuXa262Xgk+HwoK5wva0hNpZNA2EgK9YVLsRDZd0NkRhLsaHv XDeEuQIzTyxBD6fPyW+P3KoQPSFXYjLASJHxR2OzCSaIA7BZiR+zQa8FOacZ/soQNOy6 y8r/3OR+J3nTdXjowocC2nJTf+z6pbX3iu0GQFvnLPKnLzPH66bARc13N0iAd3PT4Ud5 YUpmsfrbwCba5d6TdrAq+zGwQPVI48bJuCqB6eYxSKa76rydSahJP2X2IUNEFX14Sk7m 1Ri4GOwIjabo+qg5w1Yb8n/7zIUMiwHDpJDhSFR2V6ByWSw0L898yWHc3W9++e13MzmM y+zw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=oOYWWrHu; spf=pass (google.com: domain of linux-kernel+bounces-24991-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-24991-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from ny.mirrors.kernel.org (ny.mirrors.kernel.org. [2604:1380:45d1:ec00::1]) by mx.google.com with ESMTPS id e30-20020a05620a209e00b00781b6a72c38si3336925qka.410.2024.01.12.11.03.56 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Jan 2024 11:03:56 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-24991-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) client-ip=2604:1380:45d1:ec00::1; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=oOYWWrHu; spf=pass (google.com: domain of linux-kernel+bounces-24991-linux.lists.archive=gmail.com@vger.kernel.org designates 2604:1380:45d1:ec00::1 as permitted sender) smtp.mailfrom="linux-kernel+bounces-24991-linux.lists.archive=gmail.com@vger.kernel.org"; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ny.mirrors.kernel.org (Postfix) with ESMTPS id F26971C210AD for ; Fri, 12 Jan 2024 19:03:55 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 2B0C115E9C; Fri, 12 Jan 2024 19:03:51 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=linaro.org header.i=@linaro.org header.b="oOYWWrHu" Received: from mail-pj1-f53.google.com (mail-pj1-f53.google.com [209.85.216.53]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 00B0D15E8E for ; Fri, 12 Jan 2024 19:03:48 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=linaro.org Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=linaro.org Received: by mail-pj1-f53.google.com with SMTP id 98e67ed59e1d1-28bcc273833so5872050a91.1 for ; Fri, 12 Jan 2024 11:03:48 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; t=1705086228; x=1705691028; darn=vger.kernel.org; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=9dt8X+Vtql8Jk3ZGqAjOBvDvFvpIh/V3y4Jn7PPUwXM=; b=oOYWWrHuMlL9dwML7XjDyHl8AAnxtl+mv8aMvcDqsdMUWXTMWJPM93NhJb4cusnOhF fwHFI7btQvd0kytiKAi5fDsafsUA9+bUhVDfTxQ7paWq+PXiy2x/fabiapjHMq16Ep3t xUn1EVFaSoYupR086KV4p3cgyLEHLOAVReLGZX9lQGGrCEYHNX0BfBOliPG5Fa+mj4mh QFOtg5f2p1XxGhImFu6ZIUFo9lOn0UegqT/E8f152tlaJHRAC7p9kXUFdCnovv8zIu4P 0zxgpCPGqZV1AAvhb9LFFqbRzVS3KnNi4OGnD0ewksIR4+BHUjkJfcK/yETs328PMAyJ iD+Q== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705086228; x=1705691028; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=9dt8X+Vtql8Jk3ZGqAjOBvDvFvpIh/V3y4Jn7PPUwXM=; b=SfYXj1POuzJVSJGxeJkdfWoWB8NXxwdEOpc4akj1E+avTucPkKcdgKoTmw+LcRyeki BtUPSekb1/HiAH86gis2Cc5DqrvZzJfUmA6iBZge5+epUWDW7Zx73dNl/RT8FEqy2Nzd gOgsWqtxGrKNrTEUK8ikSPYgtMWFl7LDWYtZBsr3zmJITBVnzUxUELZRnraVQyJJPXnb /iUdqZfYntmuKUCDcNXIKQEl5Zlo6+T3584pIgJBH/Y1H5Va7YoDBPWyPF87CaIJmfNZ JsIJHwlCDTwmQ0swlUEr1gFw/Pne2VSunrZOLZxL+L3IIR/b3QBB1TSscLbHCtgO5SUl NP+g== X-Gm-Message-State: AOJu0YxUu9Gw0XisaXupEMSSccbOAVIaYm+AE4tZiMeyKsy09CJXEhCi lfBHfzSw+kryHdgikCWbKlYvsrds6on2DvvChhcz2J3NE+0aqw== X-Received: by 2002:a17:90b:46d8:b0:28c:1bfd:e7ea with SMTP id jx24-20020a17090b46d800b0028c1bfde7eamr1800594pjb.27.1705086228258; Fri, 12 Jan 2024 11:03:48 -0800 (PST) Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 References: <4405adb5-0b16-4716-9542-47d8bb1737ee@arm.com> <20240112181805.bjvrkvvkszdfa7co@airbuntu> In-Reply-To: <20240112181805.bjvrkvvkszdfa7co@airbuntu> From: Vincent Guittot Date: Fri, 12 Jan 2024 20:03:36 +0100 Message-ID: Subject: Re: [GIT PULL] Scheduler changes for v6.8 To: Qais Yousef Cc: Dietmar Eggemann , Linus Torvalds , Ingo Molnar , linux-kernel@vger.kernel.org, Peter Zijlstra , Thomas Gleixner , Juri Lelli , Steven Rostedt , Ben Segall , Mel Gorman , Daniel Bristot de Oliveira , Valentin Schneider Content-Type: text/plain; charset="UTF-8" On Fri, 12 Jan 2024 at 19:18, Qais Yousef wrote: > > On 01/12/24 15:23, Dietmar Eggemann wrote: > > On 11/01/2024 19:16, Vincent Guittot wrote: > > > On Thu, 11 Jan 2024 at 18:53, Linus Torvalds > > > wrote: > > >> > > >> On Thu, 11 Jan 2024 at 09:45, Linus Torvalds > > >> wrote: > > >>> > > >>> On Thu, 11 Jan 2024 at 00:11, Vincent Guittot > > >>> wrote: > > >>>> > > >>>> Could you confirm that cpufreq governor is schedutil and the driver is > > >>>> amd-pstate on your system ? > > >>> > > >>> schedutil yes, amd-pstate no. I actually just use acpi_cpufreq > > >> > > >> Bah. Hit 'send' mistakenly too soon, thus the abrupt end and > > >> unfinished quoting removal. > > >> > > >> And don't ask me why it's acpi_pstate-driven. I have X86_AMD_PSTATE=y, but > > >> > > >> /sys/devices/system/cpu/cpufreq/policy0/scaling_driver > > >> > > >> clearly says 'acpi-cpufreq'. Maybe I'm looking in the wrong place. My dmesg says > > > > > > That seems to be the right place to look > > > > > >> > > >> amd_pstate: the _CPC object is not present in SBIOS or ACPI disabled > > >> > > >> which is presumably the reason my machine uses acpi-pstate. > > >> > > >> I will also test out your other questions, but I need to go back and > > >> do more pull requests first. > > > > > > ok, thanks > > > > > > I'm going to continue checking what else could trigger such regression > > > having in mind that your system should not have beeb impacted by this > > > changes > > > > I can't see the regression on my > > > > 20-core (40-thread) Intel Xeon CPU E5-2690 v2 > > > > with 'schedutil' and 'acpi-cpufreq'. > > I tried to reproduce on AMD 3900X 12-Core system. I don't see any difference > in compiling defconfig with and without the two patches reverted. ~1m26s. Thanks for testing. I haven't been able to reproduce the problem too. But my system are quite different > > using schedutil and acpi-cpufreq driver too. > > I disabled CONFIG_UCLAMP_TASK and that didn't make a difference. > > I would have expected the iowait boost to be the more troublesome being the > more subtle one tbh.