Dear All: I am a newbie about OVS, testing LACP functionality with two VSs within a single host. In this host, I created two VMs:
VM1, with virtual interface: vnet0 VM2, with virtual interface: vnet1 then I create two VSs: br1 and br2, with: vnet0 being attached to br1 vnet1 being attached to br2 afterward, in order to verify LACP, I create just one link between the two bridges using this method: http://openvswitch.org/pipermail/discuss/2012-February/006502.html vnet0-br1-veth0----(10Mbps)----veth1-br2-vnet1 I test the bandwidth with iperf, everything works perfectly. After using the same way to create the second link and bonding them with LACP utility, it looks like: /veth0----(10Mbps)----veth1\ vnet0-br1 br2-vnet1 \veth4----(10Mbps)----veth5/ And the status looks perfectly fine as well, all interfaces know their partners in all ways: port_id, sys_id and key. The details are as follows: [root@localhost dev]# ovs-appctl lacp/show ---- bond1 ---- status: active negotiated sys_id: 9a:67:18:b4:2a:40 sys_priority: 65534 aggregation key: 52 lacp_time: slow slave: veth0: current attached port_id: 53 port_priority: 65535 actor sys_id: 9a:67:18:b4:2a:40 actor sys_priority: 65534 actor port_id: 53 actor port_priority: 65535 actor key: 52 actor state: activity aggregation synchronized collecting distributing partner sys_id: f6:04:ca:00:83:4c partner sys_priority: 65534 partner port_id: 50 partner port_priority: 65535 partner key: 49 partner state: activity aggregation synchronized collecting distributing slave: veth4: current attached port_id: 52 port_priority: 65535 actor sys_id: 9a:67:18:b4:2a:40 actor sys_priority: 65534 actor port_id: 52 actor port_priority: 65535 actor key: 52 actor state: activity aggregation synchronized collecting distributing partner sys_id: f6:04:ca:00:83:4c partner sys_priority: 65534 partner port_id: 49 partner port_priority: 65535 partner key: 49 partner state: activity aggregation synchronized collecting distributing ---- bond2 ---- status: active negotiated sys_id: f6:04:ca:00:83:4c sys_priority: 65534 aggregation key: 49 lacp_time: slow slave: veth1: current attached port_id: 50 port_priority: 65535 actor sys_id: f6:04:ca:00:83:4c actor sys_priority: 65534 actor port_id: 50 actor port_priority: 65535 actor key: 49 actor state: activity aggregation synchronized collecting distributing partner sys_id: 9a:67:18:b4:2a:40 partner sys_priority: 65534 partner port_id: 53 partner port_priority: 65535 partner key: 52 partner state: activity aggregation synchronized collecting distributing slave: veth5: current attached port_id: 49 port_priority: 65535 actor sys_id: f6:04:ca:00:83:4c actor sys_priority: 65534 actor port_id: 49 actor port_priority: 65535 actor key: 49 actor state: activity aggregation synchronized collecting distributing partner sys_id: 9a:67:18:b4:2a:40 partner sys_priority: 65534 partner port_id: 52 partner port_priority: 65535 partner key: 52 partner state: activity aggregation synchronized collecting distributing Once again, I test the bandwidth, the speed stays at 10Mbps... I expected that the speed should be doubled: 20Mbps. Any ideas? PS: Without any bandwidth limitation and LACP setting, the default speed of a single link can be up to near 200Mbps. _______________________________________________ discuss mailing list discuss@openvswitch.org http://openvswitch.org/mailman/listinfo/discuss