Low HDD tranfer rate with FreeBSD 5.3-Release

Amandeep aman at chamkila.org
Mon May 9 11:28:40 PDT 2005


Hi Eric,


Shouldnt it be around 54MB/s for a regular  IDE drive.

Here is the output of dmesg  and iostat

Copyright (c) 1992-2004 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.3-RELEASE #0: Fri Nov  5 04:19:18 UTC 2004
    root at harlow.cse.buffalo.edu:/usr/obj/usr/src/sys/GENERIC
Timecounter "i8254" frequency 1193182 Hz quality 0
CPU: Intel(R) Pentium(R) 4 CPU 2.40GHz (2391.14-MHz 686-class CPU)
  Origin = "GenuineIntel"  Id = 0xf29  Stepping = 9
  
Features=0xbfebfbff<FPU,VME,DE,PSE,TSC,MSR,PAE,MCE,CX8,APIC,SEP,MTRR,PGE,MCA,CMOV,PAT,PSE36,CLFLUSH,DTS,ACPI,MMX,FXSR,SSE,SSE2,SS,HTT,TM,PBE>
real memory  = 1064173568 (1014 MB)
avail memory = 1031811072 (984 MB)
ACPI APIC Table: <IntelR AWRDACPI>
ioapic0 <Version 2.0> irqs 0-23 on motherboard
npx0: [FAST]
npx0: <math processor> on motherboard
npx0: INT 16 interface
acpi0: <IntelR AWRDACPI> on motherboard
acpi0: Power Button (fixed)
Timecounter "ACPI-fast" frequency 3579545 Hz quality 1000
acpi_timer0: <24-bit timer at 3.579545MHz> port 0x408-0x40b on acpi0
cpu0: <ACPI CPU> on acpi0
acpi_tz0: <Thermal Zone> on acpi0
acpi_button0: <Power Button> on acpi0
pcib0: <ACPI Host-PCI bridge> port 0xcf8-0xcff on acpi0
pci0: <ACPI PCI bus> on pcib0
agp0: <Intel 82845G (845G GMCH) SVGA controller> mem 
0xe8100000-0xe817ffff,0xe0000000-0xe7ffffff irq 16 at device 2.0 on pci0
agp0: detected 8060k stolen memory
agp0: aperture size is 128M
uhci0: <Intel 82801DB (ICH4) USB controller USB-A> port 0xe200-0xe21f 
irq 16 at device 29.0 on pci0
uhci0: [GIANT-LOCKED]
usb0: <Intel 82801DB (ICH4) USB controller USB-A> 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
uhci1: <Intel 82801DB (ICH4) USB controller USB-B> port 0xe000-0xe01f 
irq 19 at device 29.1 on pci0
uhci1: [GIANT-LOCKED]
usb1: <Intel 82801DB (ICH4) USB controller USB-B> on uhci1
usb1: USB revision 1.0
uhub1: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub1: 2 ports with 2 removable, self powered
uhci2: <Intel 82801DB (ICH4) USB controller USB-C> port 0xe100-0xe11f 
irq 18 at device 29.2 on pci0
uhci2: [GIANT-LOCKED]
usb2: <Intel 82801DB (ICH4) USB controller USB-C> on uhci2
usb2: USB revision 1.0
uhub2: Intel UHCI root hub, class 9/0, rev 1.00/1.00, addr 1
uhub2: 2 ports with 2 removable, self powered
pci0: <serial bus, USB> at device 29.7 (no driver attached)
pcib1: <ACPI PCI-PCI bridge> at device 30.0 on pci0
pci1: <ACPI PCI bus> on pcib1
em0: <Intel(R) PRO/1000 Network Connection, Version - 1.7.35> port 
0xd000-0xd03f mem 0xe8020000-0xe803ffff,0xe8000000-0xe801ffff irq 21 at 
device 3.0 on pci1
em0: Ethernet address: 00:e0:81:56:1e:64
em0:  Speed:N/A  Duplex:N/A
em1: <Intel(R) PRO/1000 Network Connection, Version - 1.7.35> port 
0xd100-0xd13f mem 0xe8060000-0xe807ffff,0xe8040000-0xe805ffff irq 20 at 
device 4.0 on pci1
em1: Ethernet address: 00:e0:81:56:1e:65
em1:  Speed:N/A  Duplex:N/A
isab0: <PCI-ISA bridge> at device 31.0 on pci0
isa0: <ISA bus> on isab0
atapci0: <Intel ICH4 UDMA100 controller> port 
0xf000-0xf00f,0x376,0x170-0x177,0x3f6,0x1f0-0x1f7 at device 31.1 on pci0
ata0: channel #0 on atapci0
ata1: channel #1 on atapci0
pci0: <serial bus, SMBus> at device 31.3 (no driver attached)
fdc0: <floppy drive controller> port 0x3f7,0x3f0-0x3f5 irq 6 drq 2 on acpi0
fdc0: [FAST]
sio0: <16550A-compatible COM port> port 0x3f8-0x3ff irq 4 flags 0x10 on 
acpi0
sio0: type 16550A
sio1: <16550A-compatible COM port> port 0x2f8-0x2ff irq 3 on acpi0
sio1: type 16550A
atkbdc0: <Keyboard controller (i8042)> port 0x64,0x60 irq 1 on acpi0
atkbd0: <AT Keyboard> irq 1 on atkbdc0
kbd0 at atkbd0
atkbd0: [GIANT-LOCKED]
psm0: <PS/2 Mouse> irq 12 on atkbdc0
psm0: [GIANT-LOCKED]
psm0: model IntelliMouse Explorer, device ID 4
orm0: <ISA Option ROM> at iomem 0xcc000-0xccfff on isa0
pmtimer0 on isa0
ppc0: parallel port not found.
sc0: <System console> at flags 0x100 on isa0
sc0: VGA <16 virtual consoles, flags=0x300>
vga0: <Generic ISA VGA> at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0
Timecounter "TSC" frequency 2391144260 Hz quality 800
Timecounters tick every 10.000 msec
ad0: 156334MB <Maxtor 6Y160P0/YAR41BW0> [317632/16/63] at ata0-master 
UDMA100
acd0: DVDROM <HL-DT-STDVD-ROM GDR8082N/0002> at ata1-master UDMA33
Mounting root from ufs:/dev/ad0s1a
em0: Link is up 100 Mbps Full Duplex
em0: Link is up 100 Mbps Full Duplex
em0: Link is up 100 Mbps Full Duplex


IOSTAT

   tty             ad0             cpu
 tin tout  KB/t tps  MB/s  us ni sy in id
   0   20 114.15  10  1.09   0  0  1  0 98
   0    0  0.00   0  0.00   0  0  0  0 100
   0    0  0.00   0  0.00   0  0  0  0 100
   1    3 128.00  21  2.60   0  0  3  0 97
   0    0 128.00 124 15.47   0  0  6  2 91
   0    0 117.49 133 15.22   0  0  6  0 94
   0    0 128.00 124 15.47   0  0  8  0 92
   0    0 126.11 125 15.36   0  0 10  2 88
   0    0 128.00 124 15.47   0  0  8  0 92
   0    0 128.00 124 15.47   0  0  6  0 94
   0    0 127.10 123 15.24   0  0  6  0 94
   0    0 128.00 124 15.47   2  0  8  1 90
   0    0 127.10 124 15.36   0  0 10  0 90
   0    0 128.00 124 15.47   0  0  6  0 94
   0    0 127.10 123 15.24   0  0  7  1 92
   0    0 128.00 124 15.47   0  0  7  1 92
   0    0 121.77 128 15.19   0  0  9  1 90
   0    0 128.00 124 15.47   0  0  8  0 92
   0    0 127.10 123 15.24   0  0  7  1 92
   1    2 128.00 124 15.47   0  0  6  0 94

Thanks for your help and replies.

A
Eric Anderson wrote:

> Amandeep wrote:
>
>> Hi all,
>>
>> I am using Tyan S2098 MB with 160GB Maxtor ATA  Drive and the 
>> transfer rate is very low. FreeBSD 5.3-Release.
>> Any ideas what is going on here.
>>
>> The transfer rate is about 15MB/s
>>
>> when I run
>> #dd if=/dev/zero of=/usr/junk bs=8192
>>
>> then do
>> #iostat 1
>
>
> You should probably provide the appropriate information from dmesg 
> output, along with what you expect it to be, and the outputs of the dd 
> command.
>
> Eric
>
>
>



More information about the freebsd-questions mailing list