From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mga04.intel.com (mga04.intel.com [192.55.52.120]) by dpdk.org (Postfix) with ESMTP id DAC692C06 for ; Wed, 3 Aug 2016 05:35:40 +0200 (CEST) Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga104.fm.intel.com with ESMTP; 02 Aug 2016 20:35:40 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.28,464,1464678000"; d="scan'208";a="1007416480" Received: from fmsmsx106.amr.corp.intel.com ([10.18.124.204]) by orsmga001.jf.intel.com with ESMTP; 02 Aug 2016 20:35:40 -0700 Received: from fmsmsx121.amr.corp.intel.com (10.18.125.36) by FMSMSX106.amr.corp.intel.com (10.18.124.204) with Microsoft SMTP Server (TLS) id 14.3.248.2; Tue, 2 Aug 2016 20:35:39 -0700 Received: from shsmsx104.ccr.corp.intel.com (10.239.4.70) by fmsmsx121.amr.corp.intel.com (10.18.125.36) with Microsoft SMTP Server (TLS) id 14.3.248.2; Tue, 2 Aug 2016 20:35:39 -0700 Received: from shsmsx102.ccr.corp.intel.com ([169.254.2.147]) by SHSMSX104.ccr.corp.intel.com ([169.254.5.116]) with mapi id 14.03.0248.002; Wed, 3 Aug 2016 11:35:37 +0800 From: "Xu, Qian Q" To: yingzhi , users Thread-Topic: [dpdk-users] CPU Utilization Question Thread-Index: AQHR7TfKe5+sPMOO0Ua6CcMRzvFcQaA2lVnw Date: Wed, 3 Aug 2016 03:35:37 +0000 Message-ID: <82F45D86ADE5454A95A89742C8D1410E0330A60E@shsmsx102.ccr.corp.intel.com> References: In-Reply-To: Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-originating-ip: [10.239.127.40] Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 Subject: Re: [dpdk-users] CPU Utilization Question X-BeenThere: users@dpdk.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: usage discussions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 03 Aug 2016 03:35:41 -0000 Yes, 100% CPU utilization for DPDK cores. All the drivers are in polling mo= de, and we bind the thread to certain CPU cores, the core will always polli= ng/working at 100% utilization.=20 -----Original Message----- From: users [mailto:users-bounces@dpdk.org] On Behalf Of yingzhi Sent: Wednesday, August 3, 2016 11:32 AM To: users Subject: [dpdk-users] CPU Utilization Question Hello, I'm new to dpdk, have a basic question and would like to seek your advice. When i run dpdk apps with rte_eth_rx_burst() and rte_eth_rt_burst() within = a loop without any sleep, it will occupy 100% of cpu cycles of that core. F= or example, if I run the kni example app, "htop" command indicates the cpu = cores assigned to the kni app are all at 100% ut. Is this expected behavior of DPDK application usage in general? It would be wonderful if you can share some best practices. Thanks