Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp3926322imm; Tue, 11 Sep 2018 04:24:18 -0700 (PDT) X-Google-Smtp-Source: ANB0VdYDyHlIVIozLM00RsDBSPGBeFNQU+r7erLrIK3PfVkS8GBiUex6ayKnVJ0qGIOic+yBffh4 X-Received: by 2002:a63:6054:: with SMTP id u81-v6mr27902580pgb.433.1536665058149; Tue, 11 Sep 2018 04:24:18 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536665058; cv=none; d=google.com; s=arc-20160816; b=UP8wWyD2XGlUp99wPTJ6vX6T+0oRhHyf/4pH8RQbLsvPB7paqQZ+oa/XSuPEkZk5UE ImnoqEyWRpGZ/W5+yzdijiXDBSb1JNKAyJxFqbkFcLwYAfqykiqkR0JAyemw8Kaug7xS ilsWWiYhIsUStli+vEWWFW6FHkUMNAYXP879L15vBfyS1iyGh23lyK5Z5xY0QFBCfrk3 wVjMgLeI3ffsTg8tc5CdY7IxBMx6WV5lEdqguQLp2VtLmprclC5UFb3qsGJ0K+YEkTSp WJtd/GA+EqdqO6vAJ0p5KwisA1YMH3eY10GRObq1GO1i8U55u8sgeRVsQByzlcaHekYM ZJnQ== 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:message-id:date:subject:cc:to:from; bh=UwrbUUjG1karv01Sq6+PQSg5JAfUQAwn7TjIX3jIuNk=; b=yxtLw0j91I5Uo7Xu0q3IRUoIsyZD9B3mM64SXz5plFhOeTjlWy2/sZj4WC5NL1KaJw axSaYsld8IGQeL47nAt8uIU23i56Lshr6uU8KMWNcCszogk6+BQA93mkMj+G2pqTGHEg EA7rtIukK4YpyrKL5epLWX2qFLOCQ8HhpkpcGVlxIRnBPpHmb+I/LY7+Xy/PlvYF5ss7 Pd3WJFeCkxPqtH/A8Wmn3kFP5d/pXwPwK17OTaU9koRhvAjHWSPsuqzCyYk7rT9ug1CT izgWAFb8LVKxyiavIinxyZeMD7W1UwKC8OECiC0+rQKAEPxlL9LafoTZ78gU1COcmdX0 42Gw== 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 k18-v6si20380175pgl.364.2018.09.11.04.24.02; Tue, 11 Sep 2018 04:24:18 -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 S1726885AbeIKQWt (ORCPT + 99 others); Tue, 11 Sep 2018 12:22:49 -0400 Received: from cloudserver094114.home.pl ([79.96.170.134]:56594 "EHLO cloudserver094114.home.pl" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726713AbeIKQWt (ORCPT ); Tue, 11 Sep 2018 12:22:49 -0400 Received: from 79.184.255.178.ipv4.supernova.orange.pl (79.184.255.178) (HELO aspire.rjw.lan) by serwer1319399.home.pl (79.96.170.134) with SMTP (IdeaSmtpServer 0.83.123) id 3fcb82902d0195dd; Tue, 11 Sep 2018 13:23:54 +0200 From: "Rafael J. Wysocki" To: Francisco Jerez Cc: Srinivas Pandruvada , Eero Tamminen , lenb@kernel.org, viresh.kumar@linaro.org, mgorman@techsingularity.net, ggherdovich@suse.cz, peterz@infradead.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org Subject: Re: [PATCH] cpufreq: intel_pstate: Optimize IO boost in non HWP mode Date: Tue, 11 Sep 2018 13:21:17 +0200 Message-ID: <23293649.J1qzPCXian@aspire.rjw.lan> In-Reply-To: <87in3j9s07.fsf@riseup.net> References: <20180831172851.79812-1-srinivas.pandruvada@linux.intel.com> <8c56f28c2cc11de37fa3517348559eb040894702.camel@linux.intel.com> <87in3j9s07.fsf@riseup.net> MIME-Version: 1.0 Content-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thursday, September 6, 2018 6:20:08 AM CEST Francisco Jerez wrote: > > --==-=-= > Content-Type: multipart/mixed; boundary="=-=-=" > > --=-=-= > Content-Type: text/plain; charset=utf-8 > Content-Disposition: inline > Content-Transfer-Encoding: quoted-printable > > Srinivas Pandruvada writes: > > > [...] > > > >> > >=20 > >> > > This patch causes a number of statistically significant > >> > > regressions > >> > > (with significance of 1%) on the two systems I've tested it > >> > > on. On > >> > > my > >> >=20 > >> > Sure. These patches are targeted to Atom clients where some of > >> > these > >> > server like workload may have some minor regression on few watts > >> > TDP > >> > parts. > >>=20 > >> Neither the 36% regression of fs-mark, the 21% regression of sqlite, > >> nor > >> the 10% regression of warsaw qualify as small. And most of the test > >> cases on the list of regressions aren't exclusively server-like, if > >> at > >> all. Warsaw, gtkperf, jxrendermark and lightsmark are all graphics > >> benchmarks -- Latency is as important if not more for interactive > >> workloads than it is for server workloads. In the case of a conflict > >> like the one we're dealing with right now between optimizing for > >> throughput (e.g. for the maximum number of requests per second) and > >> optimizing for latency (e.g. for the minimum request duration), you > >> are > >> more likely to be concerned about the former than about the latter in > >> a > >> server setup. > > > > Eero, > > Please add your test results here. > > > > No matter which algorithm you do, there will be variations. So you have > > to look at the platforms which you are targeting. For this platform=20 > > number one item is use of less turbo and hope you know why? > > Unfortunately the current controller uses turbo frequently on Atoms for > TDP-limited graphics workloads regardless of IOWAIT boosting. IOWAIT > boosting simply exacerbated the pre-existing energy efficiency problem. My current understanding of the issue at hand is that using IOWAIT boosting on Atoms is a regression relative to the previous behavior. That is what Srinivas is trying to address here AFAICS. Now, you seem to be saying that the overall behavior is suboptimal and the IOWAIT boosting doesn't matter that much, so some deeper changes are needed anyway. That may be the case, but if there is a meaningful regression, we should first get back to the point where it is not present and then to take care of the more general problems. So, I'd like to understand how much of a problem the IOWAIT boosting really is in the first place. If it is significant enough, let's address it first, this way or another, and move on to the other problems subsequently. Thanks, Rafael