Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Feb 2009 15:09:32 -0500
From:      Bill Moran <wmoran@potentialtech.com>
To:        "Yavuz" <maslak@ihlas.net.tr>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: is there any way to increase disk performance ?
Message-ID:  <20090204150932.daadf33d.wmoran@potentialtech.com>
In-Reply-To: <1E37AE87F15C4E34B6EB1002AADEB87A@desktop2002>
References:  <1E37AE87F15C4E34B6EB1002AADEB87A@desktop2002>

next in thread | previous in thread | raw e-mail | index | archive | help
In response to "Yavuz" <maslak@ihlas.net.tr>:

> 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/



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090204150932.daadf33d.wmoran>