summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJelmer Vernooij <jelmer@samba.org>2003-04-07 13:46:13 +0000
committerJelmer Vernooij <jelmer@samba.org>2003-04-07 13:46:13 +0000
commitc6ffda4f7627c9596288cd7d4272f2d6a2cef593 (patch)
tree4e8504ba8e36f341aabe2e000c188573dc1055fd
parentdfbe7836353f75c2e52059f8a54672e38ad2173f (diff)
downloadsamba-c6ffda4f7627c9596288cd7d4272f2d6a2cef593.tar.gz
samba-c6ffda4f7627c9596288cd7d4272f2d6a2cef593.tar.bz2
samba-c6ffda4f7627c9596288cd7d4272f2d6a2cef593.zip
Add note about patch from sun that improves performance on Solaris.
(Thanks Joe Meslovich). (This used to be commit 1db51176f4a6c676d041abd47db6c4026ded30f1)
-rw-r--r--docs/docbook/projdoc/Portability.sgml35
1 files changed, 34 insertions, 1 deletions
diff --git a/docs/docbook/projdoc/Portability.sgml b/docs/docbook/projdoc/Portability.sgml
index 61a694e130..39ed37585f 100644
--- a/docs/docbook/projdoc/Portability.sgml
+++ b/docs/docbook/projdoc/Portability.sgml
@@ -180,9 +180,42 @@ Corrective Action: Delete the entry after the word loopback
<title>Sequential Read Ahead</title>
<!-- From an email by William Jojo <jojowil@hvcc.edu> -->
<para>
-Disabling Sequential Read Ahead using "vmtune -r 0" improves
+Disabling Sequential Read Ahead using <userinput>vmtune -r 0</userinput> improves
samba performance significally.
</para>
</sect2>
</sect1>
+
+<sect1>
+<title>Solaris</title>
+
+<para>Some people have been experiencing problems with F_SETLKW64/fcntl
+when running samba on solaris. The built in file locking mechanism was
+not scalable. Performance would degrade to the point where processes would
+get into loops of trying to lock a file. It woul try a lock, then fail,
+then try again. The lock attempt was failing before the grant was
+occurring. So the visible manifestation of this would be a handful of
+processes stealing all of the CPU, and when they were trussed they would
+be stuck if F_SETLKW64 loops.
+</para>
+
+<para>
+Sun released patches for Solaris 2.6, 8, and 9. The patch for Solaris 7
+has not been released yet.
+</para>
+
+<para>
+The patch revision for 2.6 is 105181-34
+for 8 is 108528-19
+and for 9 is 112233-04
+</para>
+
+<para>
+After the install of these patches it is recommended to reconfigure
+and rebuild samba.
+</para>
+
+<para>Thanks to Joe Meslovich for reporting</para>
+</sect1>
+
</chapter>