Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 16 Apr 1998 16:34:49 -0400 (EDT)
From:      "David E. Brooks Jr" <dbj+freebsd@pelops.com>
To:        Gary Palmer <gpalmer@FreeBSD.ORG>
Cc:        lrios <lrios@ziplink.net>, freebsd-stable@FreeBSD.ORG
Subject:   Re: FreeBSD and Sendmail 
Message-ID:  <Pine.BSF.3.96.980416162955.15673A-100000@home.pelops.com>
In-Reply-To: <7506.892757355@gjp.erols.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 16 Apr 1998, Gary Palmer wrote:

> lrios wrote in message ID
> <Pine.BSF.3.96.980415122128.1928A-100000@zip1.ziplink.net>:
> > I'm currently running FreeBSD 2.2.5 on a Pentium II 266mhz machine with
> > 256M ram and finding performace issues with Sendmail.. I've placed much
> > load on this machine and found that I can old get about 200 emails per
> > minute.. Just for comparison I did that same on a Linux machine running a
> > 75 mhz Pentium and 32 mb ram and found that it could put about 500 per
> > minute.  I also found that the pentium two barely took a breath while the
> > linux machine was at 20% idle (not a suprise).. Is that because of
> > different memory managers or some type of kernel config?? Any ideas would
> > be greatly appreciated...
> 
> Filesystem differences. From memory, Linux has a default of doing
> `async' writes, meaning that file data is flushed out as written (or close 
> enough), while the metadata is flushed by sync. This allows a drastic
> speed difference as the disk heads are not having to do as many seeks
> (one to the file data, one to the file metadata, etc) per write.
> Try mounting your queuedir async and see if that helps
> 
> (mount -o async -u /filesystem )

Also, don't forget to check to see if the filesystem is optimized for
speed instead of space (man 8 tunefs).  Granted, it's nowhere near the
performance increase of mounting async, but if that makes you a bit
skittish then marking the filesystem for speed can't hurt any.

-- Dave

--
David E. Brooks Jr			mailto:dbj@pelops.com
Tantalus Incorporated			http://members.iglou.com/dbj/
130 Fairfax Avenue, Suite 1D		
Louisville, KY 40207			finger dbj@iglou.com for public key


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-stable" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.96.980416162955.15673A-100000>