[Samba] No increased throughput with SMB Multichannel and two NICs
jra at samba.org
Tue Sep 6 17:39:43 UTC 2016
On Tue, Sep 06, 2016 at 03:56:14PM +0200, Daniel Vogelbacher via samba wrote:
> Am 2016-09-06 10:41, schrieb Anoop C S via samba:
> >On Sun, 2016-09-04 at 11:42 +0200, Daniel Vogelbacher via samba wrote:
> >>I'm running Samba 4.4.5 with enabled SMB Multichannel. The Linux
> >>has two 1GBit/s NICs and for testing purposes I've shared a tmpfs
> >>mountpoint with 2GiB and ~2GiB large test-file.
> >>My Windows 10 host has one dual-port 1GBit/s NIC, and if both
> >>are enabled, Get-SmbMultichannelConnection lists active multichannel
> >>connections to my Linux SMB server.
> >>If I disable one NIC on Windows, the other NIC is used with ~1GBit/s
> >>when transferring the test-file from Linux to Windows.
> >>If I enable both NICs, instead of 2x1Gbit/s I only get ~500MBit/s per
> >>interface (but both interfaces are used).
> >>So instead of doubling the throughput, traffic is split up between
> >>interface half by half.
> >This is mostly a Windows client-controlled behavior. Refer to the
> >following reply for a thread on similar subject for more details.
> [...]AFAIK, the windows client only puts traffic on interfaces of same
> speed and quality simultaneouslt[...]
> I interpret this as "with two identical NIC-speeds at server-side
> and client-side it should result in double throughput".
> On both hosts I've 2x1GBit/s NICs and Windows uses both(!) NICs (but
> not at full speed when multichannel is enabled). So I don't think my
> problem is related to this thread, beacuse if it is, Windows would
> choose only one NIC.
What do you have set for "aio read size"/"aio write size"
in your smb.conf ?
More information about the samba