Received: by 2002:ac0:a5a6:0:0:0:0:0 with SMTP id m35-v6csp1729275imm; Mon, 3 Sep 2018 08:00:36 -0700 (PDT) X-Google-Smtp-Source: ANB0VdaKbMKWrpPvmsDGefUvLkbVHVv4RzLlI/MVTqCBWmTVMabfa5ndkcKyn/WP6kkETh6iyZUo X-Received: by 2002:a17:902:59cf:: with SMTP id d15-v6mr16563845plj.184.1535986836323; Mon, 03 Sep 2018 08:00:36 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1535986836; cv=none; d=google.com; s=arc-20160816; b=veP9fDeRNv3DYYX3XiM7aoNkjfs5LbJq737kRo5tOIyUfmkFaEzZexcFkX1ea820eH kxpiD2cAotHf7NUi+0J9QU4AAyVDJFvefZzPObzQg8gGwD4nUS0/d6s8QuvN4ZDsPbNz cYqFupJTfPWu1LVw02rAx4jVBq66Yj99/LcWcmexnaOfrEKov32+VEMT2U/IFpqZZVza a4stgxEeOBkC90LJ765FSC2IooK0S9ACw+b6T9SzsahbYQQg5X4mPFSAdkpWLS/gQk4o Y/S/v87l6Rf0tFA5v8QLd6gKcRvVFxX1rO0UDjYvA1+PgVg+TGZEMtcbjxpo4RUfjHOU P1Jw== 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 :content-language:in-reply-to:mime-version:user-agent:date :message-id:organization:from:references:cc:to:subject :arc-authentication-results; bh=gv+alTqDMhfPtNzvR+IAfm722OjnjU9+Lbr3KrsQWdQ=; b=jaicXZuuFTlMXM7Dp+6H6gBjUnV8dWbJ69fdlJ3Q5rM5p+zrXHDxl5eJkeyB6vBPgI yhne23ijl6SRCHvSDbEfSNvEKsuXA++lZISLJBHLE8+iPcwqhShnLDQ+24SBtCm+inVi T3Lpzcx86hDJu3h4h9c4VvrO534tA3ykQMe0Bv3r3+AyfIf9IZY3JB91CtT+bHZs0gPa aTfbuNEe83vYpNL/+xvQuaw54Lpu5+W2LhfmuyMH4gcOawRIUWbIIxPnEooaMHzQvAXy VQCdoOgPxiP5vCzXfzr2PQja109ptoSxB3F66ZOpctgJ28Orm5rClq99QZOJ+7KKk0aM xPLQ== 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 66-v6si17223688plb.428.2018.09.03.08.00.21; Mon, 03 Sep 2018 08:00:36 -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 S1727542AbeICTTk (ORCPT + 99 others); Mon, 3 Sep 2018 15:19:40 -0400 Received: from mga18.intel.com ([134.134.136.126]:35464 "EHLO mga18.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725949AbeICTTk (ORCPT ); Mon, 3 Sep 2018 15:19:40 -0400 X-Amp-Result: SKIPPED(no attachment in message) X-Amp-File-Uploaded: False Received: from orsmga002.jf.intel.com ([10.7.209.21]) by orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 03 Sep 2018 07:59:06 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.53,325,1531810800"; d="scan'208";a="88600012" Received: from speedy.fi.intel.com (HELO [10.237.72.71]) ([10.237.72.71]) by orsmga002.jf.intel.com with ESMTP; 03 Sep 2018 07:59:04 -0700 Subject: Re: [PATCH] cpufreq: intel_pstate: Optimize IO boost in non HWP mode To: Srinivas Pandruvada , lenb@kernel.org, rjw@rjwysocki.net, viresh.kumar@linaro.org Cc: mgorman@techsingularity.net, currojerez@riseup.net, ggherdovich@suse.cz, peterz@infradead.org, linux-pm@vger.kernel.org, linux-kernel@vger.kernel.org References: <20180831172851.79812-1-srinivas.pandruvada@linux.intel.com> From: Eero Tamminen Organization: Intel Finland Oy - BIC 0357606-4 - Westendinkatu 7, 02160 Espoo Message-ID: <1244c5d6-460e-0e0b-b7bf-a46e73327383@intel.com> Date: Mon, 3 Sep 2018 18:10:27 +0300 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:52.0) Gecko/20100101 Thunderbird/52.9.1 MIME-Version: 1.0 In-Reply-To: <20180831172851.79812-1-srinivas.pandruvada@linux.intel.com> Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Hi, On 31.08.2018 20:28, Srinivas Pandruvada wrote: ... > As per testing Eero Tamminen, the results are comparable to the patchset > https://patchwork.kernel.org/patch/10312259/ > But he has to watch results for several days to check trend. It's close, but there is some gap compared to Francisco's version. (Because of the large variance on TDP limited devices, and factors causing extra perf differences e.g. between boots, it's hard to give exact number without having trends from several days / weeks. I would also need new version of Fransisco's patch set that applies to latest kernel like yours does.) > Since here boost is getting limited to turbo and non turbo, we need some > ways to adjust the fractions corresponding to max non turbo as well. It > is much easier to use the actual P-state limits for boost instead of > fractions. So here P-state io boost limit is applied on top of the > P-state limit calculated via current algorithm by removing current > io_wait boost calculation using fractions. > > Since we prefer to use common algorithm for all processor platforms, this > change was tested on other client and sever platforms as well. All results > were within the margin of errors. Results: > https://bugzilla.kernel.org/attachment.cgi?id=278149 Good. Francisco, how well the listed PTS tests cover latency bound cases you were concerned about? [1] - Eero [1] Fransisco was concerned that the patch: * trade-off might regress latency bound cases (which I haven't tested, I tested only 3D throughput), and * that it addressed only other of the sources of energy inefficiencies he had identified (which could explain slightly better 3D results from his more complex patch set).