From owner-freebsd-questions@FreeBSD.ORG Mon May 9 18:28:40 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 1138B16A4EC; Mon, 9 May 2005 18:28:40 +0000 (GMT) Received: from coresikhism.net (c-67-161-59-235.hsd1.ca.comcast.net [67.161.59.235]) by mx1.FreeBSD.org (Postfix) with ESMTP id C84BD43D45; Mon, 9 May 2005 18:28:39 +0000 (GMT) (envelope-from aman@chamkila.org) Received: from [192.168.96.214] ([69.36.228.194]) by coresikhism.net (8.13.1/8.13.1) with ESMTP id j49IOqRm019300; Mon, 9 May 2005 11:25:18 -0700 Message-ID: <427FAB5F.6070508@chamkila.org> Date: Mon, 09 May 2005 11:26:39 -0700 From: Amandeep User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Eric Anderson References: <427FA802.90805@chamkila.org> <427FA8CD.8040405@centtech.com> In-Reply-To: <427FA8CD.8040405@centtech.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit cc: freebsd-hackers@freebsd.org cc: freebsd-questions@freebsd.org cc: john@essenz.com Subject: Re: Low HDD tranfer rate with FreeBSD 5.3-Release X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 09 May 2005 18:28:40 -0000 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@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 real memory = 1064173568 (1014 MB) avail memory = 1031811072 (984 MB) ACPI APIC Table: ioapic0 irqs 0-23 on motherboard npx0: [FAST] npx0: on motherboard npx0: INT 16 interface acpi0: 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: on acpi0 acpi_tz0: on acpi0 acpi_button0: on acpi0 pcib0: port 0xcf8-0xcff on acpi0 pci0: on pcib0 agp0: mem 0xe8100000-0xe817ffff,0xe0000000-0xe7ffffff irq 16 at device 2.0 on pci0 agp0: detected 8060k stolen memory agp0: aperture size is 128M uhci0: port 0xe200-0xe21f irq 16 at device 29.0 on pci0 uhci0: [GIANT-LOCKED] usb0: 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: port 0xe000-0xe01f irq 19 at device 29.1 on pci0 uhci1: [GIANT-LOCKED] usb1: 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: port 0xe100-0xe11f irq 18 at device 29.2 on pci0 uhci2: [GIANT-LOCKED] usb2: 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: at device 29.7 (no driver attached) pcib1: at device 30.0 on pci0 pci1: on pcib1 em0: 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: 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: at device 31.0 on pci0 isa0: on isab0 atapci0: 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: at device 31.3 (no driver attached) fdc0: 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: port 0x64,0x60 irq 1 on acpi0 atkbd0: irq 1 on atkbdc0 kbd0 at atkbd0 atkbd0: [GIANT-LOCKED] psm0: irq 12 on atkbdc0 psm0: [GIANT-LOCKED] psm0: model IntelliMouse Explorer, device ID 4 orm0: at iomem 0xcc000-0xccfff on isa0 pmtimer0 on isa0 ppc0: parallel port not found. sc0: at flags 0x100 on isa0 sc0: VGA <16 virtual consoles, flags=0x300> vga0: at port 0x3c0-0x3df iomem 0xa0000-0xbffff on isa0 Timecounter "TSC" frequency 2391144260 Hz quality 800 Timecounters tick every 10.000 msec ad0: 156334MB [317632/16/63] at ata0-master UDMA100 acd0: DVDROM 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 > > >