Hello everyone,
I am trying to measure the L2 forwarding performance in case of large
number of table entries. I have used two Xeon based server for the
experiment and each server has four NICs, directly connected to the
other server. I created a bridge by running the following commands:
./ovs-vsctl add-br br0 -- set bridge br0 datapath_type=netdev
./ovs-vsctl add-port br0 dpdk0 -- set Interface dpdk0 type=dpdk
options:dpdk-devargs=0000:04:00.0 options:flow-ctrl-autoneg=true
./ovs-vsctl add-port br0 dpdk1 -- set Interface dpdk1 type=dpdk
options:dpdk-devargs=0000:04:00.1 options:flow-ctrl-autoneg=true
./ovs-vsctl add-port br0 dpdk2 -- set Interface dpdk2 type=dpdk
options:dpdk-devargs=0000:05:00.0 options:flow-ctrl-autoneg=true
./ovs-vsctl add-port br0 dpdk3 -- set Interface dpdk3 type=dpdk
options:dpdk-devargs=0000:05:00.1 options:flow-ctrl-autoneg=true
and then added the flow rules by executing the following commands:
#./ovs-ofctl --protocols=OpenFlow13 add-flow br0
"table=0,priority=32768,ethernet__srcAddr=0xa0369f0e3648 actions=output:1"
#./ovs-ofctl --protocols=OpenFlow13 add-flow br0
"table=0,priority=32768,ethernet__srcAddr=0xa0369f0e364a actions=output:2"
#./ovs-ofctl --protocols=OpenFlow13 add-flow br0
"table=0,priority=32768,ethernet__srcAddr=0xa0369f3eeba4 actions=output:3"
#./ovs-ofctl --protocols=OpenFlow13 add-flow br0
"table=0,priority=32768,ethernet__srcAddr=0xa0369f3eeba2 actions=output:4"
I am using DPDK pktgen for workload generation. OVS is working fine in
this case, and then I changed pktgen to generate packets with fake mac
address. I also changed the flow rules with the following commands:
./ovs-ofctl del-flows br0
./ovs-ofctl --protocols=OpenFlow13 add-flow br0
"table=0,ethernet__dstAddr=0xa00000000000 actions=output:1"
./ovs-ofctl --protocols=OpenFlow13 add-flow br0
"table=0,ethernet__dstAddr=0xa00000000001actions=output:2"
./ovs-ofctl --protocols=OpenFlow13 add-flow br0
"table=0,ethernet__dstAddr=0xa00000000002 actions=output:3"
./ovs-ofctl --protocols=OpenFlow13 add-flow br0
"table=0,ethernet__dstAddr=0xa00000000003 actions=output:4"
In case of original mac address, OVS is forwarding at 12 Mpps rate for
64 bytes packets but when I started using fake mac address, the
throughput decreased to 5.8 Mpps. I am not sure about the reason and why
the throughput is decreasing in case of fake mac addresses.
All the ports on both the machines are running in promiscuous mode. Am
I missing something here?
Thank you for your time.
Thanks,
Ankit
_______________________________________________
discuss mailing list
[email protected]
https://mail.openvswitch.org/mailman/listinfo/ovs-discuss