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 1EyYVa-0001vf-5d for garchives@archives.gentoo.org; Mon, 16 Jan 2006 17:51: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 k0GHmw22026793; Mon, 16 Jan 2006 17:48:58 GMT Received: from uproxy.gmail.com (uproxy.gmail.com [66.249.92.200]) by robin.gentoo.org (8.13.5/8.13.5) with ESMTP id k0GHks2x029131 for ; Mon, 16 Jan 2006 17:46:54 GMT Received: by uproxy.gmail.com with SMTP id j40so803852ugd for ; Mon, 16 Jan 2006 09:46:53 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=OPK19jFBkZ3H5a0kfoYz/0Mc7v1G0p5ESRK09QaIXQFiO7hCzebhngf1DMePOTxBXu4UQsD2MU0kS8jeBSr6xoaKWgUNpcZZxtpF+qaFV/wuQRoXY+3wNHF5y6Vu5YOukP/32UIsmoM01IFb43sx2OA5mafblg+9ydJZXVGcWB0= Received: by 10.49.67.10 with SMTP id u10mr248351nfk; Mon, 16 Jan 2006 09:46:53 -0800 (PST) Received: by 10.49.40.19 with HTTP; Mon, 16 Jan 2006 09:46:53 -0800 (PST) Message-ID: <9b1675090601160946g6b2e4535w610105bfd1ac0cd7@mail.gmail.com> Date: Mon, 16 Jan 2006 10:46:53 -0700 From: Trenton Adams To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] usb1 performance out of usb2 external HD In-Reply-To: <1137393538.17254.12.camel@orpheus> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail 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> Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from quoted-printable to 8bit by robin.gentoo.org id k0GHks2x029131 X-Archives-Salt: 30707516-57c3-4609-80d7-97916876daf3 X-Archives-Hash: ecdf1c1ff96f192c9b9edcb05953ef2e Are you mounting with the "sync" option, or no? Try it with, and without. If you do it without, time what it takes to do the copy, and unmount. unmount will do the actual sync. I've noticed that linux in generall is extremely slow with USB devices sometimes. My external USB2 (ATA 100) drive gets 27M/sec on my machine. And with a relatively new driver, you should see speeds about like that. On 1/15/06, Iain Buchanan wrote: > Hi all, > > I have a 2.5in usb HD and 2 external usb2 cases. I've been getting > pretty average performance with a 7200 rpm drive in both cases, but I > just thought this was the way it is. > > However, I just did a test: > $ time > cp /usr/portage/distfiles/OOo_2.0.1_LinuxIntel_install.tar.gz /mnt/usb-storage/device-0/partition-5/ > > real 1m20.903s > > which is pretty slow. I copied the same file in winblows (without > changing usb ports or anything) and it copies in about 15 seconds. > > I noticed I had uhci-hcd loaded (the usb 1 module?) so I unloaded it, > and my keyboard stopped working!!! So using the laptop keyboard, I > replugged the HD (now without uhci-hcd) and it still goes slow... > > $ 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... > > And as I've said, I know this port is usb 2.0. > > Any hints? > thanks, > -- > Iain Buchanan > > IN MY OPINION anyone interested in improving himself should not rule out > becoming pure energy. > -- Jack Handley, The New Mexican, 1988. > > -- > gentoo-user@gentoo.org mailing list > > -- gentoo-user@gentoo.org mailing list