On Mon, Aug 27, 2001 at 02:20:04PM -0700, Gregory Hicks wrote:
> What were your configure settings?
>
> I configured qpopper with the temp-drop-dir=<some other partition>
> deliberately and noticed that the performance markedly improved (as I
> thought it would - since moving it should reduce disk seeks...)
I think you just put the finger on it for me. I was thinking about
total volume of disk I/O and ignoring the issue of disk seeks due to
concurrently reading/writing files on the same disk set if the spool
and temp file are on the same partition - in this case a different RAID
set.
I'll attach the configuration lines, but "reduce disk seeks" probably
explains it all.
>From the build script:
...
patch -b -p0 < qpopper4.0.3-shell-server-mode.patch
cd $DESTDIR
# [insert instructions on building here]
./configure --enable-uw-kludge --with-warnings --enable-log-login \
--enable-keep-temp-drop --enable-shy \
--enable-temp-drop-dir=/var/mail/.poptemp \
--enable-nonauth-file=/usr/local/etc/pop.disable \
--enable-server-mode-shell-include=/usr/bin/false:/sbin/nologin:nologin:/usr/lo
cal/bin/no_shell \
--enable-timing
...
The directory /var/mail/.poptemp itself is on the same partition with
/var/mail, but due to a symlink elsewhere in the file system + an
accidentally uncommented line in /etc/fstab, the partition formerly on
/var/poptemp got mounted on top of the /var/mail/.poptemp directory
with these surprisingly beneficial results. I think their being on
physically distinct sets of disks, eliminating a lot of seeks, probably
explains it.
-- Clifton
--
Clifton Royston -- LavaNet Systems Architect -- [EMAIL PROTECTED]
WWJD? "JWRTFM!" - Scott Dorsey (kludge) "JWG" - Eddie Aikau