From mboxrd@z Thu Jan 1 00:00:00 1970 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) Received: from compute1.internal (compute1.nyi.internal [10.202.2.41]) by mailout.west.internal (Postfix) with ESMTP id 1CCF4CF5; Thu, 25 Oct 2018 19:55:34 -0400 (EDT) Received: from mailfrontend1 ([10.202.2.162]) by compute1.internal (MEProxy); Thu, 25 Oct 2018 19:55:34 -0400 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=monjalon.net; h= from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding:content-type; s=mesmtp; bh=5maWKkNGJC2DKRxBL4oNh0JiZOR0VyFNQdOJsWDlT7c=; b=nVQq6FfZ5CbB geUz+T7aRcJGH6OHtCe/Vuiwg/WMlJGXH+Luyvevro+QvSsao5X0Vu5jVPizbLaF dNz22iol75Nipvxu5MPNmZeDpRvmWb7X6DtyWKQmuthwy9X1Avqv+Y6ybvR2tGmY smYTvFkovWxQ4Cddk97/Gm4vmyKlMco= DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d= messagingengine.com; h=cc:content-transfer-encoding:content-type :date:from:in-reply-to:message-id:mime-version:references :subject:to:x-me-proxy:x-me-proxy:x-me-sender:x-me-sender :x-sasl-enc; s=fm1; bh=5maWKkNGJC2DKRxBL4oNh0JiZOR0VyFNQdOJsWDlT 7c=; b=GYrfK5QmgQuLfXnkbLMpP+tWIlQvlEkQ7U5mJ6Ic7e9HLlXfU6S9RIELB iiP3l773z+4hN/4CInpei6zIY+CEZL9Y6KgDRC/KVsdQeRQ0PK1o/4yWKbxWcUSa 0xLKEzdY0d/waoLuquZrrHOnkxeHsGp3APVHES9gI0f/CFyvmTlwkt7hfqdkBuLQ 2gP/mQ7B701hG3SSQcPVNSOQ0mnm7YN62/6/8cN74xyRzxvcL4r3iokGtmzddyi4 sa8hOL5i2huGDEz1tqp3L88ZOh9WL9ob7e9yBj0Yeit87ExKY8A2pWamKLr7WQp4 LlZ47GP+Uw7m6mnr7dIB5+JM21qyg== X-ME-Sender: X-ME-Proxy: Received: from xps.localnet (184.203.134.77.rev.sfr.net [77.134.203.184]) by mail.messagingengine.com (Postfix) with ESMTPA id B3F8FE4A48; Thu, 25 Oct 2018 19:55:32 -0400 (EDT) From: Thomas Monjalon To: Liang Ma Cc: dev@dpdk.org, david.hunt@intel.com, lei.a.yao@intel.com, ktraynor@redhat.com, marko.kovacevic@intel.com Date: Fri, 26 Oct 2018 01:55:36 +0200 Message-ID: <1658071.YiiUmb1uWB@xps> In-Reply-To: <1539947242-16729-1-git-send-email-liang.j.ma@intel.com> 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-Transfer-Encoding: 7Bit Content-Type: text/plain; charset="us-ascii" Subject: Re: [dpdk-dev] [PATCH v12 1/5] 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 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 25 Oct 2018 23:55:35 -0000 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.