From c6ffda4f7627c9596288cd7d4272f2d6a2cef593 Mon Sep 17 00:00:00 2001 From: Jelmer Vernooij Date: Mon, 7 Apr 2003 13:46:13 +0000 Subject: Add note about patch from sun that improves performance on Solaris. (Thanks Joe Meslovich). (This used to be commit 1db51176f4a6c676d041abd47db6c4026ded30f1) --- docs/docbook/projdoc/Portability.sgml | 35 ++++++++++++++++++++++++++++++++++- 1 file changed, 34 insertions(+), 1 deletion(-) (limited to 'docs/docbook') 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 Sequential Read Ahead -Disabling Sequential Read Ahead using "vmtune -r 0" improves +Disabling Sequential Read Ahead using vmtune -r 0 improves samba performance significally. + + +Solaris + +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. + + + +Sun released patches for Solaris 2.6, 8, and 9. The patch for Solaris 7 +has not been released yet. + + + +The patch revision for 2.6 is 105181-34 +for 8 is 108528-19 +and for 9 is 112233-04 + + + +After the install of these patches it is recommended to reconfigure +and rebuild samba. + + +Thanks to Joe Meslovich for reporting + + -- cgit