Our setup:
Server: Windows Server 2008
Client: SHMZ 6.6 (FreePBX, CentOS)
mount.cifs version: 4.8.1
smbclient version: Version 3.6.23-14.el6_6
Using this command to connect:
mount.cifs //192.168.0.10/Share /mnt/share -o "username=windowsuser,sec=ntlm,servern=SERVERNAME,password=windowsuserpassword"
Takes 1 minute and 3 seconds to mount an empty folder.
Question is: how to speed up the mount process?
UPDATE 1: You may have noticed that I didn't do any diagnosis prior to writing this post. Mainly it's because I don't know where to start. Please give me a at least a hint how to analyze the connection process.
UPDATE 2: Well, I captured the mount process, I see there 2 major lags: ~10 and ~30 seconds. Can't figure out the reason though. Can you please suggest anything? http://tinypic.com/r/2cxz21z/9