* [dpdk-dev] Unable to start DPDK+Netshard @ 2016-08-21 10:38 jayachandran.subramanian 2016-08-22 5:44 ` harshavardhan Reddy 0 siblings, 1 reply; 4+ messages in thread From: jayachandran.subramanian @ 2016-08-21 10:38 UTC (permalink / raw) To: dev [-- Attachment #1: Type: text/plain, Size: 1153 bytes --] Hi , When I start netshard with dpdk-pmd stack , getting the below error RING: Cannot reserve memory Failed to create mempool for Tx RING: Cannot reserve memory Failed to create mempool for Tx Creating Rx mbuf pool 'dpdk_net_pktmbuf_pool8_rx' [1024 mbufs] ... RING: Cannot reserve memory Failed to create mempool for Tx Configured huge pages and binded NIC to DPDK drivers Please let me know how to resolve this issue, PFA nic binding / huge pages details. Thanks Jay 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. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com [-- Attachment #2: loadtest_issue.txt --] [-- Type: text/plain, Size: 1067 bytes --] root@dev-app01 tools]# ./dpdk_nic_bind.py --status Network devices using DPDK-compatible driver ============================================ 0000:02:00.0 'Ethernet Controller 10-Gigabit X540-AT2' drv=igb_uio unused=ixgbe 0000:02:00.1 'Ethernet Controller 10-Gigabit X540-AT2' drv=igb_uio unused=ixgbe 0000:05:00.1 'Ethernet Controller 10-Gigabit X540-AT2' drv=igb_uio unused=ixgbe Network devices using kernel driver =================================== 0000:05:00.0 'Ethernet Controller 10-Gigabit X540-AT2' if=enp5s0f0 drv=ixgbe unused=igb_uio *Active* 0000:09:00.0 'I350 Gigabit Network Connection' if=enp9s0f0 drv=igb unused=igb_uio 0000:09:00.1 'I350 Gigabit Network Connection' if=enp9s0f1 drv=igb unused=igb_uio Other network devices ===================== <none> [root@dev-app01 tools]# [root@dev-app01 tools]# grep -i huge /proc/meminfo AnonHugePages: 10240 kB HugePages_Total: 512 HugePages_Free: 0 HugePages_Rsvd: 0 HugePages_Surp: 0 Hugepagesize: 2048 kB [root@dev-app01 tools]# ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [dpdk-dev] Unable to start DPDK+Netshard 2016-08-21 10:38 [dpdk-dev] Unable to start DPDK+Netshard jayachandran.subramanian @ 2016-08-22 5:44 ` harshavardhan Reddy 2016-08-22 5:50 ` jayachandran.subramanian 0 siblings, 1 reply; 4+ messages in thread From: harshavardhan Reddy @ 2016-08-22 5:44 UTC (permalink / raw) To: jayachandran.subramanian; +Cc: dev try o increase the hugepages to 4GB and run once again. Also it depends on how much memory u are reserving in mempools and for rings.. Regards, HVR On Sun, Aug 21, 2016 at 4:08 PM, <jayachandran.subramanian@wipro.com> wrote: > Hi , > > When I start netshard with dpdk-pmd stack , getting the below error > > RING: Cannot reserve memory > Failed to create mempool for Tx > RING: Cannot reserve memory > Failed to create mempool for Tx > Creating Rx mbuf pool 'dpdk_net_pktmbuf_pool8_rx' [1024 mbufs] ... > RING: Cannot reserve memory > Failed to create mempool for Tx > > Configured huge pages and binded NIC to DPDK drivers > > Please let me know how to resolve this issue, PFA nic binding / huge pages > details. > > Thanks > Jay > 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. WARNING: Computer viruses can be > transmitted via email. The recipient should check this email and any > attachments for the presence of viruses. The company accepts no liability > for any damage caused by any virus transmitted by this email. > www.wipro.com > ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [dpdk-dev] Unable to start DPDK+Netshard 2016-08-22 5:44 ` harshavardhan Reddy @ 2016-08-22 5:50 ` jayachandran.subramanian 2016-08-22 7:44 ` harshavardhan Reddy 0 siblings, 1 reply; 4+ messages in thread From: jayachandran.subramanian @ 2016-08-22 5:50 UTC (permalink / raw) To: hvreddy1110; +Cc: dev HI HVR, Thanks a lot after increasing Huge pages to 1536 Mb , issue got resolved. Also could you please let me know , we needs to configure the same Huge page/isolscpus in grub configuration . Could you please help me on that ! Thanks Jay From: harshavardhan Reddy [mailto:hvreddy1110@gmail.com] Sent: Monday, August 22, 2016 11:14 AM To: Jayachandran Subramanian (MFG & Tech) <jayachandran.subramanian@wipro.com> Cc: dev@dpdk.org Subject: Re: [dpdk-dev] Unable to start DPDK+Netshard ** This mail has been sent from an external source ** try o increase the hugepages to 4GB and run once again. Also it depends on how much memory u are reserving in mempools and for rings.. Regards, HVR On Sun, Aug 21, 2016 at 4:08 PM, <jayachandran.subramanian@wipro.com<mailto:jayachandran.subramanian@wipro.com>> wrote: Hi , When I start netshard with dpdk-pmd stack , getting the below error RING: Cannot reserve memory Failed to create mempool for Tx RING: Cannot reserve memory Failed to create mempool for Tx Creating Rx mbuf pool 'dpdk_net_pktmbuf_pool8_rx' [1024 mbufs] ... RING: Cannot reserve memory Failed to create mempool for Tx Configured huge pages and binded NIC to DPDK drivers Please let me know how to resolve this issue, PFA nic binding / huge pages details. Thanks Jay 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. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com<http://www.wipro.com> 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. WARNING: Computer viruses can be transmitted via email. The recipient should check this email and any attachments for the presence of viruses. The company accepts no liability for any damage caused by any virus transmitted by this email. www.wipro.com ^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [dpdk-dev] Unable to start DPDK+Netshard 2016-08-22 5:50 ` jayachandran.subramanian @ 2016-08-22 7:44 ` harshavardhan Reddy 0 siblings, 0 replies; 4+ messages in thread From: harshavardhan Reddy @ 2016-08-22 7:44 UTC (permalink / raw) To: jayachandran.subramanian; +Cc: dev Edit the /etc/default/grub file, and add the following to the GRUB_CMDLINE_LINUX entry: GRUB_CMDLINE_LINUX="hugepagesz=1G hugepages=<Number of hugepages required> default_hugepagesz=1G" There only you can mention cpu isolation also. After modifying run grub2-mkconfig -o /boot/grub2/grub.cfg reboot system Regards, Harsha On Mon, Aug 22, 2016 at 11:20 AM, <jayachandran.subramanian@wipro.com> wrote: > HI HVR, > > > > Thanks a lot after increasing Huge pages to 1536 Mb , issue got resolved. > > > > Also could you please let me know , we needs to configure the same Huge > page/isolscpus in grub configuration . > > > > Could you please help me on that ! > > > > Thanks > > Jay > > > > *From:* harshavardhan Reddy [mailto:hvreddy1110@gmail.com] > *Sent:* Monday, August 22, 2016 11:14 AM > *To:* Jayachandran Subramanian (MFG & Tech) <jayachandran.subramanian@ > wipro.com> > *Cc:* dev@dpdk.org > *Subject:* Re: [dpdk-dev] Unable to start DPDK+Netshard > > > > ** This mail has been sent from an external source ** > > try o increase the hugepages to > > 4GB and run once again. > > Also it depends on how much memory u are reserving in mempools and for > rings.. > > > > Regards, > > HVR > > > > On Sun, Aug 21, 2016 at 4:08 PM, <jayachandran.subramanian@wipro.com> > wrote: > > Hi , > > When I start netshard with dpdk-pmd stack , getting the below error > > RING: Cannot reserve memory > Failed to create mempool for Tx > RING: Cannot reserve memory > Failed to create mempool for Tx > Creating Rx mbuf pool 'dpdk_net_pktmbuf_pool8_rx' [1024 mbufs] ... > RING: Cannot reserve memory > Failed to create mempool for Tx > > Configured huge pages and binded NIC to DPDK drivers > > Please let me know how to resolve this issue, PFA nic binding / huge pages > details. > > Thanks > Jay > 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. WARNING: Computer viruses can be > transmitted via email. The recipient should check this email and any > attachments for the presence of viruses. The company accepts no liability > for any damage caused by any virus transmitted by this email. > www.wipro.com > > > 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. WARNING: Computer viruses can be > transmitted via email. The recipient should check this email and any > attachments for the presence of viruses. The company accepts no liability > for any damage caused by any virus transmitted by this email. > www.wipro.com > ^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2016-08-22 7:44 UTC | newest] Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2016-08-21 10:38 [dpdk-dev] Unable to start DPDK+Netshard jayachandran.subramanian 2016-08-22 5:44 ` harshavardhan Reddy 2016-08-22 5:50 ` jayachandran.subramanian 2016-08-22 7:44 ` harshavardhan Reddy
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).