Received: by 2002:a05:7412:e794:b0:fa:551:50a7 with SMTP id o20csp2470545rdd; Fri, 12 Jan 2024 10:18:22 -0800 (PST) X-Google-Smtp-Source: AGHT+IG9+I6DjB3Vv1kPRxBg+Qp5UR5LqIx8D2wbkg+mV/+BU29Se6QyoI6FmQ3MhP4Ml/cvUF2n X-Received: by 2002:a17:902:7896:b0:1d4:ebbd:e7dd with SMTP id q22-20020a170902789600b001d4ebbde7ddmr1545780pll.125.1705083502106; Fri, 12 Jan 2024 10:18:22 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1705083502; cv=none; d=google.com; s=arc-20160816; b=luMr/Dk9LwrhLbDyNcatBoqTc6wKPWgIa2XOXjbElRyLE8WK83CfLIRWYIrzNZSB3p hnE52KaMQvr3fHcLR4XMfd1hDBSO+lYH6t9apDlk6S4aSO9pzV5VCTmQ7kakj/xpuhlq 7EaokaRvoBI1ND7ub/rYDR1kuVV6tdbJS76TbB1qDW7DtmUttrPaMn1Ku0l2TLrE8oYT /V0tEngPWz+Fw6jga65MfzLtpy8uBlX2PuQx/7dWJFQj9xe6HaA1Sa5Bl40DOQr/p8IR Q53jpl62qgelco5ioD7EtBtoBpQdTHP5PmQGQpjddH25CI4Y4gtIIaKl/a9R7Onk+/Xb g0ng== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=in-reply-to:content-disposition:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:message-id:subject:cc :to:from:date:dkim-signature; bh=zzBITAPUo9KWi3BzneFq2htMGoTE+YKiey/v6v44744=; fh=8S10M6v2IhBceEKxbBynb2vYOOm05CTXGC6UlBL8T+c=; b=0HRtTq1PQbg8wYOxOaYCFybaXtHxXf9zrEQAKgWmsAMQohPkxEfjxcmw7ELkE9jOjF ahwdu9P7s6ogNjzlNBMxKOXhvyYxuTsgOOHDArdj/wLiyPniVpjrvtWcuz04a/YWDjO+ N2uOJoat5W0C6yLENguDhKa+6jSewYIHsGq5SntxbQdFkR8NZZQsfyhGT9/oye44xHGe XBX4pSCjZeHnk7PjXM/wwRiR1qMa+zG+FRbmPvU44qbx13/j1pMt6nF3pOtCTfnECFwP r+t3WoKlBEZ9a2Ks44TjFrF8dF/opytpDKbfh7/Fztiu3t0dI6DIayn8W2hewAolb7+R UZrQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@layalina-io.20230601.gappssmtp.com header.s=20230601 header.b=1jHM8VKc; spf=pass (google.com: domain of linux-kernel+bounces-24960-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-24960-linux.lists.archive=gmail.com@vger.kernel.org" Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id e9-20020a17090301c900b001d4bd1d0efesi4031323plh.426.2024.01.12.10.18.21 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Jan 2024 10:18:22 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-24960-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@layalina-io.20230601.gappssmtp.com header.s=20230601 header.b=1jHM8VKc; spf=pass (google.com: domain of linux-kernel+bounces-24960-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-24960-linux.lists.archive=gmail.com@vger.kernel.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 sy.mirrors.kernel.org (Postfix) with ESMTPS id 753D8B21CFB for ; Fri, 12 Jan 2024 18:18:18 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 0207325605; Fri, 12 Jan 2024 18:18:12 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=layalina-io.20230601.gappssmtp.com header.i=@layalina-io.20230601.gappssmtp.com header.b="1jHM8VKc" Received: from mail-wr1-f46.google.com (mail-wr1-f46.google.com [209.85.221.46]) (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 16F0C17C8D for ; Fri, 12 Jan 2024 18:18:08 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=layalina.io Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=layalina.io Received: by mail-wr1-f46.google.com with SMTP id ffacd0b85a97d-336dcebcdb9so6037191f8f.1 for ; Fri, 12 Jan 2024 10:18:08 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=layalina-io.20230601.gappssmtp.com; s=20230601; t=1705083487; x=1705688287; darn=vger.kernel.org; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:from:to:cc:subject:date:message-id:reply-to; bh=zzBITAPUo9KWi3BzneFq2htMGoTE+YKiey/v6v44744=; b=1jHM8VKcytZT8S0RZEaCRU0bVJepvO/QDt1Ix6oBOfuNqt1JNSl40PU9r8/GX86WiX xcI3MQOqDGsIoyXjI48IgE5v9lbXwvOhyhG+5nP1i97Z6ZScXP96H2xEeDMyM3RxJL3Z g3s0Yg33eSXlj17ftYX3Zh6midPEGZkvgoCbSD9H+KQ7r5Thfa66qvN+jNepmuR8oDFP f2Ztkcg5BTSTaCthhOjUA12uaR0RRBG66oLrYdhtzEUiKvk0dqZaoXwCI6VaThISN/t6 GaCB6rA/6ZQckXWb7yUbKEJxRQzIJc/QBkcvFjABBfo46YOOonPoUD1EWdBDhuMObh73 vLNA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1705083487; x=1705688287; h=in-reply-to:content-disposition:mime-version:references:message-id :subject:cc:to:from:date:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to; bh=zzBITAPUo9KWi3BzneFq2htMGoTE+YKiey/v6v44744=; b=Zox8vn8dFgCc+i6LjmLg1+unzArImeB15gq5VO4uJ0paVprl06/kbHi2WEI2OaBm18 4IsyhHHaL0+bk1v7kPGDpIMuSDjhg+XP548RvDLIs9ArAPtWWlqL8+zwZVXkUODiZPpb ss/lb9hCkUZbd/4o+j5++E3J0h+9TzgJYtQye0cFtui73SxRUCWXpfgZJKa/KmSatWen dwsT7iZzb3z4Bhe3DuIVsEOIUEdMUCnqBEH/h323+25c/zRZOgzINZ0HAxJd5uWEdTMb MRv5Up7Ji6U5s2ilNkSXXMgygg/5wpQdDDrG3ihIjUuc3z5qFuVrrrqJKoI5oc4KV/ZK 8Fdw== X-Gm-Message-State: AOJu0YxZovre9+wPUkD3BdzuP0nTNUK4VfvUeoAqqXVa7vMITpQpvCfl 32gwtvvg5dSETqkjLp3zGVdiqYyzV+zZ9A== X-Received: by 2002:adf:f404:0:b0:336:780d:cea5 with SMTP id g4-20020adff404000000b00336780dcea5mr434798wro.153.1705083487146; Fri, 12 Jan 2024 10:18:07 -0800 (PST) Received: from airbuntu (host109-154-205-127.range109-154.btcentralplus.com. [109.154.205.127]) by smtp.gmail.com with ESMTPSA id v17-20020a5d43d1000000b0033760ad2eabsm4501172wrr.69.2024.01.12.10.18.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 12 Jan 2024 10:18:06 -0800 (PST) Date: Fri, 12 Jan 2024 18:18:05 +0000 From: Qais Yousef To: Dietmar Eggemann Cc: Vincent Guittot , 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 Subject: Re: [GIT PULL] Scheduler changes for v6.8 Message-ID: <20240112181805.bjvrkvvkszdfa7co@airbuntu> References: <4405adb5-0b16-4716-9542-47d8bb1737ee@arm.com> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: <4405adb5-0b16-4716-9542-47d8bb1737ee@arm.com> 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. 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.