From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from gesmail.globaledgesoft.com (gesmail.globaledgesoft.com [123.63.243.152]) by dpdk.org (Postfix) with ESMTP id C79AC2F42; Mon, 24 Jul 2017 13:27:02 +0200 (CEST) Received: from mail.globaledgesoft.com (mail.globaledgesoft.com [172.16.2.30]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by gesmail.globaledgesoft.com (Postfix) with ESMTP id 676597C8549; Mon, 24 Jul 2017 16:56:01 +0530 (IST) Received: from mail.globaledgesoft.com (localhost [127.0.0.1]) by mail.globaledgesoft.com (Postfix) with ESMTPS id 4A661B80723; Mon, 24 Jul 2017 16:59:22 +0530 (IST) Received: from localhost (localhost [127.0.0.1]) by mail.globaledgesoft.com (Postfix) with ESMTP id 2A2C1B80721; Mon, 24 Jul 2017 16:59:22 +0530 (IST) X-Amavis-Modified: Mail body modified (using disclaimer) - mail.globaledgesoft.com Received: from mail.globaledgesoft.com ([127.0.0.1]) by localhost (mail.globaledgesoft.com [127.0.0.1]) (amavisd-new, port 10026) with ESMTP id oKh1xVZB_VGr; Mon, 24 Jul 2017 16:59:22 +0530 (IST) Received: from mail.globaledgesoft.com (mail.globaledgesoft.com [172.16.2.30]) by mail.globaledgesoft.com (Postfix) with ESMTP id EC7C4B805DC; Mon, 24 Jul 2017 16:59:21 +0530 (IST) Date: Mon, 24 Jul 2017 16:59:21 +0530 (IST) From: Mahesh Ishwar Mathad To: Cristian Dumitrescu Cc: users , dev@dpdk.org Message-ID: <973230227.9263943.1500895761609.JavaMail.zimbra@globaledgesoft.com> In-Reply-To: <403317070.9263384.1500895670630.JavaMail.zimbra@globaledgesoft.com> References: <5975B5D5.5050303@globaledgesoft.com> <3EB4FA525960D640B5BDFFD6A3D891267BA841CE@IRSMSX108.ger.corp.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [172.16.2.30] X-Mailer: Zimbra 8.5.1_GA_3056 (ZimbraWebClient - GC53 (Linux)/8.5.1_GA_3056) Thread-Topic: [dpdk-dev] query related to DPDK QOS-SCHED sample application Thread-Index: AQHTBFqgny7YrOif70SPqYA+rSFk66JivvgQ4TXqPVA= Subject: Re: [dpdk-dev] query related to DPDK QOS-SCHED sample application 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: Mon, 24 Jul 2017 11:27:03 -0000 Hi Team, Thanks for the response, $ ./build/qos_sched -c 0xe -n 4 -- --pfc "0,1,3,2" --cfg "profile.cfg"EAL: Detected 4 lcore(s) PMD: bnxt_rte_pmd_init() called for (null) EAL: PCI device 0000:01:00.0 on NUMA socket -1 EAL: probe driver: 8086:10c9 rte_igb_pmd EAL: PCI device 0000:01:00.1 on NUMA socket -1 EAL: probe driver: 8086:10c9 rte_igb_pmd EAL: Error - exiting with code: 1 Cause: Cannot init mbuf pool for socket 0 I getting error something like this: Cannot init mbuf pool for socket 0. $ grep -i Huge /proc/meminfo AnonHugePages: 350208 kB HugePages_Total: 476 HugePages_Free: 476 HugePages_Rsvd: 0 HugePages_Surp: 0 Hugepagesize: 2048 kB Is 476 hugepages are sufficient to execute qos_sched application? Could you help me in running this app as per my system configuration. ----- Original Message ----- From: "Cristian Dumitrescu" To: "Mahesh Ishwar Mathad" , "users" , dev@dpdk.org Sent: Monday, July 24, 2017 3:37:55 PM Subject: RE: [dpdk-dev] query related to DPDK QOS-SCHED sample application Hi Mahesh, > -----Original Message----- > From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Mahesh Ishwar > Mathad > Sent: Monday, July 24, 2017 9:55 AM > To: users ; dev@dpdk.org > Subject: [dpdk-dev] query related to DPDK QOS-SCHED sample application > > Hi Team, > > System Configuration: > NIC: Intel Corporation 82576 (IGB) > NUMA node:1 > Kernel version :4.5.0 > DPDK version: 16.07.2 > > I am trying to execute DPDK QOS-SCHED application: > > ./build/qos_sched -c 0x0e -n 1 -- --pfc "0,1,3,2" --cfg ./profile.cfg > EAL: Detected 4 lcore(s) > PMD: bnxt_rte_pmd_init() called for (null) > EAL: PCI device 0000:01:00.0 on NUMA socket -1 > EAL: probe driver: 8086:10c9 rte_igb_pmd > EAL: PCI device 0000:01:00.1 on NUMA socket -1 > EAL: probe driver: 8086:10c9 rte_igb_pmd > EAL: Error - exiting with code: 1 > Cause: No Ethernet port - bye > For this instance the application log is giving you a good instruction of where the problem might be, right? Please run the usertools/dpdk-devbind.py script to make sure that all the NIC ports you need are handled by DPDK. Please make sure you have the root privileges to run this app, huge pages are required. > For qos_sched sample application require more than one NUMA node? No. Please take a look at the user guide on how to run this sample app: http://www.dpdk.org/doc/guides/sample_app_ug/qos_scheduler.html > > Appreciate your help. Thanks a lot. > > -- > Thanks & Regards, > Mahesh Mathad. > > Regards, Cristian Disclaimer:- The information contained in this electronic message and any attachments to this message are intended for the exclusive use of the addressee(s) and may contain proprietary, confidential or privileged information. If you are not the intended recipient, you should not disseminate, distribute or copy this e-mail. Please notify the sender immediately and destroy all copies of this message and any attachments. The views expressed in this E-mail message (including the enclosure/(s) or attachment/(s) if any) are those of the individual sender, except where the sender expressly, and with authority, states them to be the views of GlobalEdge. Before opening any mail and attachments please check them for viruses .GlobalEdge does not accept any liability for virus infected mails.