Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 25 Apr 2014 13:13:16 +0200
From:      Robert Blacquiere <freebsd-net@blacquiere.nl>
To:        freebsd-net@freebsd.org
Subject:   Re: NFS over LAGG / lacp poor performance
Message-ID:  <20140425111316.GJ9177@calendar.blacquiere.nl>
In-Reply-To: <535A1354.2040309@wp.pl>
References:  <535A1354.2040309@wp.pl>

next in thread | previous in thread | raw e-mail | index | archive | help

Hi Marek,

On Fri, Apr 25, 2014 at 09:48:36AM +0200, Marek Salwerowicz wrote:
> Hi list,
> 
<snip>
> Both boxes are  connected to the same switch (HP 1910-48G)
> 
> I need to transfer around 10 TB of data from storage1 to storage2
> I obeserve that during copying, only one NIC (instead of all 4) is used.
> 
> Boxes are not stressed during copying
> 
> What's more, apart from having 1 NIC saturated (transfer around 120
> MB/s), I observe transfer rate on level of 70-80 MB/s

Default lacp 802.3ad works with mac based hashes to loadbalance traffic.
So single host (mac) will be transfered by one ethernet adaptor as you
have seen.

> 
> I haven't changed any kernel configuration, nor sysctl's - am I missing
> sth ?

There are tuneables, i think, to change the hash from mac source : dest
hash to session tcp source+port: dest:port but these might need also
configuring on switch/network.

Regards

Robert Blacquiere




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20140425111316.GJ9177>