From mboxrd@z Thu Jan 1 00:00:00 1970 From: Thomas Monjalon Subject: Re: [PATCH v12 1/5] lib/librte_power: traffic pattern aware power control Date: Fri, 26 Oct 2018 01:55:36 +0200 Message-ID: <1658071.YiiUmb1uWB@xps> References: <1539944630-21625-1-git-send-email-liang.j.ma@intel.com> <1539947242-16729-1-git-send-email-liang.j.ma@intel.com> Mime-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7Bit Cc: dev@dpdk.org, david.hunt@intel.com, lei.a.yao@intel.com, ktraynor@redhat.com, marko.kovacevic@intel.com To: Liang Ma Return-path: Received: from wout1-smtp.messagingengine.com (wout1-smtp.messagingengine.com [64.147.123.24]) by dpdk.org (Postfix) with ESMTP id 4D99A5F3B for ; Fri, 26 Oct 2018 01:55:35 +0200 (CEST) In-Reply-To: <1539947242-16729-1-git-send-email-liang.j.ma@intel.com> List-Id: DPDK patches and discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: dev-bounces@dpdk.org Sender: "dev" 19/10/2018 13:07, Liang Ma: > The proposed solution focuses on how many times empty polls are executed. > The less the number of empty polls, means current core is busy with > processing workload, therefore, the higher frequency is needed. The high > empty poll number indicates the current core not doing any real work > therefore, we can lower the frequency to safe power. > > In the current implementation, each core has 1 empty-poll counter which > assume 1 core is dedicated to 1 queue. This will need to be expanded in the > future to support multiple queues per core. Applied with fixes for meson compilation, doxygen and doc.