Received: by 2002:a25:6193:0:0:0:0:0 with SMTP id v141csp4496999ybb; Tue, 7 Apr 2020 08:36:21 -0700 (PDT) X-Google-Smtp-Source: APiQypKTkCfnESgi2gKZG/zqxdJcEu0+mYbr0ErSkL0n4WoAcxKXcovGuluGck7SUeq8n7hSKkD4 X-Received: by 2002:a9d:5e86:: with SMTP id f6mr2199798otl.238.1586273780964; Tue, 07 Apr 2020 08:36:20 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1586273780; cv=none; d=google.com; s=arc-20160816; b=XQJwrAFj/wjbt6dEYU1TheZQuVNEsId9qmsObZXO+gKPQ7FlW7qq2i+eKOIv/OFQav hCf8n+/sStPgd6qqA193K5HxFAPuh0lw8h4uqLuAngr++/tI7AVBhaJXOCq7dtw7aZ3z KmM//mXOBuWESaODFZzuF45BfcB9n6PFwbCCcOUonefNAHnry4uGqQ3VGk7zQYztJ6V0 hqOybzY2WyrmjEHs468TcRDotM2BG+4B/wCDW9UPmwzte66XgHhhhviSOVDD3dJJ2N8D fYl1eKeynSnFdknL3/fk94w82KZ/BmYxDqEY2e/3mERb3Rgz2fZAuRR+tand36kXyH4P yMVA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:date:cc:to:from:subject:message-id; bh=CB+S7Hxo2wzAubQisQyhVT1ofq+pj5IdDGrLQ+OwIYg=; b=N8sHzMcgGmkvTzR5c9MWQQiWCSu3HA259i6FVSmby0Bt980VVndWhlDRH54jOB9fWS 7vq8cPCBeKfjCMcXsbwyuJti26ZUyzTaEm7RFdN4xTIOM2q40Hwp/EcNFi2P0KSofqD4 G1xxfgc8yzj0GwvWLeftP5iapmfwdwR7sO6Uqln3SNQkTdKu8RRCOX6tTx1zAvDMQUDB edgACQmKmMOiEhqVjP3dVIbdTPLQ8uJmS3cirx6nhqWJvBphceVdzk2qfoqYfueAKqNE g+L12Gf3niXM61UbgTWUhJPiiTwSj9bqmS7RsaX8oZu2zgvoMm/7QKtkrL9/3EG++/KT OdcQ== ARC-Authentication-Results: i=1; mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id e6si833933oiy.229.2020.04.07.08.36.07; Tue, 07 Apr 2020 08:36:20 -0700 (PDT) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1729196AbgDGPfa (ORCPT + 99 others); Tue, 7 Apr 2020 11:35:30 -0400 Received: from mx2.suse.de ([195.135.220.15]:55530 "EHLO mx2.suse.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729127AbgDGPfa (ORCPT ); Tue, 7 Apr 2020 11:35:30 -0400 X-Virus-Scanned: by amavisd-new at test-mx.suse.de Received: from relay2.suse.de (unknown [195.135.220.254]) by mx2.suse.de (Postfix) with ESMTP id D84BAAC77; Tue, 7 Apr 2020 15:35:27 +0000 (UTC) Message-ID: <1586273727.1721.20.camel@suse.cz> Subject: Re: [PATCH 0/2] cpufreq: intel_pstate: Run in the passive mode by default on systems without HWP From: Giovanni Gherdovich To: "Rafael J. Wysocki" , Linux PM , Srinivas Pandruvada Cc: LKML , "Rafael J. Wysocki" , Viresh Kumar , Doug Smythies Date: Tue, 07 Apr 2020 17:35:27 +0200 In-Reply-To: <2016232.ihCVsphvri@kreacher> References: <2016232.ihCVsphvri@kreacher> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.26.6 Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, 2020-03-28 at 13:54 +0100, Rafael J. Wysocki wrote: > Hi All, > > These two patches modify the intel_pstate driver to run in the passive mode by > default on systems without HWP (refer to the changelog of patch [2/2] for the > motivation part). > > Internal testing of the system performance in 5.6-rc indicates that the > difference between the active mode with the powersave scaling algorithm and the > passive mode with the schedutil governor should be negligible for the majority > of users, so it should be safe to change the default behavior of the driver as > per the above. > > Patch [1/2] makes changes to select the schedutil governor and set it as the > default one when intel_pstate is selected in Kconfig. > > Patch [2/2] changes intel_pstate to start in the passive by default if HWP is > not supported (or if it is disabled via the kernel command line). > > Please refer to the patch changelogs for more information. > Hello Rafael, just to say that I'm very happy about this patch; I see it as a sensible roll-out strategy for wide adoption of schedutil on x86, as it initially applies to non-HWP only and not to the entire processor model range. As we get more reports of its behavior on the field, we'll see when and how to move forward from there. I didn't reply last week as I was handling some bug reports for frequency invariance on x86; one from LKML (Chris Wilson from Intel found that it crashes when cpu0 is taken offline) and two more reported internally at SUSE. Nothing major though, I am writing fixes for all those and will send a bugfix series within the next few days. Thanks! Giovanni