This is the old XigmaNAS forum in read only mode,
it will taken offline by the end of march 2021!



I like to aks Users and Admins to rewrite/take over important post from here into the new fresh main forum!
Its not possible for us to export from here and import it to the main forum!

[SOLVED] SMB3 is about 50 % slower then SMB2

CIFS/SMB network sharing.
Forum rules
Set-Up GuideFAQsForum Rules
Post Reply
fallen2109
Starter
Starter
Posts: 51
Joined: 27 Oct 2014 22:38
Location: The Netherlands
Status: Offline

[SOLVED] SMB3 is about 50 % slower then SMB2

Post by fallen2109 »

Guys,

I know it may be a newbie question, but can someone proficient in SMB configuration explain what are the penalties of using SMB2 instead of SMB3?
I have a mixed network of Win7 / 8.1 / 10 PCs. So far I do not see a problem connecting to SMB2 NAS4FREE server. However when I switch to SMB3
file transfers drop from 90-100 to 50-60 MB/s. This is a huge price to pay and I am curious what if I continue using SMB2 despite the presence of Win 8.1 / Win 10 SMB clients.

I am on the latest NAS4FREE (v10.2.0.2.1962). I am using "Local User"mode, SMB send buffer is 514000 and receive is 1028000 respectively. Large R/W, Async I/O (default 1024 size) and DOS attributes are all enabled. I also have the following Aux parameters:
getwd cache = yes
smb ports = 139


Any help or advice will be highly appreciated. :D
12.0.0.4 - Reticulus (revision 6928)
x64-full on Intel(R) Xeon(R) CPU L5640 @ 2.27GHz (Dual CPU)
Supermicro X8DT3, 48 GB Ram

User avatar
daoyama
Developer
Developer
Posts: 394
Joined: 25 Aug 2012 09:28
Location: Japan
Status: Offline

Re: SMB3 is about 50 % slower then SMB2

Post by daoyama »

You should use default setting without Auxiliary parameters before changing. (disable AIO, use 128480)
Factory default is well tested on Intel server adapter, CT desktop adapter and on board chip such as I210/I217.
Default values will be reached to around 110MB/s on Intel single GbE port.

If you already modify many places, use fresh installed USB stick and default config.

BTW, did you reboot all client after changing to SMB3?
Also getwd cache = Yes is default of samba. You don't need specify it.

Default result on Windows10:
20151110E.png
Copy ISO image to NAS4Free:
20151110D.png
You do not have the required permissions to view the files attached to this post.
NAS4Free 10.2.0.2.2115 (x64-embedded), 10.2.0.2.2258 (arm), 10.2.0.2.2258(dom0)
GIGABYTE 5YASV-RH, Celeron E3400 (Dual 2.6GHz), ECC 8GB, Intel ET/CT/82566DM (on-board), ZFS mirror (2TBx2)
ASRock E350M1/USB3, 16GB, Realtek 8111E (on-board), ZFS mirror (2TBx2)
MSI MS-9666, Core i7-860(Quad 2.8GHz/HT), 32GB, Mellanox ConnectX-2 EN/Intel 82578DM (on-board), ZFS mirror (3TBx2+L2ARC/ZIL:SSD128GB)
Develop/test environment:
VirtualBox 512MB VM, ESXi 512MB-8GB VM, Raspberry Pi, Pi2, ODROID-C1

fallen2109
Starter
Starter
Posts: 51
Joined: 27 Oct 2014 22:38
Location: The Netherlands
Status: Offline

Re: SMB3 is about 50 % slower then SMB2

Post by fallen2109 »

Yep - finally - I got your figures - 117 MB /s. Thank you for the help. :D
12.0.0.4 - Reticulus (revision 6928)
x64-full on Intel(R) Xeon(R) CPU L5640 @ 2.27GHz (Dual CPU)
Supermicro X8DT3, 48 GB Ram

Post Reply

Return to “CIFS/SMB (Samba)”