From c9c6fa924ba44211ea17bed7bb4c97b3d311cd7c Mon Sep 17 00:00:00 2001 From: John Terpstra Date: Wed, 12 Sep 2007 05:07:29 +0000 Subject: [PATCH] Fix provided by William Jojo. (This used to be commit 346ae63969a85089c79a46218e768e38e873917b) --- docs/Samba3-HOWTO/TOSHARG-Portability.xml | 36 ++++++++++++++++++++++++++----- 1 file changed, 31 insertions(+), 5 deletions(-) diff --git a/docs/Samba3-HOWTO/TOSHARG-Portability.xml b/docs/Samba3-HOWTO/TOSHARG-Portability.xml index bf657732d0b..533ad5c9bb8 100644 --- a/docs/Samba3-HOWTO/TOSHARG-Portability.xml +++ b/docs/Samba3-HOWTO/TOSHARG-Portability.xml @@ -145,7 +145,7 @@ After creating the files, you then assemble them using -which should produce the files seteuid.o and +which should produce the files seteuid.o and setegid.o. @@ -158,7 +158,7 @@ the Samba Makefile. Your LIBSM line will look something like this: LIBSM = setegid.o seteuid.o -ln - + You should then remove the line: @@ -180,7 +180,7 @@ entry to /etc/hosts as follows: 127.0.0.1 loopback "hostname"."domainname" - + loopback interface This causes Samba to loop back onto the loopback interface. @@ -199,8 +199,34 @@ in the line starting 127.0.0.1. AIX: Sequential Read Ahead -Disabling sequential read ahead using vmtune -r 0 improves -Samba performance significantly. +Disabling sequential read ahead can improve Samba performance significantly +when there is a relatively high level of multiprogramming (many smbd processes +or mixed with another workload), not an abundance of physical memory or slower +disk technology. These can cause AIX to have a higher WAIT values. Disabling +sequential read-ahead can also have an adverse affect on other workloads in the +system so you will need to evaluate other applications for impact. + + + +It is recommended to use the defaults provided by IBM, but if you experience a +high amount of wait time, try disabling read-ahead with the following commands: + + + +For AIX 5.1 and earlier: vmtune -r 0 + + + +For AIX 5.2 and later jfs filesystems: ioo -o minpgahead=0 + + + +For AIX 5.2 and later jfs2 filesystems: ioo -o j2_minPageReadAhead=0 + + + +If you have a mix of jfs and jfs2 filesystems on the same host, simply use both +ioo commands. -- 2.11.4.GIT