aboutsummaryrefslogtreecommitdiff
path: root/net/samba
diff options
context:
space:
mode:
authorTatsumi Hosokawa <hosokawa@FreeBSD.org>1998-02-19 10:33:32 +0000
committerTatsumi Hosokawa <hosokawa@FreeBSD.org>1998-02-19 10:33:32 +0000
commit07ba5dffd9626751cd32bf4e7dbc3ee307a9a9c3 (patch)
tree3138b049cda6480b6469139278d66e07c5f05914 /net/samba
parent24ded5382faa7e03239839dcadf6e4912936c4be (diff)
downloadports-07ba5dffd9626751cd32bf4e7dbc3ee307a9a9c3.tar.gz
ports-07ba5dffd9626751cd32bf4e7dbc3ee307a9a9c3.zip
Notes
Diffstat (limited to 'net/samba')
-rw-r--r--net/samba/files/smb.conf.default14
1 files changed, 14 insertions, 0 deletions
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