Date: Tue, 21 Dec 1999 12:18:07 -0800 From: Kent Stewart <kstewart@3-cities.com> To: Arcady Genkin <a.genkin@utoronto.ca> Cc: freebsd-questions@freebsd.org Subject: Re: One drive much slower than another Message-ID: <385FE07F.5205DAF7@3-cities.com> References: <87vh5s59yk.fsf@main.wgaf.net>
next in thread | previous in thread | raw e-mail | index | archive | help
Arcady Genkin wrote: > > I run 3.4-R on a P166 box with 2 HDs: > > WD Caviar 22100 2.1G > Rpm: 5400 > Average Seek Time: sub 12 ms > > Quantum Bigfoot 19G > Rpm: 4000 > Average Seek Time: 10.5 ms > > I use the WD as a system drive, and the Quantum for data. Now it turns > out that the 4000rpm Quantum works *much* faster than 5400rpm WD... I > have softupdates enabled on both drives' partitions where I ran my > tests. > ,----- Here's relevant info from "dmesg": > | wdc0 at 0x1f0-0x1f7 irq 14 flags 0xb0ffb0ff on isa > | wdc0: unit 0 (wd0): <WDC AC22100H>, LBA, DMA, 32-bit, multi-block-16 > | wd0: 2014MB (4124736 sectors), 1023 cyls, 64 heads, 63 S/T, 512 B/S > | wdc1 at 0x170-0x177 irq 15 flags 0xb0ffb0ff on isa > | wdc1: unit 0 (wd2): <QUANTUM BIGFOOT TS19.2A>, LBA, DMA, 32-bit, multi-block-16 > | wd2: 18366MB (37615536 sectors), 2341 cyls, 255 heads, 63 S/T, 512 B/S > `----- > ,----- Output from "mount": > | door:~$ /sbin/mount > | /dev/wd0s1a on / (ufs, local, writes: sync 15 async 48) > | /dev/wd0s1f on /usr (ufs, local, soft-updates, writes: sync 2 async 31) > | /dev/wd0s1e on /var (ufs, local, writes: sync 106 async 252) > | /dev/wd2s1e on /mnt/data1 (ufs, local, soft-updates, writes: sync 2 async 0) > | /dev/wd2s1f on /mnt/data2 (ufs, local, soft-updates, writes: sync 2 async 0) > | /dev/wd2s1g on /mnt/data3 (ufs, local, soft-updates, writes: sync 2 async 0) > | procfs on /proc (procfs, local) > `----- > As you can see, the two drives are on two separate controllers, and > both controllers have exactly same flags. > When I ran tests, outlined by Dale Hagglund, I found out that the > Quantum writes at 10MB/s, whereas the WD -- only at 3MB/s. I did my > tests in partitions, where softupdates are enabled: > time dd if=/dev/zero of=100m bs=1m count=100 > > ,----- Test on Quantum: > | door:/mnt/data3$ time dd if=/dev/zero of=100m bs=1m count=100 > | 100+0 records in > | 100+0 records out > | 104857600 bytes transferred in 10.362510 secs (10118938 bytes/sec) > | > | real 0m10.529s > | user 0m0.016s > | sys 0m6.320s > `----- > ,----- Test on WD: > | door:/usr/tmp$ time dd if=/dev/zero of=100m bs=1m count=100 > | 100+0 records in > | 100+0 records out > | 104857600 bytes transferred in 28.097030 secs (3731982 bytes/sec) > | > | real 0m29.046s > | user 0m0.001s > | sys 0m5.391s > `----- > > Has anyone got any ideas how I can improve performance of the WD? > Thanks for any input! Make sure you have the advanced features turned on for the WD drive. You may have a slow setting in your bios. Kent > -- > Arcady Genkin http://wgaf.dyndns.org > "'What good is my pity? Is not the pity the cross upon which he who > loves man is nailed?..'" (Zarathustra - F. Nietzsche) > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message -- Kent Stewart Richland, WA mailto:kstewart@3-cities.com http://www.3-cities.com/~kstewart/index.html FreeBSD News http://daily.daemonnews.org/ SETI(Search for Extraterrestrial Intelligence) @ HOME http://setiathome.ssl.berkeley.edu/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?385FE07F.5205DAF7>