[ovs-discuss] EAL: map_all_hugepages(): mmap failed: Cannot allocate memory

2016-03-19 Thread John Wei
I am setting up OVS inside a Linux container. During the startup of ovs-vswitchd, it core dumped due to fail to mmap. I do have more than needed 256MB. Any clue where the problem may come from? John ovs-vswitchd --dpdk -c 0x1 -n 4 -l 1 --file-prefix ct- --socket-mem 128,128 -- unix:$DB_SOCK

[ovs-discuss] ovs-vswitchd grab all the memory during start up

2016-03-10 Thread John Wei
I was trying to run multiple copies of ovs-vswitchd on different containers on the same host. But, I was not able start them in parallel because they all seem to try to grab all the available memory in the beginning, even I have specified --socket-mem parameter. Is there a work around for this? If

Re: [ovs-discuss] ovs-vswitchd and cpu affinity

2016-03-08 Thread John Wei
Please ignore my dumb question. Should have look at the man page first. :) There are many cup related options to choose cpu. John > On Mar 8, 2016, at 12:02 PM, John Wei wrote: > > It seems that ovs-vswitchd will bind itself to some CPU. Is there a way or > parameter tha

[ovs-discuss] ovs-vswitchd and cpu affinity

2016-03-08 Thread John Wei
It seems that ovs-vswitchd will bind itself to some CPU. Is there a way or parameter that I cam tell vswitchd which cpu to bind? John ___ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss

[ovs-discuss] pci-blacklist, can I use wild card or other syntax to specify multiple functions?

2016-03-05 Thread John Wei
On the pci-blacklist, does it support some syntax to avoid specifying each device one at a time? For example: -b :42:15.* Or -b :42:15.0-7 Or -b 000:42:*.* John ___ discuss mailing list discuss@openvswitch.org http://openvswitch.org

[ovs-discuss] ovs-vswitchd support of more than 32 physical devices?

2016-03-03 Thread John Wei
I am setting up OVS in container on the host with 126 SRIOV VFs, all these VFs are bounded to DPDK. Each OVS in a container will be using just two VFs. But, all 126 VFs are visible to each container. I have not find ways to make VFs be selectively visible in the container. It seems that ovs-vswitch

Re: [ovs-discuss] ovs-vsctl add-port -- how to specify particular DPDK device port?

2016-03-02 Thread John Wei
mapped at 0x7f10e8f04000 EAL: Error - exiting with code: 1 Cause: Requested device :42:14.0 cannot be used Is there a parameter or code some where I can increase the number of ports that vswitchd can deal with? John On Wed, Mar 2, 2016 at 4:32 PM, John Wei wrote: > Hi Mark, >

Re: [ovs-discuss] ovs-vsctl add-port -- how to specify particular DPDK device port?

2016-03-02 Thread John Wei
x27; to a bridge, simply run: > > 'ovs-vsctl add-port br0 dpdkN -- set Interface dpdkN type=dpdk' > > > Where N = the index of the DPDK device port, as enumerated by DPDK on init. > > I hope this helps. > > Cheers, > Mark > > > >>URL ad

Re: [ovs-discuss] ovs-vsctl add-port -- how to specify particular DPDK device port?

2016-03-01 Thread John Wei
URL added: https://github.com/openvswitch/ovs/blob/master/INSTALL.DPDK.md On Tue, Mar 1, 2016 at 3:22 PM, John Wei wrote: > I am following instructions in this URL to setup ovs to use with DPDK. > > With the instruction, the first two dpdk ports were always used bu ovs: > > ovs

[ovs-discuss] ovs-vsctl add-port -- how to specify particular DPDK device port?

2016-03-01 Thread John Wei
I am following instructions in this URL to setup ovs to use with DPDK. With the instruction, the first two dpdk ports were always used bu ovs: ovs-vsctl add-port br0 dpdk0 -- set Interface dpdk0 type=dpdk ovs-vsctl add-port br0 dpdk1 -- set Interface dpdk1 type=dpdk How to tell ovs-vswitchd to