DPDK patches and discussions
 help / color / mirror / Atom feed
From: Mahesh Ishwar Mathad <mi.mahesh@globaledgesoft.com>
To: Cristian Dumitrescu <cristian.dumitrescu@intel.com>
Cc: users <users-bounces@dpdk.org>, dev@dpdk.org
Subject: Re: [dpdk-dev] query related to DPDK QOS-SCHED sample application
Date: Mon, 24 Jul 2017 16:59:21 +0530 (IST)	[thread overview]
Message-ID: <973230227.9263943.1500895761609.JavaMail.zimbra@globaledgesoft.com> (raw)
In-Reply-To: <403317070.9263384.1500895670630.JavaMail.zimbra@globaledgesoft.com>

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" <cristian.dumitrescu@intel.com>
To: "Mahesh Ishwar Mathad" <mi.mahesh@globaledgesoft.com>, "users" <users-bounces@dpdk.org>, 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 <users-bounces@dpdk.org>; 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.

      parent reply	other threads:[~2017-07-24 11:27 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2017-07-24  8:54 Mahesh Ishwar Mathad
2017-07-24 10:07 ` Dumitrescu, Cristian
     [not found]   ` <403317070.9263384.1500895670630.JavaMail.zimbra@globaledgesoft.com>
2017-07-24 11:29     ` Mahesh Ishwar Mathad [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=973230227.9263943.1500895761609.JavaMail.zimbra@globaledgesoft.com \
    --to=mi.mahesh@globaledgesoft.com \
    --cc=cristian.dumitrescu@intel.com \
    --cc=dev@dpdk.org \
    --cc=users-bounces@dpdk.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).