Received: by 2002:a05:7412:419a:b0:f3:1519:9f41 with SMTP id i26csp4204618rdh; Tue, 28 Nov 2023 15:11:03 -0800 (PST) X-Google-Smtp-Source: AGHT+IGzOPKyVtt5TyKmy1s5kVoH7a6HNO/WVkmTUmCbsTIyXQuBIF+qHfRewIq0VSC1vfHDaW34 X-Received: by 2002:a05:6830:118e:b0:6be:e447:da3 with SMTP id u14-20020a056830118e00b006bee4470da3mr17288830otq.28.1701213063424; Tue, 28 Nov 2023 15:11:03 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1701213063; cv=none; d=google.com; s=arc-20160816; b=mHuUTP3zrn0OOdGrqKrHypd7uHd//ChyXI22FG6qSKwOtCzXbdsd110gIDkSWHm00t JhabZa0+cM1iQxFcnOmoTXHXQ86+uNSV08jNCTxuRXbRYcytfwhOXxqgnQ8zTkambqJJ Dt0ndWaOJVIBtlxkG7xnSQLhy83vWcUm5QaHRfBp2aMlJGqHr/DeOZaTTYRDdaUImHBs ke2cgC/2AwfN3Sbn/ZkcXtaUk5TzR+n4Bf0De/4qa5WJaz4p3D9oJsuDUYJ1ihe2FnG/ CjmRkMzaJ7t6/X0jjMiXV9cOYTkvxdC8qKbLqD/ybuFLUPstkdQ0cJSX6isgLvP0Yi42 KqNw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:mime-version:user-agent :content-transfer-encoding:references:in-reply-to:date:cc:to:from :subject:message-id:dkim-signature; bh=ZQ7pjobZBzmg6qSv+zQYyIgwTJqgQXzpkZP/AuJ21dE=; fh=RMRGKjj9uGTcyD0dM543ruIBJD6XAMgJDwVAipvnmXc=; b=QqSGeOz4qpiRmYncnHq9cTt2xJtFzm+IDRHW9/Rnup4XsXQd+MV2rcxpDRT/ozEBIw 3QlUpj08oGT6qMz5fparFbNxyCNrSh7DwwddXFuaZbsMffKFFY8+ZUXDJfFCupEXag7y CvmzcX/qEhfEwqQ/tBH+Hdo6GEpzrmh3u8ALl1L7CBlMQB2oBnAbZb5XERCuepFndD3B xuaXadHWXWrBsYOIjpZEqaps47nWgHYEHYn+RcCT5jJx285JzroiEYRzbkVPGgdwzLvn H7SSnjIGxSiWRytyr2IWUjG9pyF3j3e6E0KPH8k4tqzTuR/F6xRf7ODOgSw5so8tRpU5 tWKg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=CsNWgoX+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from fry.vger.email (fry.vger.email. [23.128.96.38]) by mx.google.com with ESMTPS id y192-20020a638ac9000000b0059bdf5a4ecfsi12764631pgd.247.2023.11.28.15.11.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Tue, 28 Nov 2023 15:11:03 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) client-ip=23.128.96.38; Authentication-Results: mx.google.com; dkim=pass header.i=@intel.com header.s=Intel header.b=CsNWgoX+; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.38 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: from out1.vger.email (depot.vger.email [IPv6:2620:137:e000::3:0]) by fry.vger.email (Postfix) with ESMTP id EBF8880A4AE3; Tue, 28 Nov 2023 15:11:00 -0800 (PST) X-Virus-Status: Clean X-Virus-Scanned: clamav-milter 0.103.11 at fry.vger.email Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229918AbjK1XKq (ORCPT + 99 others); Tue, 28 Nov 2023 18:10:46 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:38008 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229788AbjK1XKn (ORCPT ); Tue, 28 Nov 2023 18:10:43 -0500 Received: from mgamail.intel.com (mgamail.intel.com [192.55.52.43]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A27DE183; Tue, 28 Nov 2023 15:10:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=intel.com; i=@intel.com; q=dns/txt; s=Intel; t=1701213049; x=1732749049; h=message-id:subject:from:to:cc:date:in-reply-to: references:content-transfer-encoding:mime-version; bh=ZQ7pjobZBzmg6qSv+zQYyIgwTJqgQXzpkZP/AuJ21dE=; b=CsNWgoX+w05LGvvSfxs19/yGqGSsvdqAyYbBxdyeb2cBB8iiNePdnZtE Hk6t1LsYOiSlSMxFY9o3GBYwjNGHy/MKC8IiDctGq9PGSiVuJvBl424d9 Z/nW+aQYzmS50MOpr1ETkv/WUikIPCZC5ioNphLbKuCJsHewOOV43R4oH 9hS5OGDIUV1oiHoLInRdSLSROMR8kloK8OP4YmO7cx312ooxuYV8Jl7Ne dZX+duwURImGKq8SvWOQM8Sfx+xyzdU1Y0cFNxwK1mI7NZVSrDmeBzQ83 CsITKXrG7IsdFxJd+L2kJ/QLMmHYkpIAwesnpdTfNrycVIu2PnYMlSLac w==; X-IronPort-AV: E=McAfee;i="6600,9927,10908"; a="479245605" X-IronPort-AV: E=Sophos;i="6.04,234,1695711600"; d="scan'208";a="479245605" Received: from orsmga004.jf.intel.com ([10.7.209.38]) by fmsmga105.fm.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Nov 2023 15:10:49 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=McAfee;i="6600,9927,10908"; a="892236858" X-IronPort-AV: E=Sophos;i="6.04,234,1695711600"; d="scan'208";a="892236858" Received: from bmnolan-mobl.amr.corp.intel.com (HELO [10.209.106.201]) ([10.209.106.201]) by orsmga004-auth.jf.intel.com with ESMTP/TLS/ECDHE-RSA-AES256-GCM-SHA384; 28 Nov 2023 15:10:48 -0800 Message-ID: Subject: Re: Fwd: Intel hybrid CPU scheduler always prefers E cores From: Tim Chen To: Ramses Cc: Bagas Sanjaya , Linux Kernel Mailing List , Linux Regressions , Linux Power Management , "Rafael J. Wysocki" , Viresh Kumar , Ingo Molnar , Peter Zijlstra , Juri Lelli , Vincent Guittot , Yu Chen , srinivas.pandruvada@linux.intel.com Date: Tue, 28 Nov 2023 15:10:48 -0800 In-Reply-To: References: <01df8329-06d7-4fd1-9c7a-05296f33231e@gmail.com> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.44.4 (3.44.4-2.fc36) MIME-Version: 1.0 X-Spam-Status: No, score=-0.8 required=5.0 tests=DKIMWL_WL_HIGH,DKIM_SIGNED, DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,MAILING_LIST_MULTI, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on fry.vger.email Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.6.4 (fry.vger.email [0.0.0.0]); Tue, 28 Nov 2023 15:11:01 -0800 (PST) On Tue, 2023-11-28 at 23:33 +0100, Ramses wrote: > I applied the patch on top of 6.6.2, but unfortunately I see more or less= the same behaviour as before, with single-threaded CPU-bound tasks running= almost exclusively on E cores. > > Ramses I suspect that you may have other issues. I wonder if CPU priorities are ge= tting assigned properly on your system. Saw in the original bugzilla=20 https://bugzilla.kernel.org/show_bug.cgi?id=3D218195 that you don't see /proc/sys/kernel/sched_itmt_enabled which may be a symptom of such a problem. +Srinivas, is there something Ramses can do to help find out if there are issues with cppc? Tim