From owner-freebsd-questions@FreeBSD.ORG Mon Apr 13 09:04:18 2009 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id D5B54106566C for ; Mon, 13 Apr 2009 09:04:18 +0000 (UTC) (envelope-from erikt@midgard.homeip.net) Received: from ch-smtp02.sth.basefarm.net (ch-smtp02.sth.basefarm.net [80.76.149.213]) by mx1.freebsd.org (Postfix) with ESMTP id 63A968FC0C for ; Mon, 13 Apr 2009 09:04:18 +0000 (UTC) (envelope-from erikt@midgard.homeip.net) Received: from c83-255-48-78.bredband.comhem.se ([83.255.48.78]:51433 helo=falcon.midgard.homeip.net) by ch-smtp02.sth.basefarm.net with esmtp (Exim 4.69) (envelope-from ) id 1LtI5J-0006Rm-7b for freebsd-questions@freebsd.org; Mon, 13 Apr 2009 11:04:11 +0200 Received: (qmail 72251 invoked from network); 13 Apr 2009 11:04:05 +0200 Received: from owl.midgard.homeip.net (10.1.5.7) by falcon.midgard.homeip.net with ESMTP; 13 Apr 2009 11:04:05 +0200 Received: (qmail 33242 invoked by uid 1001); 13 Apr 2009 11:04:05 +0200 Date: Mon, 13 Apr 2009 11:04:05 +0200 From: Erik Trulsson To: Tim Judd Message-ID: <20090413090405.GA33082@owl.midgard.homeip.net> References: <49E246EC.50702@rawbw.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.18 (2008-05-17) X-Originating-IP: 83.255.48.78 X-Scan-Result: No virus found in message 1LtI5J-0006Rm-7b. X-Scan-Signature: ch-smtp02.sth.basefarm.net 1LtI5J-0006Rm-7b 7fdfaef32cc795e4909dc1137d7ac2a1 Cc: yuri@rawbw.com, freebsd-questions@freebsd.org Subject: Re: Why USB harddrive is so slow under FreeBSD? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 13 Apr 2009 09:04:19 -0000 On Mon, Apr 13, 2009 at 12:27:27AM -0600, Tim Judd wrote: > On Sun, Apr 12, 2009 at 1:54 PM, Yuri wrote: > > > I have FreeBSD-71 running with USB controller: > > uhci0: port 0xa800-0xa81f irq 21 at device 16.0 > > on pci0 > > > > I connected to it Toshiba USB hard drive HDDR500E03X: > > umass0: on > > uhub4 > > da0: Fixed Direct Access SCSI-4 device > > > > When I try to copy data with 'dd if=/dev/da0s1 of=/dev/null count=10000' it > > only achieves has 0.65MB/s transfer speed. > > > > What's wrong, why is it so slow? > > > > Yuri > > > > > uhci is 1.0 devices specs of 12Mbit/sec > ohci is 1.1 devices Not quite. uhci and ohci are both just different ways of accessing USB 1.0 and 1.1 controllers. uhci is used for controllers from Intel and Via, while ohci is used for just about all other controllers. USB 1.0 and USB 1.1 both support 1.5Mbit/sec (Low Speed) and 12Mbit/sec (Full Speed) > ehci is 2.0 devices specs of 480Mbit/sec > > > Seeing various PCs boot and during the probe, typically I see 1 ehci, and > multiple uhci and ohci devices. A normal USB controller chip will provide one or more UHCI or OHCI (but never both) interfaces for handling Low and Full Speed devices and one EHCI interface for handling Hi-Speed (480Mbit/sec) devices. If you have several USB controllers in your computer you can indeed see both uhci and ohci devices as well as several ehci devices. > > > Your Toshiba External USB HDD must have 2.0 speeds to be able to transfer at > that speed... hooking a 2.0 device into a 1.x port will either cause port > shutdown, or a backwards compatible downstep for the device in terms of > speed. > > > Hope this explanation helps. > > --TJ > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" -- Erik Trulsson ertr1013@student.uu.se