Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp3413494imm; Tue, 4 Sep 2018 23:01:08 -0700 (PDT) X-Google-Smtp-Source: ANB0VdadGz1/jBdqsYQ4BSUOOY4VdtDiURGspcCeiZhIZoTBiW5eWHEWZrvlefjy7cIfQbdD+XQx X-Received: by 2002:a62:1314:: with SMTP id b20-v6mr39235728pfj.230.1536127268856; Tue, 04 Sep 2018 23:01:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1536127268; cv=none; d=google.com; s=arc-20160816; b=iEGrwv4IauHpFLw2iflrzDFxK44GDbZYBN2HyGeo30fSpGv7OTHSMS7vXNCfmeRphd 1xOFiku7ie/GpyWCFntdqGjoa9BE/eS6ov+LwrgSohucKkGTVnweelwhYp7PEQlcB4pQ XmqZDxSOVg0eFXpsLKwEI5baUsFwyj8QjdsJ5EdSSnL6lJbCNa8TxREcOh5dhiH6B060 c5QQC6X4c6JQZfyF/9IFHQKwMulOjfPbIzEAERjq/Zgfqh1IAlG/VIcxweYgoqa2734l K9K8EMztrpHt7PuUSeX0vZw8UJ7/Ngv0n+Nzh/7iTk2aqVpibmnuJ/vk5KrzrfTuTSDr dC1g== 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=Vt/lcxrKvtyIVOj9xV4sApUCbDQ5wG+0vchvPEYlwbY=; b=uw2CU7NCOmxhssUFH2V+M5xDrTYwJG98Pv3psFdV3I6c4suld2rWjbu+noNIgtFIHp vwReGNX+oZfqO8ivi8xMOVqSLZvS+IjYhMgh9E6zNRlH8sGXSL7Mf4J4IFr0H6jiNTcZ 2yHnceb4kWKFyNyeHAOHBDYjgahnJgiXOYA9ltn5OQn0d3r/ixf4LA5lvfsim18ak0EG wHzmAtleceSrjkpLwuZwDznZDgYsDtvHjfvSffRZTKprDPETjVpo3JU6B5nujLWgSMmV nYHDXWNTb0B5ejdmA5b1r0Zce7myaMwiXjd2vk/RoOz7DexX5UbNMShVqGvXjNyWYzA+ 2OZg== 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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id 3-v6si953071plc.282.2018.09.04.23.00.53; Tue, 04 Sep 2018 23:01:08 -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; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=intel.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727100AbeIEK2D (ORCPT + 99 others); Wed, 5 Sep 2018 06:28:03 -0400 Received: from mga11.intel.com ([192.55.52.93]:49646 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726230AbeIEK2D (ORCPT ); Wed, 5 Sep 2018 06:28:03 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from fmsmga003.fm.intel.com ([10.253.24.29]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 04 Sep 2018 22:59:32 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.53,332,1531810800"; d="scan'208";a="78071019" Received: from spandruv-mobl.amr.corp.intel.com ([10.254.97.104]) by FMSMGA003.fm.intel.com with ESMTP; 04 Sep 2018 22:59:18 -0700 Message-ID: <8c56f28c2cc11de37fa3517348559eb040894702.camel@linux.intel.com> Subject: Re: [PATCH] cpufreq: intel_pstate: Optimize IO boost in non HWP mode From: Srinivas Pandruvada To: Francisco Jerez , Eero Tamminen , lenb@kernel.org, rjw@rjwysocki.net, viresh.kumar@linaro.org Cc: mgorman@techsingularity.net, ggherdovich@suse.cz, peterz@infradead.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org Date: Tue, 04 Sep 2018 22:59:12 -0700 In-Reply-To: <8736uobu7w.fsf@riseup.net> References: <20180831172851.79812-1-srinivas.pandruvada@linux.intel.com> <1244c5d6-460e-0e0b-b7bf-a46e73327383@intel.com> <8736upda8s.fsf@riseup.net> <8736uobu7w.fsf@riseup.net> Content-Type: text/plain; charset="UTF-8" X-Mailer: Evolution 3.28.5 (3.28.5-1.fc28) 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 [...] > > > > > > This patch causes a number of statistically significant > > > regressions > > > (with significance of 1%) on the two systems I've tested it > > > on. On > > > my > > > > 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. > > 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 number one item is use of less turbo and hope you know why? On this platform GFX patch caused this issue as it was submitted after io boost patchset. So rather that should be reverted first before optimizing anything. > > > But weighing against reduced TURBO usage (which is enough trigger) > > and > > improvement in tests done by Eero (which was primary complaint to > > us). > > > > It is trivial patch. Yes, the patch is not perfect and doesn't > > close > > doors for any improvements. > > > > It's sort of self-contained because it's awfully incomplete.Don't > agtr > > > I see your idea, but how to implement in acceptable way is a > > challenge. > > Main challenge was getting the code to work without regressions in > latency-sensitive workloads, which I did, because you told me that it > wasn't acceptable for it to cause any regressions on the Phoronix > daily-system-tracker, whether latency-bound or not. Yes, because your intention was to have a global change not a low power Atom specific, > What is left in > order to address Peter's concerns is for the most part plumbing, > that's > guaranteed not to have any functional impact on the heuristic. The > fact > that we don't expect it to change the performance of the system makes > it > substantially less time-consuming to validate than altering the > performance trade-offs of the heuristic dynamically in order to avoid > regressions (which is what has kept my systems busy most of the time > lately). Seems like my series, even in its current state without the > changes requested by Peter is closer to being ready for production > than > this patch is. Sorry, Not at all. We call such patches as experimental series. You caused 100% regression to idle power. There is no version 2 after that, even if you fixed locally even to look. Thanks, Srinivas