Received: by 2002:a05:6a10:6744:0:0:0:0 with SMTP id w4csp5219125pxu; Wed, 21 Oct 2020 17:38:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxWH7wjgiTjS+n3VSs68cYl5d2H3dqBaOOl/BdyepCh8K8h+pCcz1RXfLzDcca+o0uQENaj X-Received: by 2002:a05:6402:1779:: with SMTP id da25mr60280edb.60.1603327103133; Wed, 21 Oct 2020 17:38:23 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603327103; cv=none; d=google.com; s=arc-20160816; b=09AX6PfkQ6C6uM7SIZA+umQD0FVALQQfcxgDBIqKFOnzdkS6wmQZpIddAmaHwlZH1L TUUuBV5IM1FcfuVyVz+eDb5VngG3wUAuy/CiGsUOkDS8oPLkI59fdLZ8WjAJ8pFFc/nz XJgbNv7X3Huzmcl4flbvjCiaZ6IswdiUygu1wfv9gj0s53voxSU7Gohln7up/aTfEHgB GAZn6d88jOGF2zZMO2qLQivMQqNpmGqykDSxId9JT+wcdGyoLt0sKCLFi0SH4SNG4Ghn x8c3pmAR1PPxbgaiSA7TYW8knx+bZ3PoYbAVscDs64hL+8htm/qs/PH/nPmCZAhc603p RpEw== 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=hN0zFVGSnIBQFQ8IRvQO6/V6IKQbWcpMNXqzPc1hVKY=; b=sE7QV+64Xat7kxHIAKjZxqdWJQwSEcFLBY/o6ijdMUAc57jb8YDZtdvtsfBmXYbm4k 1AC2tefApTVBe+A78XzoHdZ5t89ZKx0vd/sRbpqxrxiHe2IRR06sX2paXD4wKr1Rswh8 oec5VZty1FNX+GXH6vTAruIvNUww150cotw/K7wxQ/IoBvpr14NGute3yqk1iX0gmxy9 eoDzNn9ZYnmy2HdNAWV/yKTqaVI6KwSfSUAZsYWDv7pHykQ91xLd7qmM7Pp7pl4+3jkI nUIV7xSkj6PxJ+r+yXB6E4V8/FbfaHgx3Rx+yCKFa6HsrruyIsXqzVfgx6tBYWgcJ2db 1PFw== 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 t3si2480741edw.568.2020.10.21.17.38.00; Wed, 21 Oct 2020 17:38:23 -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 S2436466AbgJUMmt (ORCPT + 99 others); Wed, 21 Oct 2020 08:42:49 -0400 Received: from mail2-relais-roc.national.inria.fr ([192.134.164.83]:46320 "EHLO mail2-relais-roc.national.inria.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2390624AbgJUMmt (ORCPT ); Wed, 21 Oct 2020 08:42:49 -0400 X-IronPort-AV: E=Sophos;i="5.77,401,1596492000"; d="scan'208";a="473679023" Received: from 173.121.68.85.rev.sfr.net (HELO hadrien) ([85.68.121.173]) by mail2-relais-roc.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 21 Oct 2020 14:42:21 +0200 Date: Wed, 21 Oct 2020 14:42:20 +0200 (CEST) From: Julia Lawall X-X-Sender: jll@hadrien To: Peter Zijlstra cc: Julia Lawall , 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 , "Rafael J. Wysocki" , viresh.kumar@linaro.org, srinivas.pandruvada@linux.intel.com Subject: Re: [PATCH] sched/fair: check for idle core In-Reply-To: <20201021121950.GF2628@hirez.programming.kicks-ass.net> Message-ID: References: <1603211879-1064-1-git-send-email-Julia.Lawall@inria.fr> <20201021112038.GC32041@suse.de> <20201021121950.GF2628@hirez.programming.kicks-ass.net> 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, 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. julia