hard disk performance issue

Chris Newman canman at ev1.net
Sun Aug 24 16:18:12 PDT 2003


I have a Dell P3-500 Optiplex GX1. I was running FreeBSD 5.0 on an 8G drive.
I recently upgraded to a Western Digital ATA100 40GB drive and loaded
FreeBSD 5.1.
I expected to get improved drive performance, however, my motherboard would
only do UDMA-33.

So, I picked up a Maxtor SATA/150 PCI Combo card. It's supposed to do
ATA-100. My dmesg
indicates that it is running UDMA-100, but my disk dump performance is still

Here's a dd sample:

tigger# dd if=/dev/ad8s1d of=/home/chris/tmp.dat count=10000
10000+0 records in
10000+0 records out
5120000 bytes transferred in 2.292473 secs (2233396 bytes/sec)

~ 2MB per second?? It was about 1.8MB per second before I upgraded. The only
I can attribute the marginal speed-up to is the faster drive rotation speed
(7400 RPM).

Attached is my dmesg dump. The ad8...UDMA 100 statement is near the bottom.
Can anyone provide any insight?

Thanks in advance.


tigger# dmesg | more
Copyright (c) 1992-2003 The FreeBSD Project.
Copyright (c) 1979, 1980, 1983, 1986, 1988, 1989, 1991, 1992, 1993, 1994
        The Regents of the University of California. All rights reserved.
FreeBSD 5.1-RELEASE #0: Thu Jun  5 02:55:42 GMT 2003
    root at wv1u.btc.adaptec.com:/usr/obj/usr/src/sys/GENERIC
Preloaded elf kernel "/boot/kernel/kernel" at 0xc0689000.
Timecounter "i8254"  frequency 1193182 Hz
Timecounter "TSC"  frequency 498752220 Hz
CPU: Pentium III/Pentium III Xeon/Celeron (498.75-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0x673  Stepping = 3

real memory  = 134217728 (128 MB)
avail memory = 123326464 (117 MB)
Pentium Pro MTRR support enabled
npx0: <math processor> on motherboard
npx0: INT 16 interface
pcibios: BIOS version 2.10
Using $PIR table, 9 entries at 0xc00fc670
pcib0: <Intel 82443BX (440 BX) host to PCI bridge> at pcibus 0 on
pci0: <PCI bus> on pcib0
agp0: <Intel 82443BX (440 BX) host to PCI bridge> mem 0xf0000000-0xf3ffffff
at device 0.0 on pci0
pcib1: <PCIBIOS PCI-PCI bridge> at device 1.0 on pci0
pci1: <PCI bus> on pcib1
pci1: <display, VGA> at device 0.0 (no driver attached)
isab0: <PCI-ISA bridge> at device 7.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel PIIX4 UDMA33 controller> port 0xffa0-0xffaf at device 7.1 on
ata0: at 0x1f0 irq 14 on atapci0
ata1: at 0x170 irq 15 on atapci0
uhci0: <Intel 82371AB/EB (PIIX4) USB controller> port 0xcce0-0xccff irq 14
at device 7.2 on pci0
usb0: <Intel 82371AB/EB (PIIX4) USB controller> on uhci0
usb0: USB revision 1.0
uhub0: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub0: 2 ports with 2 removable, self powered
pci0: <bridge, PCI-unknown> at device 7.3 (no driver attached)
pcib2: <PCI-PCI bridge> at device 15.0 on pci0
pci2: <PCI bus> on pcib2
atapci1: <Promise PDC20375 SATA150 controller> port
0xdc00-0xdc7f,0xdca0-0xdcaf,0xdcc0-0xdcff mem 0x
fafc0000-0xfafdffff,0xfafff000-0xfaffffff irq 9 at device 9.0 on pci2
ata2: at 0xfafff000 on atapci1
ata3: at 0xfafff000 on atapci1
ata4: at 0xfafff000 on atapci1
xl0: <3Com 3c905B-TX Fast Etherlink XL> port 0xcc00-0xcc7f mem
0xff000000-0xff00007f irq 14 at devic
e 17.0 on pci0
xl0: Ethernet address: 00:b0:d0:19:58:5d
miibus0: <MII bus> on xl0
xlphy0: <3Com internal media interface> on miibus0
xlphy0:  10baseT, 10baseT-FDX, 100baseTX, 100baseTX-FDX, auto
orm0: <Option ROMs> at iomem 0xc8000-0xcffff,0xc0000-0xc7fff on isa0
pmtimer0 on isa0
atkbdc0: <Keyboard controller (i8042)> at port 0x64,0x60 on isa0
atkbd0: <AT Keyboard> flags 0x1 irq 1 on atkbdc0
kbd0 at atkbd0
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: model Generic PS/2 mouse, device ID 0
fdc0: <Enhanced floppy controller (i82077, NE72065 or clone)> at port
0x3f7,0x3f0-0x3f5 irq 6 drq 2
on isa0
fdc0: FIFO enabled, 8 bytes threshold
fd0: <1440-KB 3.5" drive> on fdc0 drive 0
ppc0: <Parallel port> at port 0x378-0x37f irq 7 on isa0
ppc0: SMC-like chipset (ECP/EPP/PS2/NIBBLE) in COMPATIBLE mode
ppc0: FIFO with 16/16/8 bytes threshold
ppbus0: <Parallel port bus> on ppc0
plip0: <PLIP network interface> on ppbus0
lpt0: <Printer> on ppbus0
lpt0: Interrupt-driven port
ppi0: <Parallel I/O> on ppbus0
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
sio0: configured irq 4 not in bitmap of probed irqs 0
sio0: port may not be enabled
sio0 at port 0x3f8-0x3ff irq 4 flags 0x10 on isa0
sio0: type 8250 or not responding
sio1 at port 0x2f8-0x2ff irq 3 on isa0
sio1: type 16550A
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
unknown: <PNP0401> can't assign resources (port)
unknown: <PNP0700> can't assign resources (port)
unknown: <PNP0f13> can't assign resources (irq)
unknown: <PNP0000> can't assign resources (port)
unknown: <PNP0303> can't assign resources (port)
Timecounters tick every 10.000 msec
ad8: 38166MB <WDC WD400BB-00DEA0> [77545/16/63] at ata4-master UDMA100
acd0: CDROM <NEC CD-ROM DRIVE:288> at ata1-master PIO4Mounting root from
Mounting root from ufs:/dev/ad8s1a

Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.408 / Virus Database: 230 - Release Date: 10/24/2002

More information about the freebsd-questions mailing list