From owner-freebsd-stable Thu Apr 16 13:38:49 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id NAA25206 for freebsd-stable-outgoing; Thu, 16 Apr 1998 13:38:49 -0700 (PDT) (envelope-from owner-freebsd-stable@FreeBSD.ORG) Received: from home.pelops.com (root@pelops.com [204.255.233.232] (may be forged)) by hub.freebsd.org (8.8.8/8.8.8) with ESMTP id UAA25170; Thu, 16 Apr 1998 20:38:37 GMT (envelope-from dbj@pelops.com) Received: from home.pelops.com (dbj@home.pelops.com [204.255.234.65]) by home.pelops.com (8.8.5/8.8.5) with SMTP id QAA15724; Thu, 16 Apr 1998 16:34:49 -0400 (EDT) Date: Thu, 16 Apr 1998 16:34:49 -0400 (EDT) From: "David E. Brooks Jr" X-Sender: dbj@home.pelops.com To: Gary Palmer cc: lrios , freebsd-stable@FreeBSD.ORG Subject: Re: FreeBSD and Sendmail In-Reply-To: <7506.892757355@gjp.erols.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk On Thu, 16 Apr 1998, Gary Palmer wrote: > lrios wrote in message ID > : > > 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