Hi All,

When I'm using plain OVS bridge [vswitchd without dpdk options], i'm not
seeing any packet loss at the ovs bridge.

But as i mentioned earlier with DPDK, huge packet loss is happening.

Can someone tell, how dpdk options are resulting in packet loss?

I tried with increased txqueuelen on pktovs bridge, but no improvement. :(

cd $OVS/utilities
/ovs-vsctl add-br ovs
/ovs-vsctl add-port ovs ens3f0
/ovs-vsctl add-br pktovs
/ovs-vsctl add-port pktovs ens3f1


ifconfig ovs 10.54.218.77 netmask 255.255.255.0 up
ifconfig pktovs 10.54.218.81 netmask 255.255.255.0 up
ifconfig pktovs txqueuelen 4096

Do we have any performance result for vswitchd with dpdk options?
Did anybody tested vswitchd with dpdk options with higher rate of data [>
200 mbps] ?
Is this packet loss is something to do with my setup and configurations? []

PFA scripts which i used for configuring with[DInit.sh] and without
DPDK[Init.sh]


On Wed, Jul 1, 2015 at 8:01 PM, Varun Rapelly <varunrape...@gmail.com>
wrote:

> Thanks Mark..
>
> I will this and let you know the status.
>
> On Wed, Jul 1, 2015 at 7:25 PM, Gray, Mark D <mark.d.g...@intel.com>
> wrote:
>
>> >
>> > I'm not using vhost at present. But using macvtap devices. Below screen
>> shot
>> > for your reference and following are the details on host.
>> >
>> > ​
>> >
>> > [root@artha utilities]# ifconfig macvtap2
>> > macvtap2: flags=4163<UP,BROADCAST,RUNNING,MULTICAST>  mtu 1500
>> >         inet6 fe80::5054:ff:fec7:ed4f  prefixlen 64  scopeid 0x20<link>
>> >         ether 52:54:00:c7:ed:4f  txqueuelen 500  (Ethernet)
>> >         RX packets 272  bytes 17248 (16.8 KiB)
>> >         RX errors 0  dropped 0  overruns 0  frame 0
>> >         TX packets 12  bytes 898 (898.0 B)
>> >         TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
>> >
>> > [root@artha utilities]# ifconfig pktovs
>> > pktovs: flags=323<UP,BROADCAST,RUNNING,PROMISC>  mtu 1500
>> >         inet 10.54.218.81  netmask 255.255.255.0  broadcast
>> 10.54.218.255
>> >         inet6 fe80::e611:5bff:fe98:993  prefixlen 64  scopeid 0x20<link>
>> >         ether e4:11:5b:98:09:93  txqueuelen 500  (Ethernet)
>> >         RX packets 224  bytes 14562 (14.2 KiB)
>> >         RX errors 0  dropped 131  overruns 0  frame 0
>> >         TX packets 39  bytes 2894 (2.8 KiB)
>> >         TX errors 0  dropped 0 overruns 0  carrier 0  collisions 0
>> >
>> > I created vhost-user ports using following cmds.
>> >
>> > ./ovs-vsctl --no-wait add-br pktovs -- set Bridge pktovs
>> > datapath_type=netdev ./ovs-vsctl add-port pktovs dpdk1 -- set Interface
>> > dpdk1 type=dpdk ./ovs-vsctl add-port pktovs dpdkvhost1 -- set Interface
>> > dpdkvhost1 type=dpdkvhostuser
>> >
>> The gui might not have those options you would need to use the qemu
>> command line.
>>
>> This file has loads of instructions and the section in the link below
>> shows
>> the changes needed to the Qemu command line
>>
>>
>> https://github.com/openvswitch/ovs/blob/master/INSTALL.DPDK.md#dpdk-vhost-user-vm-configuration
>>
>
>
>
> --
> Thanks & Regds
> ------------------------------------------------
> Varun Rapelly,
> 9620637186
>
>
>
>


-- 
Thanks & Regds
------------------------------------------------
Varun Rapelly,
9620637186
_______________________________________________
dev mailing list
dev@openvswitch.org
http://openvswitch.org/mailman/listinfo/dev

Reply via email to