Cant get higher speeds out of bonded connection

    • OMV 2.x
    • 1) Are the upstream ports in manageable/smart switch? if you're connecting them to your home router.....then no comments.

      2) You're only gonna get 2Gbits if you connect your desktop/laptop also in LACP mode with two nics or the switch has 10Gbit port and the desktop also. Best thing you can do is 2 separate computers in the same LAN downloading simultaneously at 1Gbit, also if the hdd are capable of pulling 200MB/s (ideally a raid5 or ssd)

      3) This is commonly done done with identical nic cards, it should work but is preferred that the cards are same vendor/model
      New wiki
      chat support at #openmediavault@freenode IRC | Spanish & English | GMT+10
      telegram.me/openmediavault broadcast channel
      openmediavault discord server
    • subzero79 wrote:

      1) Are the upstream ports in manageable/smart switch? if you're connecting them to your home router.....then no comments.

      2) You're only gonna get 2Gbits if you connect your desktop/laptop also in LACP mode with two nics or the switch has 10Gbit port and the desktop also. Best thing you can do is 2 separate computers in the same LAN downloading simultaneously at 1Gbit, also if the hdd are capable of pulling 200MB/s (ideally a raid5 or ssd)

      3) This is commonly done done with identical nic cards, it should work but is preferred that the cards are same vendor/model

      1) I am using a un-managed switch, connected to my home router, but it seems to support LACP
      2)I am using LACP on my desktop
      3)I am using a realtek and intel in my main compter, which seem to be running fine
    • UWillParish wrote:

      I am using a un-managed switch, connected to my home router, but it seems to support LACP


      You should confirm this, check the manual. But i've seen only this on managed switches. There are some cheap managed switch around, netgear has one with 8port one for like 30 dollars used.
      New wiki
      chat support at #openmediavault@freenode IRC | Spanish & English | GMT+10
      telegram.me/openmediavault broadcast channel
      openmediavault discord server

      The post was edited 1 time, last by subzero79 ().

    • That's normal behavior. With LACP you can use only 1 physical trunk at a time with the same session.
      LACP uses different load balancing methods, for example mac address, or an IP/Port combination.

      If your devices only support mac hash, you will never get more than 1gb from the same device, but other devices can use the second trunk.

      The bonding module on omv should support other methods :

      Source Code

      1. modinfo bonding
      2. filename: /lib/modules/3.16.0-0.bpo.4-amd64/kernel/drivers/net/bonding/bonding.ko
      3. author: Thomas Davis, tadavis@lbl.gov and many others
      4. description: Ethernet Channel Bonding Driver, v3.7.1
      5. version: 3.7.1


      The balancing algorithm is set with the xmit_hash_policy option.

      Possible values are:

      layer2
      Uses XOR of hardware MAC addresses to generate the hash. This algorithm
      will place all traffic to a particular network peer on the same slave.

      layer2+3
      Uses XOR of hardware MAC addresses and IP addresses to generate the
      hash. This algorithm will place all traffic to a particular network peer
      on the same slave.

      layer3+4
      This policy uses upper layer protocol information, when available, to
      generate the hash. This allows for traffic to a particular network peer
      to span multiple slaves, although a single connection will not span
      multiple slaves.

      encap2+3
      This policy uses the same formula as layer2+3 but it relies on
      skb_flow_dissect to obtain the header fields which might result in the
      use of inner headers if an encapsulation protocol is used.

      encap3+4
      This policy uses the same formula as layer3+4 but it relies on
      skb_flow_dissect to obtain the header fields which might result in the
      use of inner headers if an encapsulation protocol is used.

      The default value is layer2. This option was added in bonding version
      2.6.3. In earlier versions of bonding, this parameter does not exist,
      and the layer2 policy is the only policy. The layer2+3 value was added
      for bonding version 3.2.2.


      What is used you can see here:

      Source Code

      1. cat /proc/net/bonding/bond0
      2. Ethernet Channel Bonding Driver: v3.5.0 (November 4, 2008)
      3. Bonding Mode: IEEE 802.3ad Dynamic link aggregation
      4. Transmit Hash Policy: layer2 (0)