aboutsummaryrefslogtreecommitdiff
path: root/net
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
parent24ded5382faa7e03239839dcadf6e4912936c4be (diff)
downloadports-07ba5dffd9626751cd32bf4e7dbc3ee307a9a9c3.tar.gz
ports-07ba5dffd9626751cd32bf4e7dbc3ee307a9a9c3.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.
Notes
Notes: svn path=/head/; revision=9829
Diffstat (limited to 'net')
-rw-r--r--net/samba-devel/files/smb.conf.default14
-rw-r--r--net/samba/files/smb.conf.default14
-rw-r--r--net/samba3/files/smb.conf.default14
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