I have a share with >20k subfolders and all together >120k small files which I serve with Samba. Accessing the share from the same remote network (VPN) with a Windows and a Linux client show quite different speeds. With Windows the content of that share shows up after a couple seconds, on Linux I can't see the content even after >30 min of waiting.
Windows client is Windows 10 Pro 64 bit Creators Update, the Linux client is Ubuntu 64 bit 16.04 LTS, smbclient installed.
Samba is configured with asynchronious I/O, Sendfile, Browsable.
Are there extra options to set to speed this up?
Machine: AMD Quad, 16 GB RAM, Gbit LAN, 50/10 Mbit Internet on NAS, remote is also 50/10 Mbit internet.
Edit: Updating the Linux machine to Ubuntu 17.04 solved the problem.