diff options
Diffstat (limited to 'net')
-rw-r--r-- | net/samba-devel/files/smb.conf.default | 14 | ||||
-rw-r--r-- | net/samba/files/smb.conf.default | 14 | ||||
-rw-r--r-- | net/samba3/files/smb.conf.default | 14 |
3 files changed, 42 insertions, 0 deletions
diff --git a/net/samba-devel/files/smb.conf.default b/net/samba-devel/files/smb.conf.default index a155a73fab5d..4fab264c7c09 100644 --- a/net/samba-devel/files/smb.conf.default +++ b/net/samba-devel/files/smb.conf.default @@ -166,6 +166,20 @@ ; client code page=932 ; coding system=cap +# Samba performance workaround: +# If you have performance problem, please test these parameters. +# Simon Lindgren <simon@lindgren.no> 's example: +; getwd cache = Yes +; max xmit = 8192 +; read raw = yes +; read prediction = yes +; read size = 8192 +; socket options = IPTOS_LOWDELAY TCP_NODELAY +# Jerry Bell <bell@reillyplating.com> 's example: +; socket options = IPTOS_LOWDELAY TCP_NODELAY SO_SNDBUF=16384 SO_RCVBUF=16384 +; readsize = 16384 +; read prediction = true + #============================ Share Definitions ============================== [homes] comment = Home Directories diff --git a/net/samba/files/smb.conf.default b/net/samba/files/smb.conf.default index a155a73fab5d..4fab264c7c09 100644 --- a/net/samba/files/smb.conf.default +++ b/net/samba/files/smb.conf.default @@ -166,6 +166,20 @@ ; client code page=932 ; coding system=cap +# Samba performance workaround: +# If you have performance problem, please test these parameters. +# Simon Lindgren <simon@lindgren.no> 's example: +; getwd cache = Yes +; max xmit = 8192 +; read raw = yes +; read prediction = yes +; read size = 8192 +; socket options = IPTOS_LOWDELAY TCP_NODELAY +# Jerry Bell <bell@reillyplating.com> 's example: +; socket options = IPTOS_LOWDELAY TCP_NODELAY SO_SNDBUF=16384 SO_RCVBUF=16384 +; readsize = 16384 +; read prediction = true + #============================ Share Definitions ============================== [homes] comment = Home Directories diff --git a/net/samba3/files/smb.conf.default b/net/samba3/files/smb.conf.default index a155a73fab5d..4fab264c7c09 100644 --- a/net/samba3/files/smb.conf.default +++ b/net/samba3/files/smb.conf.default @@ -166,6 +166,20 @@ ; client code page=932 ; coding system=cap +# Samba performance workaround: +# If you have performance problem, please test these parameters. +# Simon Lindgren <simon@lindgren.no> 's example: +; getwd cache = Yes +; max xmit = 8192 +; read raw = yes +; read prediction = yes +; read size = 8192 +; socket options = IPTOS_LOWDELAY TCP_NODELAY +# Jerry Bell <bell@reillyplating.com> 's example: +; socket options = IPTOS_LOWDELAY TCP_NODELAY SO_SNDBUF=16384 SO_RCVBUF=16384 +; readsize = 16384 +; read prediction = true + #============================ Share Definitions ============================== [homes] comment = Home Directories |