From owner-freebsd-current@FreeBSD.ORG Fri Jan 13 20:34:39 2006 Return-Path: X-Original-To: freebsd-current@freebsd.org Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B02E216A41F for ; Fri, 13 Jan 2006 20:34:39 +0000 (GMT) (envelope-from dreadpirate@gmail.com) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.202]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2943B43D48 for ; Fri, 13 Jan 2006 20:34:39 +0000 (GMT) (envelope-from dreadpirate@gmail.com) Received: by wproxy.gmail.com with SMTP id 71so723367wra for ; Fri, 13 Jan 2006 12:34:38 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:mime-version:content-type; b=mnZ/XViKkePg8aig7+FN1my1V0dl/Sel9T7k8G1Sbt+Gz2zZJQV775CBYVQkpYB+RDb4Hoc0zKdqqOZNNHqv4AaVtSiEj1LEC0ZgergUrPp9GqAcmME2129ijL71mCD2qj7D3QcpjDx1LC39pDKbfa1qYyoL9eYXPio7EBCXtq0= Received: by 10.65.239.15 with SMTP id q15mr2176748qbr; Fri, 13 Jan 2006 12:34:38 -0800 (PST) Received: by 10.65.138.16 with HTTP; Fri, 13 Jan 2006 12:34:38 -0800 (PST) Message-ID: Date: Fri, 13 Jan 2006 12:34:38 -0800 From: Dread Pirate Mal To: freebsd-current@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: Abysmal performance on external usb drive X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Jan 2006 20:34:39 -0000 Hi, folks. I'm seeing -really- terrible performance with an external usb drive on my freebsd 5.4 machine. It's a matrox one-touch being attached as the only device on port 0 of an Intel S845W based system. And yes, I do have ehci compiled in and the most current bios for the board :). I'd like to buy a vowel please, and apologies for the spammage. ---------------------------------------------------------------------------= ----- Dmesg sez the following: uhci0: port 0xef40-0xef5f irq 1\ 9 at device 31.2 on pci0 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 umass0: Maxtor OneTouch II, rev 2.00/2.03, addr 2 umass0: Get Max Lun not supported (STALLED) da0: Fixed Direct Access SCSI-4 device da0: 1.000MB/s transfers da0: 194481MB (398297088 512 byte sectors: 255H 63S/T 24792C) -- Rough i/o test sez: dd if=3D/dev/da0s1c bs=3D16k count=3D10000 of=3D/dev/null yields: 163840000 bytes transferred in 191.111406 secs (857301 bytes/sec) -- And.. oh, the pain: diskinfo -tv /dev/da0s1c /dev/da0s1c 512 # sectorsize 203921109504 # mediasize in bytes (190G) 398283417 # mediasize in sectors 24791 # Cylinders according to firmware. 255 # Heads according to firmware. 63 # Sectors according to firmware. Seek times: Full stroke: 250 iter in 13.312930 sec =3D 53.252 msec Half stroke: 250 iter in 4.936923 sec =3D 19.748 msec Quarter stroke: 500 iter in 8.466121 sec =3D 16.932 msec Short forward: 400 iter in 3.550715 sec =3D 8.877 msec Short backward: 400 iter in 3.516539 sec =3D 8.791 msec Seq outer: 2048 iter in 10.288395 sec =3D 5.024 msec Seq inner: 2048 iter in 10.269045 sec =3D 5.014 msec Transfer rates: outside: 102400 kbytes in 98.968530 sec =3D 1035 kbytes/= sec middle: 102400 kbytes in 99.359594 sec =3D 1031 kbytes/= sec inside: 102400 kbytes in 98.932885 sec =3D 1035 kbytes/= sec