I just replaced my old 160GB SATA drive with a 1.5TB SATA drive. The new drive is a Wester Digital "Green" drive with 64MB of cache (I think the cache may be important for this issue). The drive in general seems to perform very well. However, when building projects or doing anything with lots of hard drive writes, the system will "pause" for about 5 seconds periodically while the hard drive is being accessed (I am assuming written to).
When I build a maven project using the old drive, it takes about 90 seconds. When I build on the new drive (during which it pauses numerous times), it takes roughly twice as long (over 3 minutes).
I am running the latest 8.2 stable code and ports of the AMD64 code.
I am basically running the GENERIC kernel with makeoptions DEBUG=-g removed.
The only thing I have tried so far is setting vfs.write_behind=0, which didn't seem to help.
Any suggestions on where to start to try to resolve this?
When I build a maven project using the old drive, it takes about 90 seconds. When I build on the new drive (during which it pauses numerous times), it takes roughly twice as long (over 3 minutes).
I am running the latest 8.2 stable code and ports of the AMD64 code.
I am basically running the GENERIC kernel with makeoptions DEBUG=-g removed.
Code:
uname -a
FreeBSD shuttlebsd.localdomain 8.2-RELEASE-p4 FreeBSD 8.2-RELEASE-p4 #2: Tue Dec 20 09:25:14 CST 2011 \
root@shuttlebsd.localdomain:/usr/obj/usr/src/sys/GENERIC_AMD64 amd64
Code:
df
Filesystem 1K-blocks Used Avail Capacity Mounted on
/dev/ad4s1a 1012974 498042 433896 53% /
devfs 1 1 0 100% /dev
/dev/ad4s1e 1012974 716 931222 0% /tmp
/dev/ad4s1f 1401015662 26660628 1262273782 2% /usr
/dev/ad4s1d 11915630 716140 10246240 7% /var
procfs 4 4 0 100% /proc
The only thing I have tried so far is setting vfs.write_behind=0, which didn't seem to help.
Any suggestions on where to start to try to resolve this?