From mboxrd@z Thu Jan  1 00:00:00 1970
Return-Path: <david.hunt@intel.com>
Received: from mga18.intel.com (mga18.intel.com [134.134.136.126])
 by dpdk.org (Postfix) with ESMTP id 9F1641B060
 for <dev@dpdk.org>; Thu, 13 Sep 2018 16:05:30 +0200 (CEST)
X-Amp-Result: SKIPPED(no attachment in message)
X-Amp-File-Uploaded: False
Received: from orsmga003.jf.intel.com ([10.7.209.27])
 by orsmga106.jf.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384;
 13 Sep 2018 07:05:29 -0700
X-ExtLoop1: 1
X-IronPort-AV: E=Sophos;i="5.53,369,1531810800"; d="scan'208";a="83205061"
Received: from dhunt5-mobl2.ger.corp.intel.com (HELO [10.237.221.37])
 ([10.237.221.37])
 by orsmga003.jf.intel.com with ESMTP; 13 Sep 2018 07:05:27 -0700
To: "Liang, Ma" <liang.j.ma@intel.com>, Kevin Traynor <ktraynor@redhat.com>
Cc: dev@dpdk.org, lei.a.yao@intel.com, radu.nicolau@intel.com,
 anatoly.burakov@intel.com, john.geary@intel.com
References: <1535727871-30168-1-git-send-email-liang.j.ma@intel.com>
 <1536070228-6545-1-git-send-email-liang.j.ma@intel.com>
 <9cd52e23-f1e9-0067-015c-9bd8ed1eaeab@redhat.com>
 <20180913133744.GC6867@sivswdev01.ir.intel.com>
From: "Hunt, David" <david.hunt@intel.com>
Message-ID: <f6766531-ddab-36ae-4732-7b84663356d3@intel.com>
Date: Thu, 13 Sep 2018 15:05:26 +0100
User-Agent: Mozilla/5.0 (Windows NT 10.0; WOW64; rv:52.0) Gecko/20100101
 Thunderbird/52.9.1
MIME-Version: 1.0
In-Reply-To: <20180913133744.GC6867@sivswdev01.ir.intel.com>
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 7bit
Content-Language: en-US
Subject: Re: [dpdk-dev] [PATCH v7 1/4] lib/librte_power: traffic pattern
 aware power control
X-BeenThere: dev@dpdk.org
X-Mailman-Version: 2.1.15
Precedence: list
List-Id: DPDK patches and discussions <dev.dpdk.org>
List-Unsubscribe: <https://mails.dpdk.org/options/dev>,
 <mailto:dev-request@dpdk.org?subject=unsubscribe>
List-Archive: <http://mails.dpdk.org/archives/dev/>
List-Post: <mailto:dev@dpdk.org>
List-Help: <mailto:dev-request@dpdk.org?subject=help>
List-Subscribe: <https://mails.dpdk.org/listinfo/dev>,
 <mailto:dev-request@dpdk.org?subject=subscribe>
X-List-Received-Date: Thu, 13 Sep 2018 14:05:31 -0000



On 13/9/2018 2:37 PM, Liang, Ma wrote:
> Hi Kevin,
>     Many thanks for your comments.
>     I will send v8 patch soon.
>     Please check comments below.
>
> On 13 Sep 11:54, Kevin Traynor wrote:
>> On 09/04/2018 03:10 PM, Liang Ma wrote:

--snip--

>> HIGH: the frequency is used to process busy traffic workload.
>>> 2.2 There are two phases to establish the power management system:
>>>
>>> 	a.Initialization/Training phase. The training phase is necessary
>>> 	  in order to figure out the system polling baseline numbers from
>>> 	  idle to busy. The highest poll count will be during idle, where
>>> 	  all polls are empty. These poll counts will be different between
>>> 	  systems due to the many possible processor micro-arch, cache
>>> 	  and device configurations, hence the training phase.
>>>    	  In the training phase, traffic is blocked so the training
>> When you say 'traffic is blocked' is this something that the application
>> can do through DPDK API, or you mean no external packets are sent into
>> that port?a
> training is disabled as default. if user enable it, that mean no external packet
> are sent to the port.

I think the correct term would be 'traffic should be blocked'. The 
application has no
capability to block traffic itself, so the user needs to ensure that no 
traffic is coming into the
application during the training period.

Rgds,
Dave.

--snip--