SMB Share with Audio Content for macOS clients - Browsing And Search Problems

ak111pro

Dabbler
Joined
Feb 20, 2020
Messages
10
Hey Guys,

I have 4tb SMB share with following settings:

Share Attributes
vfs objects: catia, fruit, ixnas, streams_xattr

Auxiliary parameters:
nfs4:mode = simple
smb encrypt = no
mangled names = illegal
zfsacl:expose_snapdir=True
veto files = /.windows/.mac/

Service Attributes

Unix charset: UTF-8

Zeroconf


Auxiliary parameters:
server min protocol = SMB3_02
fruit:nfs_aces = no
case sensitive = yes
mangled names = no
strict sync = no


Speed from client are: R:105 mb/s W:75 mb/s

Spolight indexing disabled.

However, browsing is really slow and searching is impossible, e.g. I have multiple folders with each 10.000 .wav files in it. Opening the folders takes up to 2min.

Can you help me?
 

seanm

Guru
Joined
Jun 11, 2018
Messages
570
Have you used iperf to rule out network speed issues?

How is speed with big files?

How well does Finder do with 10k files on a local disk for comparison?
 

ak111pro

Dabbler
Joined
Feb 20, 2020
Messages
10
Have you used iperf to rule out network speed issues?

How is speed with big files?

How well does Finder do with 10k files on a local disk for comparison?
iperf was 921Mbit/s

big file 4,2gb had 75mb/s speed

local disk takes 10-15 sec to display a folder with 17k audio files in it.
 
Joined
Jul 3, 2015
Messages
926
I would try turning off SMB signing from the client-side like this https://support.apple.com/en-us/HT205926

And although this may no longer be relevant in 11.3 historically people have found the below added to their SMB Aux parameters helps speed up browsing.

ea support = no
store dos attributes = no
map archive = no
map hidden = no
map readonly = no
map system = no
 

sretalla

Powered by Neutrality
Moderator
Joined
Jan 1, 2016
Messages
9,702
Have a look at this post... perhaps the bit about SMB list optimization being done only at create time applies to you:

Otherwise @anodos might need to get involved to help.
 

anodos

Sambassador
iXsystems
Joined
Mar 6, 2014
Messages
9,546
Have a look at this post... perhaps the bit about SMB list optimization being done only at create time applies to you:

Otherwise @anodos might need to get involved to help.
I generally don't help with specific FreeNAS performance / configuration issues for individual users. I will give general pointers, and maybe help more in-depth when we have a new release like 11.3-RELEASE.

Generally speaking, we are making changes to improve SMB performance and these are reflected in new defaults or behind-the-scenes changes. Defaults usually don't change in U-releases. Configuration, deployment, and software support is provided to TrueNAS customers.
 

ak111pro

Dabbler
Joined
Feb 20, 2020
Messages
10
Thanks for your help. I think now I found a setting, where I can search and browse. I've also enabled spolight on each client. The big disadvantage is, that it updates the index upon every connection, which takes up to 20 min
 
Joined
Jul 3, 2015
Messages
926
I'm pretty sure spotlight indexing only works on AFP shares.
 

ak111pro

Dabbler
Joined
Feb 20, 2020
Messages
10
Nope, works on smb, too. Screenshot attached.
 

Attachments

  • Screenshot 2020-02-24 at 17.34.26.png
    Screenshot 2020-02-24 at 17.34.26.png
    305 KB · Views: 257
Joined
Jul 3, 2015
Messages
926
Just because you can enable it on the client doesn't mean it's doing a fat lot. Do you actually see any real speed improvements as I tried this fairly recently and didn't?
 
Joined
Jul 3, 2015
Messages
926
That's strange. Searching was fine on mine just slow and enabling indexing did nothing for me.
 

ak111pro

Dabbler
Joined
Feb 20, 2020
Messages
10
I also couldn't enable it on client running sierra, had to upgrade it to mojave. Maybe this has to do something with macos. It also says: Indexing enabled and not Server search enabled like it is with macos hosts. That's why I thought it is client-side indexing
 
Top