I searched the whole forum, but I was unable to find that anyone reported something similar. I configured FreeNAS-11.1-U6 ( Intel(R) Xeon(R) Gold 5122 CPU @ 3.60GHz, 128GB RAM, Intel 10Gbit network, Samsung SSD drives), joined it to an AD domain, started SAMBA for CIFS exports and noticed that all Windows 10 and Windows Servers 2012 R2 were accessing and browsing SMB shares slower that Windows 7 clients.
For example, it takes maybe 7-8 seconds for Windows 7 client to enumerate/traverse properties of the folder (60970 files, 3105 folders) and for SMB3 clients that takes a lot longer (50 sec for example). If I try immediately to check folder properties once again, on Windows 7 clients enumeration finished little faster (5-6 sec, probably cached metadata), but on Win10/Win2012R2 clients enumeration time remained the same.
I disabled Windows Defender, Antivirus, tried to tune every possible thing for Samba (some parameters are mentioned below as an example) , but without any difference.
store dos attributes = no
ea support = no
min protocol = SMB2
max protocol = SMB2
client ipc signing = disabled
client signing = disabled
server signing = disabled
smb encrypt = off
The only thing that i noticed was different between connections from Win7 (PID 8678) and Win10 clients was this
root@bckserv2:~ # smbstatus
Samba version 4.7.0-GIT-453151f915d-FreeNAS
PID Username Group Machine Protocol Version Encryption Signing
----------------------------------------------------------------------------------------------------------------------------------------
8400 *********\user1 ********\domain users 10.*.*.196 (ipv4:10.*.*.196:49735) SMB2_10 - partial(HMAC-SHA256)
6529 ********\user1 ********\domain users 10.*.*.196 (ipv4:10.*.*.196:49770) SMB2_10 - partial(HMAC-SHA256)
8678 ********\user1 ********\domain users 10.*.*.2 (ipv4:10.*.*.2:60605) SMB2_10 - -
but I am not sure is that root source of the problem (partial signing).
Anyone has an idea how to solve this ?
For example, it takes maybe 7-8 seconds for Windows 7 client to enumerate/traverse properties of the folder (60970 files, 3105 folders) and for SMB3 clients that takes a lot longer (50 sec for example). If I try immediately to check folder properties once again, on Windows 7 clients enumeration finished little faster (5-6 sec, probably cached metadata), but on Win10/Win2012R2 clients enumeration time remained the same.
I disabled Windows Defender, Antivirus, tried to tune every possible thing for Samba (some parameters are mentioned below as an example) , but without any difference.
store dos attributes = no
ea support = no
min protocol = SMB2
max protocol = SMB2
client ipc signing = disabled
client signing = disabled
server signing = disabled
smb encrypt = off
The only thing that i noticed was different between connections from Win7 (PID 8678) and Win10 clients was this
root@bckserv2:~ # smbstatus
Samba version 4.7.0-GIT-453151f915d-FreeNAS
PID Username Group Machine Protocol Version Encryption Signing
----------------------------------------------------------------------------------------------------------------------------------------
8400 *********\user1 ********\domain users 10.*.*.196 (ipv4:10.*.*.196:49735) SMB2_10 - partial(HMAC-SHA256)
6529 ********\user1 ********\domain users 10.*.*.196 (ipv4:10.*.*.196:49770) SMB2_10 - partial(HMAC-SHA256)
8678 ********\user1 ********\domain users 10.*.*.2 (ipv4:10.*.*.2:60605) SMB2_10 - -
but I am not sure is that root source of the problem (partial signing).
Anyone has an idea how to solve this ?