From mboxrd@z Thu Jan  1 00:00:00 1970
Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org)
	by nuthatch.gentoo.org with esmtp (Exim 4.54)
	id 1EyVJC-0005G7-2X
	for garchives@archives.gentoo.org; Mon, 16 Jan 2006 14:26:10 +0000
Received: from robin.gentoo.org (localhost [127.0.0.1])
	by robin.gentoo.org (8.13.5/8.13.5) with SMTP id k0GEO6MP022658;
	Mon, 16 Jan 2006 14:24:06 GMT
Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.200])
	by robin.gentoo.org (8.13.5/8.13.5) with ESMTP id k0GELxMK031928
	for <gentoo-user@lists.gentoo.org>; Mon, 16 Jan 2006 14:22:00 GMT
Received: by wproxy.gmail.com with SMTP id i28so1254304wra
        for <gentoo-user@lists.gentoo.org>; Mon, 16 Jan 2006 06:21:59 -0800 (PST)
DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws;
        s=beta; d=gmail.com;
        h=received:message-id:date:from:sender:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references;
        b=UdtgObxnTHhnqR5K0rrAgQEsDWuTLKEkH83qQQpfcp7VeM+DJ9VagJ5+dBvF4DgyE85JoVbP4AJnIDyqdX34Z9dXwxFu+s7xjwvX7oZazD8+avjN0XN4eqKwdhoJCRWLBSs55VFvnEr/ewS8NmtuL7DjvxsFQfDLxWPI/iJQmFA=
Received: by 10.54.77.19 with SMTP id z19mr8137493wra;
        Mon, 16 Jan 2006 06:21:58 -0800 (PST)
Received: by 10.54.66.12 with HTTP; Mon, 16 Jan 2006 06:21:58 -0800 (PST)
Message-ID: <7573e9640601160621i367dfcc6l8296dc8c01cf1f4d@mail.gmail.com>
Date: Mon, 16 Jan 2006 07:21:58 -0700
From: Richard Fish <bigfish@asmallpond.org>
Sender: richard.j.fish@gmail.com
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] usb1 performance out of usb2 external HD
In-Reply-To: <1137420487.14296.5.camel@orpheus>
Precedence: bulk
List-Post: <mailto:gentoo-user@lists.gentoo.org>
List-Help: <mailto:gentoo-user+help@gentoo.org>
List-Unsubscribe: <mailto:gentoo-user+unsubscribe@gentoo.org>
List-Subscribe: <mailto:gentoo-user+subscribe@gentoo.org>
List-Id: Gentoo Linux mail <gentoo-user.gentoo.org>
X-BeenThere: gentoo-user@gentoo.org
Reply-to: gentoo-user@lists.gentoo.org
MIME-Version: 1.0
Content-Type: text/plain; charset=ISO-8859-1
Content-Disposition: inline
References: <1137393538.17254.12.camel@orpheus>
	 <7573e9640601160540q35c78777ja920a85578209f53@mail.gmail.com>
	 <1137420487.14296.5.camel@orpheus>
Content-Transfer-Encoding: 8bit
X-MIME-Autoconverted: from quoted-printable to 8bit by robin.gentoo.org id k0GELxMK031928
X-Archives-Salt: 35a4ab3b-e565-4bc7-9194-e9a7751bc0c3
X-Archives-Hash: f560960411accc1f13b017f5f0e3ca21

On 1/16/06, Iain Buchanan <iaindb@netspace.net.au> wrote:
> On Mon, 2006-01-16 at 06:40 -0700, Richard Fish wrote:
> > On 1/15/06, Iain Buchanan <iaindb@netspace.net.au> wrote:
> > > Hi all,
> > > $ sudo hdparm -tT /dev/sdd
> > >
> > > /dev/sdd:
> > >  Timing cached reads:   3640 MB in  2.00 seconds = 1820.28 MB/sec
> > >  Timing buffered disk reads:   30 MB in  3.13 seconds =   9.60 MB/sec
> > >
> > > 9.6 is pretty slow! I should be able to get at least double that...
>
> actually, I should be able to get 4x that...

No, you won't.  The max I've ever seen any USB drive run at is about
30MB/sec, even when the same drive installed internally will run at
65MB/sec.  My best 2.5" case and drive will pump about 25MB/sec.

> > Please post the dmesg output from plugging in the drive.
>
> Note, there are 4 LUNS on this device, the first 3 are card readers ,so
> they show with no media (no drive or partitions), the fourth (sdd) is
> the ide drive.

Ok, I've never used one of these combination devices.  I'm a little
concerned, because the maximum throughput of most media readers is
about 10MB/sec...so hoping this is not a limitation of the chipset.

> relevant dmesg:

Looks normal...

>  sdd: sdd1 sdd2 sdd3 sdd4 < sdd5 sdd6 sdd7 sdd8 sdd9 sdd10 sdd11 >

Damn, and I thought I made a lot of volumes.... ;->

> $ zgrep USB /proc/config.gz | grep -v "^#"
> CONFIG_USB_IRDA=m
> CONFIG_BT_HCIUSB=m
> CONFIG_BT_HCIUSB_SCO=y
> CONFIG_BT_HCIBFUSB=m
> CONFIG_USB_ARCH_HAS_HCD=y
> CONFIG_USB_ARCH_HAS_OHCI=y
> CONFIG_USB=m
> CONFIG_USB_DEVICEFS=y
> CONFIG_USB_EHCI_HCD=m
> CONFIG_USB_UHCI_HCD=m
> CONFIG_USB_PRINTER=m
> CONFIG_USB_STORAGE=m

I think you need to turn on some of the options under USB Mass Storage
support.  Particularly

CONFIG_USB_STORAGE_FREECOM=y

but I don't think there is any harm in turning all of them on...it is
very likely that one of these will give you the best performance.

-Richard

-- 
gentoo-user@gentoo.org mailing list