Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp5371588pxu; Wed, 21 Oct 2020 23:47:52 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwJkpONGvghfx0nlmmtrcQe7HodDZ0LLFfIE5vaa27EgCTlZR5z1lpkq2YFq7tf2xWkIDPn X-Received: by 2002:a50:88e5:: with SMTP id d92mr921334edd.145.1603349271881; Wed, 21 Oct 2020 23:47:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603349271; cv=none; d=google.com; s=arc-20160816; b=QZUJj2Qxy5amNHwvySOf8DT3iI3PAYTM0oZNs0u/LhxsZ4ga6DDvchQReyrAVM3rvx 2qcCeEnJ/lBPCDtqNWlfKSW/1Hxjb0v/3gN0lpG/FHk1LTBELDPErpCyTJSJO9aqGdB7 YIspBL0tn50YPyovz1r71aiCrenCHE0xmqLsHZ8H2R8UswAed/ebr2f9B0ps1Nvcbi7P 2XO8J+H1gpCjXabkbbkJUQDkUguygEg8kTS9Z0vot45rmZf4u+KqmD6Dc0nkGqu6h0vy gRjmyhKjp5eHbKsyNCkNqnePQu+H9jrvOdy1dIbrgSTmUo7Xef0zM986YrjQKaMHDocR athA== 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:references:message-id :in-reply-to:subject:cc:to:from:date; bh=yPceyM+lc9XG9bWvUIpRRa7w02/UASCaEQyreOR00ec=; b=UCPJMW5EfnF8KixMnZvZehOlm7IL/Pn1ggcNQxAp5+Ifxn4bS0WTIP9gXL2uy3fmNP dJrdiZ3YFoW8o0XEBW6pExe7pNsoPtndFbO563/z7D+pVbYG99m68ADrl1PTpIcUP4fS GjIoWUMjYZalJI3QvO5tknb9LU2xW1o92/nTNzI35NsDBnQhXI+AeBumV70fGvGzoI40 LTvNGAcSBCNDt1vDcrwdS/R4aXPEsWS9nY4BjbhQclTg6VXlIPPS/z40CpBlav42tG/Y 4HPQjBgb8aJuT18+MaWQXa9rR2Z4lpyeJfsgPVeSpjdvePTcLaHxcc25Q/UcTdL80dUL 2Lng== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id z10si280461eje.564.2020.10.21.23.47.29; Wed, 21 Oct 2020 23:47:51 -0700 (PDT) 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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S2411920AbgJUTrz (ORCPT + 99 others); Wed, 21 Oct 2020 15:47:55 -0400 Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]:38802 "EHLO mail3-relais-sop.national.inria.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2409957AbgJUTry (ORCPT ); Wed, 21 Oct 2020 15:47:54 -0400 X-IronPort-AV: E=Sophos;i="5.77,402,1596492000"; d="scan'208";a="362429807" Received: from abo-173-121-68.mrs.modulonet.fr (HELO hadrien) ([85.68.121.173]) by mail3-relais-sop.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 21 Oct 2020 21:47:51 +0200 Date: Wed, 21 Oct 2020 21:47:51 +0200 (CEST) From: Julia Lawall X-X-Sender: jll@hadrien To: "Rafael J. Wysocki" cc: Julia Lawall , Peter Zijlstra , Mel Gorman , Ingo Molnar , kernel-janitors@vger.kernel.org, Juri Lelli , Vincent Guittot , Dietmar Eggemann , Steven Rostedt , Ben Segall , Daniel Bristot de Oliveira , linux-kernel@vger.kernel.org, Valentin Schneider , Gilles Muller , viresh.kumar@linaro.org, srinivas.pandruvada@linux.intel.com Subject: Re: [PATCH] sched/fair: check for idle core In-Reply-To: <20581608.8Dxr8OdOFj@kreacher> Message-ID: References: <1603211879-1064-1-git-send-email-Julia.Lawall@inria.fr> <20201021121950.GF2628@hirez.programming.kicks-ass.net> <20581608.8Dxr8OdOFj@kreacher> User-Agent: Alpine 2.22 (DEB 394 2020-01-19) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, 21 Oct 2020, Rafael J. Wysocki wrote: > On Wednesday, October 21, 2020 2:42:20 PM CEST Julia Lawall wrote: > > > > On Wed, 21 Oct 2020, Peter Zijlstra wrote: > > > > > On Wed, Oct 21, 2020 at 01:56:55PM +0200, Julia Lawall wrote: > > > > Prior to 5.8, my machine was using intel_pstate and had few background > > > > tasks. Thus the problem wasn't visible in practice. Starting with 5.8 > > > > the kernel decided that intel_cpufreq would be more appropriate, which > > > > introduced kworkers every 0.004 seconds on all cores. > > > > > > That still doesn't make any sense. Are you running the legacy on-demand > > > thing or something? > > > > > > Rafael, Srinivas, Viresh, how come it defaults to that? > > > > The relevant commits are 33aa46f252c7, and 39a188b88332 that fixes a small > > bug. I have a Intel(R) Xeon(R) CPU E7-8870 v4 @ 2.10GHz that does not > > have the HWP feature, even though the cores seemed to be able to change > > their frequencies at the hardware level. > > That's in the range of "turbo" P-states (if a P-state above a certain threshold > is requested by the governor, the processor has a license to choose P-states > in the range above this threshold by itself). Sorry, but I don't understand this answer at all. thanks, julia