SMB multichannel

Status
Not open for further replies.

scurrier

Patron
Joined
Jan 2, 2014
Messages
297
Looks like the version of samba with support for SMB multichannel is now in FreeNAS as of recent. Has anyone tried it successfully? Surprised there's no talk of it on the forums recently.
 

Ericloewe

Server Wrangler
Moderator
Joined
Feb 15, 2014
Messages
20,194
You mean in FreeNAS 11? Got a link to the samba docs on SMB multichannel?
 

scurrier

Patron
Joined
Jan 2, 2014
Messages
297
Joined
May 10, 2017
Messages
838
Last I heard SMB multichannel on Samba was experimental and not ready for production, ie, there's a chance of data corruption.
 

scurrier

Patron
Joined
Jan 2, 2014
Messages
297
Yes, but has anyone tried it on FreeNAS? That's the question.
 

Dariusz1989

Contributor
Joined
Aug 22, 2017
Messages
185
Any update on this? Will it come in 11.1 maybe? - as normal feature - non-experimental.
 

flotpg

Dabbler
Joined
Dec 21, 2017
Messages
20
SMB MultiChannel working fine here:
  • FreeNAS-9.10.2-U6 (561f0d7a1)#
  • two NICs in HP MicroServer, each has an IP in a different subnet
  • Services > SMB > max. Server Protocol set to SMB3_11
  • Services > SMB > Auxiliary parameters
  • Code:
    server multi channel support = yes
    aio read size = 1
    aio write size = 1
    
Worked out of the box and fully saturates two 1Gbit links (see attached screenshots)
FreeNAS SMB MultiChannel.png


FreeNAS SMB MultiChannel Service.png


FreeNAS SMB MultiChannel NIC.png
 

Ericloewe

Server Wrangler
Moderator
Joined
Feb 15, 2014
Messages
20,194
Is all your data fine? No mystery corruption?
 

Ericloewe

Server Wrangler
Moderator
Joined
Feb 15, 2014
Messages
20,194
No, I'm just asking because it's an experimental feature.
 

Xelas

Explorer
Joined
Sep 10, 2013
Messages
97
As much as I would LOVE to turn this on (I have 2 NICs on my server, have the switches to support lacp/laggs, and the 1GB interfaces are definitely bottlenecking my file server), Samba states that the feature can cause data corruption, but don't specify which race conditions actually cause that to happen.

Oh - and even Microsoft, who have RELEASED SMB3 with mutichannel support (as in, it's not "beta" but actually used in production on WinServ 2016 and with Win10 hosts) has issues and weird behavior. It's not all smooth sailing.

This is from Samba.org:
This extension should be used with care and are mainly intended
for testing. See the smb.conf manual page for details.

CAVEAT: While this should be working without problems mostly,
there are still corner cases in the treatment of channel failures
that may result in DATA CORRUPTION when these race conditions hit.
It is hence

NOT RECOMMENDED TO USE MULTI-CHANNEL IN PRODUCTION

at this stage. This situation can be expected to improve during
the life-time of the 4.4 release. Feed-back from test-setups is
highly welcome.[/quote
 
Last edited:

Breit

Dabbler
Joined
Oct 4, 2016
Messages
25
Would it be possible to have a link aggregation configured in FreeNAS (only one network interface to the world) and still use SMB multichannel on FreeNAS with, let's say, a Windows box with more than one network interface? I ask this because teaming network interfaces in Windows 10 is just crap.
Sure, it can be configured as of late, but that doesn't mean it's working well. :rolleyes:

It would be nice to have some additional bandwidth.
 

Ericloewe

Server Wrangler
Moderator
Joined
Feb 15, 2014
Messages
20,194
Status
Not open for further replies.
Top