From owner-freebsd-questions@FreeBSD.ORG Sun Apr 12 21:21:23 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 A7753106566B for ; Sun, 12 Apr 2009 21:21:23 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from email1.allantgroup.com (email1.emsphone.com [199.67.51.115]) by mx1.freebsd.org (Postfix) with ESMTP id 5F56E8FC0A for ; Sun, 12 Apr 2009 21:21:23 +0000 (UTC) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by email1.allantgroup.com (8.14.0/8.14.0) with ESMTP id n3CLLLcU083729 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sun, 12 Apr 2009 16:21:22 -0500 (CDT) (envelope-from dan@dan.emsphone.com) Received: from dan.emsphone.com (smmsp@localhost [127.0.0.1]) by dan.emsphone.com (8.14.3/8.14.3) with ESMTP id n3CLLLjd048063 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Sun, 12 Apr 2009 16:21:21 -0500 (CDT) (envelope-from dan@dan.emsphone.com) Received: (from dan@localhost) by dan.emsphone.com (8.14.3/8.14.3/Submit) id n3CLLJDY048062; Sun, 12 Apr 2009 16:21:19 -0500 (CDT) (envelope-from dan) Date: Sun, 12 Apr 2009 16:21:19 -0500 From: Dan Nelson To: Yuri Message-ID: <20090412212118.GE90152@dan.emsphone.com> References: <49E246EC.50702@rawbw.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <49E246EC.50702@rawbw.com> X-OS: FreeBSD 7.1-STABLE User-Agent: Mutt/1.5.19 (2009-01-05) X-Virus-Scanned: ClamAV version 0.94.1, clamav-milter version 0.94.1 on email1.allantgroup.com X-Virus-Status: Clean X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.0.2 (email1.allantgroup.com [199.67.51.78]); Sun, 12 Apr 2009 16:21:22 -0500 (CDT) X-Scanned-By: MIMEDefang 2.45 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: Sun, 12 Apr 2009 21:21:24 -0000 In the last episode (Apr 12), Yuri said: > 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? Increase your blocksize. dd's default is 512 bytes. Try bs=64k -- Dan Nelson dnelson@allantgroup.com