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
Next revision
Previous revision
performance_tuning [2022/11/20 10:48] – [Enable case sensitive SMB shares] johnsancperformance_tuning [2024/01/06 18:14] (current) johnsanc
Line 18: Line 18:
 ==== Use mapped network drives instead of UNC paths ==== ==== Use mapped network drives instead of UNC paths ====
 RomVault supports mapped network drive locations as well as UNC paths. Mapped network drives on Windows tend to be preferred because they can easily be configured to automatically reconnect upon login. Although no official benchmarks have been conducted, some users report faster speeds when using a mapped network drive vs UNC paths. This may be due to the fact that a mapped network drive authenticates once instead of on every file access like when using a UNC path. RomVault supports mapped network drive locations as well as UNC paths. Mapped network drives on Windows tend to be preferred because they can easily be configured to automatically reconnect upon login. Although no official benchmarks have been conducted, some users report faster speeds when using a mapped network drive vs UNC paths. This may be due to the fact that a mapped network drive authenticates once instead of on every file access like when using a UNC path.
 +
 +\\
 +==== If using UnRAID, keep ToSorts on the same drive letter or share as the RomRoot ====
 +RomVault can move complete TorrentZipped archives and uncompressed files quickly with a move operation instead of copy & delete. However, in order to perform this operation the source and destination must be on the same volume. For example, if you have an UnRAID array with a Downloads share and a Games share, you may want to create a rootshare so you can access both under the same drive letter or base UNC path. If you are moving files across shares or drive letters, a copy & delete operation will be used instead of rename.
 +
 +<WRAP info>The rename operation will not be used if the file to be moved resides on the cache pool and must be moved across shares, E.g. from Downloads to Games. To get around this and still use a cache pool, you should consider using a Downloads directory under your Games share so both the source and destination reside on the same share.</WRAP>
  
 \\ \\
 ==== 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>
 +
 +\\
 +==== Disable extended attributes with SMB settings ====
 +Some Samba settings can greatly improve performance, especially for directory listing and traversal. Consider adding these SMB settings to your NAS configuration:
 +<code>
 +ea support = no
 +store dos attributes = no
 +</code>
 +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.1668970094.txt.gz · Last modified: 2022/11/20 10:48 by johnsanc