Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 27 Oct 2004 14:44:04 +0200
From:      "Alexander S. Usov" <A.S.Usov@KVI.nl>
To:        current@freebsd.org
Subject:   5.3-RC1 poor ATA perfomance
Message-ID:  <200410271444.04324.A.S.Usov@kvi.nl>

next in thread | raw e-mail | index | archive | help
Hi!

I have hit a very strange problem with a poor ata perfomance.

First some numbers:
=== FreeBSD 5.3-RC1
# dd if=/dev/ad0 of=/dev/null bs=1m count=512
536870912 bytes transferred in 23.891834 secs (22470896 bytes/sec)
# dd if=/dev/zero of=/dev/ad0s1 bs=1m count=512
536870912 bytes transferred in 35.413467 secs (15160078 bytes/sec)

=== Linux 2.6.8-1 (OpenBSD also gives similar numbers)
# dd if=/dev/hda of=/dev/null bs=1M count=512
536870912 bytes transferred in 22.272891 seconds (24104231 bytes/sec)
# dd if=/dev/zero of=/dev/hda1 bs=1M count=512
536870912 bytes transferred in 23.574157 seconds (22773706 bytes/sec)

As you see the writing is quite slower.

Some details on hardware:
atapci0: <Intel ICH4 UDMA100 controller> port 0x1860-0x186f,0x376,
0x170-0x177,0x3f6,0x1f0-0x1f7 at device 31.1 on pci0
ata0: channel #0 on atapci0
ad0: 38154MB <TOSHIBA MK4021GAS/GA224A> [77520/16/63] at ata0-master UDMA100

ad1 is absent.

-- 
Best regards,
  Alexander.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200410271444.04324.A.S.Usov>