SMB3 clients - slower performance

Status
Not open for further replies.

Kljajoni

Cadet
Joined
Apr 20, 2015
Messages
7
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.

Picture.jpg


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 ?
 
Joined
Jan 18, 2017
Messages
525
I had felt this way when I rebuilt my desktop and moved from windows vista to windows 10 so just now I installed a Vista VM on hyper-v on my desktop to test with. folder with 32866 files took 5.12 seconds to calculate on vista and it took 55.16 to calculate on 10. Loading thumbnails is exponentially faster on the vista VM (even though it has never been in the folder before) than windows 10 (in a folder it has loaded the thumbnails for minutes earlier)
 
Status
Not open for further replies.
Top