aboutsummaryrefslogtreecommitdiffstats
path: root/net/samba-devel
diff options
context:
space:
mode:
authorhosokawa <hosokawa@FreeBSD.org>1998-02-19 18:33:32 +0800
committerhosokawa <hosokawa@FreeBSD.org>1998-02-19 18:33:32 +0800
commit8e56b73a4cd2523c39683cdc7b02104a1c53d685 (patch)
tree3f762929718469f751d0482b0d4f553332ddb1e8 /net/samba-devel
parent144415f09fe7d79997bc124f8cd08645b8bed7bc (diff)
downloadfreebsd-ports-gnome-8e56b73a4cd2523c39683cdc7b02104a1c53d685.tar.gz
freebsd-ports-gnome-8e56b73a4cd2523c39683cdc7b02104a1c53d685.tar.zst
freebsd-ports-gnome-8e56b73a4cd2523c39683cdc7b02104a1c53d685.zip
Submitted by: stephen farrell <sfarrell@healthquiz.com>, Simon Lindgren <simon@lindgren.no>, Jerry Bell <bell@reillyplating.com>
Added smb.conf performance workaround as comments.
Diffstat (limited to 'net/samba-devel')
-rw-r--r--net/samba-devel/files/smb.conf.default14
1 files changed, 14 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