From 8e56b73a4cd2523c39683cdc7b02104a1c53d685 Mon Sep 17 00:00:00 2001 From: hosokawa Date: Thu, 19 Feb 1998 10:33:32 +0000 Subject: Submitted by: stephen farrell , Simon Lindgren , Jerry Bell Added smb.conf performance workaround as comments. --- net/samba-devel/files/smb.conf.default | 14 ++++++++++++++ net/samba/files/smb.conf.default | 14 ++++++++++++++ net/samba3/files/smb.conf.default | 14 ++++++++++++++ 3 files changed, 42 insertions(+) (limited to 'net') 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 '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 '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 '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 '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 '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 '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 -- cgit