From owner-freebsd-questions@FreeBSD.ORG Mon Apr 13 06:27:43 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 63D52106567B for ; Mon, 13 Apr 2009 06:27:43 +0000 (UTC) (envelope-from tajudd@gmail.com) Received: from mail-qy0-f132.google.com (mail-qy0-f132.google.com [209.85.221.132]) by mx1.freebsd.org (Postfix) with ESMTP id 066F68FC17 for ; Mon, 13 Apr 2009 06:27:42 +0000 (UTC) (envelope-from tajudd@gmail.com) Received: by qyk38 with SMTP id 38so574099qyk.3 for ; Sun, 12 Apr 2009 23:27:42 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :from:date:message-id:subject:to:cc:content-type; bh=rTZrTPH3R6aKWH2NZR++8owfg5uFfrGaOz9QnJ/4x7k=; b=MpWlBZ5pPpeugIXa9mlDPqV8epIVcTknxdsxLRRqCHCGRuFxMvdsefY/GW8FFzNxq8 JlM7O6AHWwooZF5hL4jDE7xnLS1okCk/WoDVCLXWlduN36/AOuwIqsFKdQe/kKWQvehD IeVONLO1kzvNf8Ytbi1ccmWbTZGQXi1lwg8Yk= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc:content-type; b=UNt5z+vbE1LnntPCldekmWBnAA+AAQOvTu3Vyx9hmS3AImJ5MWnKAr7yWpDovn6gNW vyaYPSXJrKFWZ8i87v2lG6StngRPh0sFwAcNUcxBhtoF7NSyaWeB+fmUMw6LfwqVF5MJ wnYlCj3YBSdIqFYAhowtb+4gbyrhOU5f7XmZ0= MIME-Version: 1.0 Received: by 10.220.93.10 with SMTP id t10mr5869171vcm.107.1239604062242; Sun, 12 Apr 2009 23:27:42 -0700 (PDT) In-Reply-To: <49E246EC.50702@rawbw.com> References: <49E246EC.50702@rawbw.com> From: Tim Judd Date: Mon, 13 Apr 2009 00:27:27 -0600 Message-ID: To: yuri@rawbw.com Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: 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 06:27:43 -0000 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 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. 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