Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Last revisionBoth sides next revision
docs:guide-user:services:nas:ksmbd [2024/12/11 13:44] – [Example] sppmasterdocs:guide-user:services:nas:ksmbd [2024/12/11 13:52] – [Example] sppmaster
Line 68: Line 68:
 </code> </code>
  
-On devices with sufficient RAM (typically >256MB) performance can be improved, increase or comment out the preset buffer limits in LuCI -> Services -> Network Shares -> Edit Template. Save and apply: +On devices with sufficient RAM (typically >256MB) performance can be improved, increase or comment out the preset buffer limits in LuCI -> Services -> Network Shares -> Edit Template. Save and apply: \\ 
-As of this commit https://github.com/openwrt/packages/pull/25519 the below values are adjusted automatically (no need to change anything). This is valid for devices running OpenWrt main snapshot builds. +As of this commit https://github.com/openwrt/packages/pull/25519 the below values are adjusted automatically (no need to change anything). This is valid for devices running OpenWrt main snapshot builds. \\
 For versions below 24.10 you have to manually edit the template and adjust the values accordingly.  For versions below 24.10 you have to manually edit the template and adjust the values accordingly. 
 <code> <code>
Line 75: Line 75:
  #smb2 max write = 512K  #smb2 max write = 512K
  #smb2 max trans = 512K  #smb2 max trans = 512K
 +
 + 32 ~ 64MB RAM, set the value to 64K
 + 64 ~ 128MB, set it to 128KB
 + 128 ~ 256MB, set it to 1MB
 + More than 256MB leave default size to 4MB
 +
 + With 64MB and 128MB it is better also to disable (comment) the read/write cache
 + cache read buffers = no
 + cache write buffers = no
 </code> </code>
  
  • Last modified: 2024/12/11 13:53
  • by sppmaster