From owner-freebsd-questions@FreeBSD.ORG Wed Feb 4 20:09:34 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 420661065672 for ; Wed, 4 Feb 2009 20:09:34 +0000 (UTC) (envelope-from wmoran@potentialtech.com) Received: from mail.potentialtech.com (internet.potentialtech.com [66.167.251.6]) by mx1.freebsd.org (Postfix) with ESMTP id 104878FC1F for ; Wed, 4 Feb 2009 20:09:34 +0000 (UTC) (envelope-from wmoran@potentialtech.com) Received: from vanquish.ws.pitbpa0.priv.collaborativefusion.com (pr40.pitbpa0.pub.collaborativefusion.com [206.210.89.202]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.potentialtech.com (Postfix) with ESMTPSA id 23C8AEBC0A; Wed, 4 Feb 2009 15:09:33 -0500 (EST) Date: Wed, 4 Feb 2009 15:09:32 -0500 From: Bill Moran To: "Yavuz" Message-Id: <20090204150932.daadf33d.wmoran@potentialtech.com> In-Reply-To: <1E37AE87F15C4E34B6EB1002AADEB87A@desktop2002> References: <1E37AE87F15C4E34B6EB1002AADEB87A@desktop2002> X-Mailer: Sylpheed 2.5.0 (GTK+ 2.12.11; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: is there any way to increase disk performance ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Feb 2009 20:09:35 -0000 In response to "Yavuz" : > I have freebsd7 (amd64 bit) and sata2 disk 7200 rpm. > > it's running mail server which has services like pop3,imap,smtp and webmail > on this machine. > > When I type systat 1 -vmstat on command line, even I rarely see that disk > usage hits 100%. > I have no problem as ram and cpu. they is enough. > > is there any way to increase disk performance without causing any problem ? 7200 RPM is a slow disk. You may be hardware bound. Have a look at gstat and see how long read and write requests are taking. If you have questions, post actual gstat output to the list, not your interpretation of it. Make sure your partitions are mounted noatime (see the man page for mount_ffs) Also, make sure they are configured with softupdates turned on (see the man page for tunefs) If you're not using Maildir for your mail storage, then switch. mboxes get really slow when they get large. Provide more details about your problem if you want more specific answers. -- Bill Moran http://www.potentialtech.com http://people.collaborativefusion.com/~wmoran/