User Tools

Site Tools


performance_tuning

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
performance_tuning [2023/11/07 08:00] johnsancperformance_tuning [2024/01/06 18:14] (current) johnsanc
Line 27: Line 27:
 \\ \\
 ==== Enable case sensitive SMB shares ==== ==== Enable case sensitive SMB shares ====
-If you are using a SMB share, you should always configure this share to enable case sensitivity. If a SMB share is not explicitly configured for case sensitivity then you will have poor performance when working with very large directories because Samba must do a filename search and match on passed names. For more information please refer to the Name Mangling section of the [[https://www.samba.org/samba/docs/current/man-html/smb.conf.5.html|Samba documentation]].+If you are using a SMB share and have performance issue with RomVault fixing files in large directories, you can try enabling case sensitivity. If a SMB share is case insensitive then Samba will do a filename search and match on passed names. For more information please refer to the Name Mangling section of the [[https://www.samba.org/samba/docs/current/man-html/smb.conf.5.html|Samba documentation]].
  
-<WRAP important>It is ALWAYS recommended to use case sensitive SMB shares with RomVault. Case insensitive SMB shares may result in an error while fixing due to changing character case of a filename.</WRAP>+<WRAP important>It is recommended to use case sensitive SMB shares with RomVault in your underlying filesystem is also case sensitive. Case insensitive SMB shares may result in an error while fixing due to changing character case of a filename.</WRAP>
  
 <WRAP info>If you are an UnRAID user, this setting can easily be changed to "Yes" in the SMB Security Settings tab of your user share.</WRAP> <WRAP info>If you are an UnRAID user, this setting can easily be changed to "Yes" in the SMB Security Settings tab of your user share.</WRAP>
Line 40: Line 40:
 store dos attributes = no store dos attributes = no
 </code> </code>
-These settings will prevent Samba from writing and reading extended attributes used for legacy DOS permissions.+These settings will prevent Samba from writing and reading extended attributes used for legacy DOS permissions. Directory listing tests showed a 28% speed improvement.
  
 \\ \\
performance_tuning.txt · Last modified: 2024/01/06 18:14 by johnsanc