Windows 2025
Sponsored Link

File Server : Configure SMB Multi Channel2025/01/10

 

To configure SMB Multi Channel feature that is implemented in SMB 3.0, it's possible to use multiple network interfaces for file service.

 

To use SMB Multi Channel feature, it must satisfy at least one of the following conditions.

* Network adopters support RSS (Receive Side Scaling)
* Network adopters are grouped with NIC Teaming
* Network adopters support RDMA (Remote Direct Memory Access)

Refer to more details follows.
⇒ https://learn.microsoft.com/en-us/azure/azure-local/manage/manage-smb-multichannel

[1] Run PowerShell with Admin Privilege and Configure.
Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.

# confirm the feature is enabled or not (enabled by default)
PS C:\Users\Administrator> Get-SmbServerConfiguration | Out-String -Stream | Select-String "EnableMultiChannel"

EnableMultiChannel              : True

# if disabled, enable like follows
PS C:\Users\Administrator> Set-SmbServerConfiguration -EnableMultiChannel $True

# confirm network interfaces
PS C:\Users\Administrator> Get-SmbServerNetworkInterface

Scope Name Interface Index RSS Capable RDMA Capable Speed   IpAddress
---------- --------------- ----------- ------------ -----   ---------
*          10              True        False        10 Gbps fe80::a4b3:140c:6fff:9fb4
*          5               True        False        10 Gbps fe80::ed10:2d4f:ab8d:fc57
*          10              True        False        10 Gbps 10.0.0.111
*          5               True        False        10 Gbps 10.0.0.101

# set Multi Channel
# -ServerName : (hostname)
# -InterfaceIndex : (network interface to be used)
PS C:\Users\Administrator> New-SmbMultichannelConstraint -ServerName "rx-7" -InterfaceIndex 5, 10 -Force 

# confirm settings
PS C:\Users\Administrator> Get-SmbMultichannelConstraint

InterfaceAlias : Ethernet Instance 0
InterfaceGuid  : {8e6033fd-c481-4c0f-a1e5-18e52bc369e1}
InterfaceIndex : 5
ServerName     : rx-7
PSComputerName :

InterfaceAlias : Ethernet Instance 0 2
InterfaceGuid  : {c2d70c68-2793-42c2-a032-164590997856}
InterfaceIndex : 10
ServerName     : rx-7
PSComputerName :

# if remove settings, configure like follows
PS C:\Users\Administrator> Remove-SmbMultichannelConstraint -ServerName "rx-7"

Confirm
Are you sure you want to perform this action?
Performing operation 'Remove-SmbMultiChannelConstraint' on Target 'rx-7,{4f66ee03-2f54-4332-b929-f8c9ee9155aa}'.
[Y] Yes  [A] Yes to All  [N] No  [L] No to All  [S] Suspend  [?] Help (default is "Y"): Y

Confirm
Are you sure you want to perform this action?
Performing operation 'Remove-SmbMultiChannelConstraint' on Target 'rx-7,{f3557ef5-cbde-4748-9894-c1ee4738e732}'.
[Y] Yes  [A] Yes to All  [N] No  [L] No to All  [S] Suspend  [?] Help (default is "Y"): Y
[2] Verify the speed by accessing the target file service from any client computer.
(There may be cases where you cannot see the effect due to various factors on the network)
Matched Content