On 14 May 2018 at 15:35, Juan Pablo <pablo.localhost@gmail.com> wrote:
so you have lacp on your host, and you want lacp also on your vm... somehow doesn't sounds correct.
there are several lacp modes. which one are you using on the host?
 

 Correct!

     |---- Single 1Gbit virtual interface
     |
VM ---- Host ==== Switch stack
               |
               |------- 4x 1Gbit interfaces bonded over LACP

The traffic for all of the VMs is distributed across the host's 4 bonded links, however each VM is limited to the 1Gbit of its own virtual interface. In the case of my proxy, all web traffic is routed through it, so its single Gbit interface has become a bottleneck.

To increase the total bandwidth available to my VM, I presume I will need to add multiple Gbit VIFs & bridge them with a bonding mode.
Balance-alb (mode 6) is one option, however I'd prefer to use LACP (mode 4) if possible.


2018-05-14 16:20 GMT-03:00 Doug Ingham:
On 14 May 2018 at 15:03, Vinícius Ferrão wrote:
You should use better hashing algorithms for LACP.

Take a look at this explanation: https://www.ibm.com/developerworks/community/blogs/storageneers/entry/Enhancing_IP_Network_Performance_with_LACP?lang=en

In general only L2 hashing is made, you can achieve better throughput with L3 and multiple IPs, or with L4 (ports).

Your switch should support those features too, if you’re using one.

V.

The problem isn't the LACP connection between the host & the switch, but setting up LACP between the VM & the host. For reasons of stability, my 4.1 cluster's switch type is currently "Linux Bridge", not "OVS". Ergo my question, is LACP on the VM possible with that, or will I have to use ALB?

Regards,
 Doug
 


On 14 May 2018, at 15:16, Doug Ingham wrote:

Hi All,
 My hosts have all of their interfaces bonded via LACP to maximise throughput, however the VMs are still limited to Gbit virtual interfaces. Is there a way to configure my VMs to take full advantage of the bonded physical interfaces?

One way might be adding several VIFs to each VM & using ALB bonding, however I'd rather use LACP if possible...

Cheers,
--
Doug


--
Doug




--
Doug