From: "Gray, Mark D" <mark.d.gray@intel.com>
To: "Polehn, Mike A" <mike.a.polehn@intel.com>,
Abhijeet Karve <abhijeet.karve@tcs.com>,
"dev@dpdk.org" <dev@dpdk.org>
Cc: "bhavya.addep@gmail.com" <bhavya.addep@gmail.com>,
"discuss@openvswitch.org" <discuss@openvswitch.org>
Subject: Re: [dpdk-dev] DPDK OVS on Ubuntu 14.04
Date: Wed, 2 Dec 2015 14:52:21 +0000 [thread overview]
Message-ID: <738D45BC1F695740A983F43CFE1B7EA943921E56@IRSMSX108.ger.corp.intel.com> (raw)
In-Reply-To: <745DB4B8861F8E4B9849C970520ABBF149834E55@ORSMSX102.amr.corp.intel.com>
+ discuss@openvswitch.org
one comment below:
> -----Original Message-----
> From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Polehn, Mike A
> Sent: Tuesday, December 1, 2015 2:46 PM
> To: Abhijeet Karve; dev@dpdk.org
> Cc: bhavya.addep@gmail.com
> Subject: Re: [dpdk-dev] DPDK OVS on Ubuntu 14.04
>
> May need to setup huge pages on kernel boot line (this is example, you may
> need to adjust):
>
> The huge page configuration can be added to the default configuration file
> /etc/default/grub by adding to the GRUB_CMDLINE_LINUX and the grub
> configuration file regenerated to get an updated configuration file for Linux
> boot.
> # vim /etc/default/grub // edit file
>
> . . .
> GRUB_CMDLINE_LINUX_DEFAULT="... default_hugepagesz=1GB
> hugepagesz=1GB hugepages=4 hugepagesize=2m hugepages=2048 ..."
> . . .
>
>
> This example sets up huge pages for both 1 GB pages for 4 GB of 1 GB
> hugepage memory and 2 MB pages for 4 GB of 2 MB hugepage memory.
> After boot the number of 1 GB pages cannot be changed, but the number of
> 2 MB pages can be changed.
>
> After editing configuration file /etc/default/grub , the new grub.cfg boot file
> needs to be regenerated:
> # update-grub
>
> And reboot. After reboot memory managers need to be setup:
>
> If /dev/hugepages does not exist: # mkdir /dev/hugepages
>
> # mount -t hugetlbfs nodev /dev/hugepages
>
> # mkdir /dev/hugepages_2mb
> # mount -t hugetlbfs nodev /dev/hugepages_2mb -o pagesize=2MB
>
> Mike
>
> -----Original Message-----
> From: dev [mailto:dev-bounces@dpdk.org] On Behalf Of Abhijeet Karve
> Sent: Monday, November 30, 2015 10:14 PM
> To: dev@dpdk.org
> Cc: bhavya.addep@gmail.com
> Subject: [dpdk-dev] DPDK OVS on Ubuntu 14.04
>
> Dear All,
>
>
> We are trying to install DPDK OVS on top of the openstack juno in Ubuntu
> 14.04 single server. We are referring following steps for executing the same.
>
> https://software.intel.com/en-us/blogs/2015/06/09/building-vhost-user-for-
> ovs-today-using-dpdk-200
>
> During execution we are getting some issues with ovs-vswitchd service as its
> getting hang during starting.
> __________________________________________________________
> _______________
>
> nfv-dpdk@nfv-dpdk:~$ tail -f /var/log/openvswitch/ovs-vswitchd.log
> 2015-11-
> 24T10:54:34.036Z|00006|reconnect|INFO|unix:/var/run/openvswitch/db.so
> ck:
> connecting...
> 2015-11-
> 24T10:54:34.036Z|00007|reconnect|INFO|unix:/var/run/openvswitch/db.so
> ck:
> connected
> 2015-11-24T10:54:34.064Z|00008|bridge|INFO|ovs-vswitchd (Open vSwitch)
> 2.4.90
> 2015-11-24T11:03:42.957Z|00002|vlog|INFO|opened log file
> /var/log/openvswitch/ov
> s-vswitchd.log 2015-11-
> 24T11:03:42.958Z|00003|ovs_numa|INFO|Discovered 24 CPU cores on
> NUMA
> nod
> e 0
> 2015-11-24T11:03:42.958Z|00004|ovs_numa|INFO|Discovered 24 CPU cores
> on NUMA
> nod
> e 1
> 2015-11-24T11:03:42.958Z|00005|ovs_numa|INFO|Discovered 2 NUMA
> nodes and
> 48 CPU
> cores
> 2015-11-
> 24T11:03:42.958Z|00006|reconnect|INFO|unix:/var/run/openvswitch/db.so
> ck:
> connecting...
> 2015-11-
> 24T11:03:42.958Z|00007|reconnect|INFO|unix:/var/run/openvswitch/db.so
> ck:
> connected
> 2015-11-24T11:03:42.961Z|00008|bridge|INFO|ovs-vswitchd (Open vSwitch)
> 2.4.90
> __________________________________________________________
> _______________
>
> Also, attaching output(Hugepage.txt) of “ ./ovs-vswitchd --dpdk -c 0x0FF8 -n
> 4 --socket-mem 1024,0 -- --log-file=/var/log/openvswitch/ovs-vswitchd.log
> --pidfile=/var/run/oppenvswitch/ovs-vswitchd.pid”
>
> - We tried seting up echo 0 >
> /sys/kernel/mm/hugepages/hugepages-2048kB/nr_hugepages, but couldn’t
> succeeded.
> Can anyone please help us in getting the things if we are missing any and
> causing ovs-vswitchd to stuck while starting?
>
> Also, when we create vm in openstack with DPDK OVS, dpdkvhost-user type
> interfaces are getting created automatically. If this interfaces are getting
> mapped with regular br-int bridge rather than DPDK bridge br0 then is this
You can still have a bridge named br-int that is backed with a userspace datapath. You can't add
a dpdkvhostuser port to a kernel space datapath. So in this case, I think you are ok and are
using DPDK.
> mean that we have successfully enabled DPDK with netdev datapath?
>
>
>
> We really appreciate for all the advice if you have.
>
> Thanks,
> Abhijeet
> Thanks & Regards
> Abhijeet Karve
>
> =====-----=====-----=====
> Notice: The information contained in this e-mail message and/or
> attachments to it may contain confidential or privileged information. If you
> are not the intended recipient, any dissemination, use, review, distribution,
> printing or copying of the information contained in this e-mail message
> and/or attachments to it are strictly prohibited. If you have received this
> communication in error, please notify us by reply e-mail or telephone and
> immediately and permanently delete the message and any attachments.
> Thank you
>
next prev parent reply other threads:[~2015-12-02 14:53 UTC|newest]
Thread overview: 13+ messages / expand[flat|nested] mbox.gz Atom feed top
2015-12-01 6:13 Abhijeet Karve
2015-12-01 14:46 ` Polehn, Mike A
2015-12-02 14:52 ` Gray, Mark D [this message]
2015-12-15 5:55 ` [dpdk-dev] DPDK OVS on Ubuntu 14.04# Issue's Resolved# Successfully setup DPDK OVS with vhostuser Abhijeet Karve
2015-12-15 15:42 ` Czesnowicz, Przemyslaw
2015-12-16 9:36 ` Abhijeet Karve
2015-12-17 11:57 ` Czesnowicz, Przemyslaw
2015-12-17 12:40 ` Abhijeet Karve
2015-12-17 13:01 ` Czesnowicz, Przemyslaw
2015-12-24 17:41 ` [dpdk-dev] DPDK OVS on Ubuntu 14.04# Issue's Resolved# Getting memory backing issues with qemu parameter passing Abhijeet Karve
2016-01-04 14:24 ` Czesnowicz, Przemyslaw
[not found] ` <OF7B9ED0F7.5B3B2C67-ON65257F45.0055D550-65257F45.005E9455@tcs.com>
2016-01-27 11:41 ` [dpdk-dev] DPDK OVS on Ubuntu 14.04# Issue's Resolved# Inter-VM communication & IP allocation through DHCP issue Czesnowicz, Przemyslaw
2016-01-27 16:22 ` Abhijeet Karve
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=738D45BC1F695740A983F43CFE1B7EA943921E56@IRSMSX108.ger.corp.intel.com \
--to=mark.d.gray@intel.com \
--cc=abhijeet.karve@tcs.com \
--cc=bhavya.addep@gmail.com \
--cc=dev@dpdk.org \
--cc=discuss@openvswitch.org \
--cc=mike.a.polehn@intel.com \
/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).