SMB First Login VERY SLOW

laxer07

Cadet
Joined
Jan 2, 2020
Messages
1
Hello, I am brand new on the forums, so please forgive me if I have asked a question that has been answered. I have been searching the forums and google for an answer to resolve this issue but so far nothing has seemed to help. Hopefully, this is an easy question.

I have used FreeNAS for a while and have never had this issue until now. I just built a brand new box for our work file server. The hardware specs include:
1. (2) Intel(R) Xeon(R) CPU E5-2660 v3 @ 2.60GHz
2. 128 GB of ECC Ram
3. (16) 3TB storage drives
4. (2) 480GB Logging drives
5. (1) 512GB Cache drive
6. Intel X540T2 NIC running LACP
7. Netgear GS752TP Managed switch
8. Cat 7 Cables

I am using FreeNAS-11.2-U7 and we are using the SMB service for our windows shares.

The issue that I am having is that when the user tries to access the file server before they have typed in their user credentials it takes upwards of 2 mins before the window pops up for them to type in their credentials. Once the window pops up and they have typed in there credentials then everything runs fine and they can browse easily. I have been looking everywhere for a solution and I can't seem to find one.

I have gone here (https://www.ixsystems.com/community/threads/cifs-directory-browsing-slow-try-this.27751/) and implemented all the suggestions but none of them seem to improve the performance at all. At least not noticeably.
My Auxiliary Parameters on SMB are:
Code:
ea support = no
store dos attributes = no
map archive = no
map hidden = no
map readonly = no
map system = no


I also went here (https://wiki.samba.org/index.php/Performance_Tuning), but none of it seemed to apply.

I ran a couple of network tests using iperf, results are below:

Test 1 results form computer using "-u -b 1000m"

Code:
    [ ID] Interval           Transfer     Bandwidth       Total Datagrams
[  4]   0.00-1.00   sec   109 MBytes   918 Mbits/sec  14012
[  4]   1.00-2.00   sec  94.2 MBytes   790 Mbits/sec  12061
[  4]   2.00-3.00   sec   104 MBytes   871 Mbits/sec  13293
[  4]   3.00-4.00   sec   108 MBytes   906 Mbits/sec  13827
[  4]   4.00-5.00   sec   113 MBytes   952 Mbits/sec  14527
[  4]   5.00-6.00   sec   114 MBytes   953 Mbits/sec  14545
[  4]   6.00-7.00   sec   111 MBytes   930 Mbits/sec  14197
[  4]   7.00-8.00   sec   109 MBytes   918 Mbits/sec  14014
[  4]   8.00-9.00   sec   114 MBytes   956 Mbits/sec  14582
[  4]   9.00-10.00  sec   103 MBytes   868 Mbits/sec  13244
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bandwidth       Jitter    Lost/Total Datagrams
[  4]   0.00-10.00  sec  1.06 GBytes   906 Mbits/sec  0.044 ms  50745/138072 (37%)
[  4] Sent 138072 datagrams

iperf Done.


Test 1 results from server using "-u -b 1000m"

Code:
[ ID] Interval           Transfer     Bitrate         Jitter    Lost/Total Datagrams
[  5]   0.00-1.00   sec  65.2 MBytes   547 Mbits/sec  0.047 ms  4776/13117 (36%)
[  5]   1.00-2.00   sec  68.4 MBytes   574 Mbits/sec  0.062 ms  3333/12089 (28%)
[  5]   2.00-3.00   sec  68.3 MBytes   573 Mbits/sec  0.060 ms  4448/13192 (34%)
[  5]   3.00-4.00   sec  67.8 MBytes   569 Mbits/sec  0.021 ms  4993/13675 (37%)
[  5]   4.00-5.00   sec  68.6 MBytes   575 Mbits/sec  0.053 ms  5901/14676 (40%)
[  5]   5.00-6.00   sec  68.3 MBytes   573 Mbits/sec  0.088 ms  5883/14629 (40%)
[  5]   6.00-7.00   sec  68.0 MBytes   570 Mbits/sec  0.037 ms  5455/14155 (39%)
[  5]   7.00-8.00   sec  67.6 MBytes   567 Mbits/sec  0.037 ms  5659/14306 (40%)
[  5]   8.00-9.00   sec  68.4 MBytes   573 Mbits/sec  0.029 ms  5581/14330 (39%)
[  5]   9.00-10.00  sec  68.5 MBytes   574 Mbits/sec  0.161 ms  4522/13288 (34%)
[  5]  10.00-10.05  sec  3.29 MBytes   600 Mbits/sec  0.044 ms  194/615 (32%)
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate         Jitter    Lost/Total Datagrams
[  5]   0.00-10.05  sec   682 MBytes   570 Mbits/sec  0.044 ms  50745/138072 (37%)  receiver


Test 2 results form computer without any other parameters set.

Code:
[ ID] Interval           Transfer     Bandwidth
[  4]   0.00-1.00   sec  26.8 MBytes   224 Mbits/sec
[  4]   1.00-2.00   sec  29.2 MBytes   246 Mbits/sec
[  4]   2.00-3.00   sec  29.8 MBytes   250 Mbits/sec
[  4]   3.00-4.00   sec  30.2 MBytes   254 Mbits/sec
[  4]   4.00-5.00   sec  30.0 MBytes   251 Mbits/sec
[  4]   5.00-6.00   sec  29.8 MBytes   250 Mbits/sec
[  4]   6.00-7.00   sec  30.0 MBytes   252 Mbits/sec
[  4]   7.00-8.00   sec  28.0 MBytes   235 Mbits/sec
[  4]   8.00-9.00   sec  28.8 MBytes   241 Mbits/sec
[  4]   9.00-10.00  sec  30.0 MBytes   252 Mbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bandwidth
[  4]   0.00-10.00  sec   292 MBytes   245 Mbits/sec                  sender
[  4]   0.00-10.00  sec   292 MBytes   245 Mbits/sec                  receiver

iperf Done.


Test 2 results from server

Code:
[ ID] Interval           Transfer     Bitrate
[  5]   0.00-1.00   sec  26.5 MBytes   222 Mbits/sec
[  5]   1.00-2.00   sec  29.4 MBytes   247 Mbits/sec
[  5]   2.00-3.00   sec  29.6 MBytes   248 Mbits/sec
[  5]   3.00-4.00   sec  30.3 MBytes   254 Mbits/sec
[  5]   4.00-5.00   sec  29.9 MBytes   251 Mbits/sec
[  5]   5.00-6.00   sec  29.7 MBytes   249 Mbits/sec
[  5]   6.00-7.00   sec  30.0 MBytes   252 Mbits/sec
[  5]   7.00-8.00   sec  28.2 MBytes   236 Mbits/sec
[  5]   8.00-9.00   sec  28.7 MBytes   241 Mbits/sec
[  5]   9.00-10.00  sec  30.0 MBytes   252 Mbits/sec
[  5]  10.00-10.02  sec   128 KBytes  51.2 Mbits/sec
- - - - - - - - - - - - - - - - - - - - - - - - -
[ ID] Interval           Transfer     Bitrate
[  5]   0.00-10.02  sec   292 MBytes   245 Mbits/sec                  receiver


Thank you for your time and any advice is greatly appreciated.
 
Top