From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1NS2oD-0003pH-75 for garchives@archives.gentoo.org; Tue, 05 Jan 2010 06:22:25 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 216D6E072E; Tue, 5 Jan 2010 06:21:45 +0000 (UTC) Received: from mail-ew0-f224.google.com (mail-ew0-f224.google.com [209.85.219.224]) by pigeon.gentoo.org (Postfix) with ESMTP id DB854E072E for ; Tue, 5 Jan 2010 06:21:44 +0000 (UTC) Received: by ewy24 with SMTP id 24so18828547ewy.26 for ; Mon, 04 Jan 2010 22:21:44 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:from:reply-to:to:subject:date :user-agent:references:in-reply-to:mime-version:content-type :content-transfer-encoding:message-id; bh=FG3KLLG30P02V8T+C+V1L3QH7zJKncO0oIoR+LFiQR4=; b=KBmFPaPtPV+SBR0J+pokPHx49MGFPSe5Y8PU/mVK1ASyYxr14xCXpxoBiqYt5b/iQZ PmzPaT3VyWZLerBPP+eHlSRU33Stt/0vRs0ALmDzEOwvW3VvGmOLIUQfjf41p+WNdTqj pe/T4IiPy7zPtmZxx7Fy4VafJSGBvpp7G0FP0= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=from:reply-to:to:subject:date:user-agent:references:in-reply-to :mime-version:content-type:content-transfer-encoding:message-id; b=Q9nKrDp7dT2Vq7IfSVsDVi/f8TmUUlEodJJt58TAf3iJ1TlGrQoGWmO6+GnQWT0uK7 BaO/6g1Ji6uD9WVb152y0sdH6sPRgA+0Q71UO/6Ha6wmtwQBH5H/rsXqW3Q6/UR2ePdd pwbI+N42TNNcvV/eCCD6twEBuaMe+jnOyx/lo= Received: by 10.213.100.65 with SMTP id x1mr12599303ebn.67.1262672503984; Mon, 04 Jan 2010 22:21:43 -0800 (PST) Received: from lappy.localnet (230.3.169.217.in-addr.arpa [217.169.3.230]) by mx.google.com with ESMTPS id 10sm31404141eyd.37.2010.01.04.22.21.42 (version=TLSv1/SSLv3 cipher=RC4-MD5); Mon, 04 Jan 2010 22:21:42 -0800 (PST) From: Mick To: gentoo-user@lists.gentoo.org Subject: Re: [gentoo-user] Re: USB mass storage device slow in Gentoo, fast in Windows...? [SOLVED] Date: Tue, 5 Jan 2010 06:21:30 +0000 User-Agent: KMail/1.12.3 (Linux/2.6.31-gentoo-r6; KDE/4.3.3; i686; ; ) References: <58965d8a1001042126u6229e1c6mabfb9a315a1cd130@mail.gmail.com> In-Reply-To: <58965d8a1001042126u6229e1c6mabfb9a315a1cd130@mail.gmail.com> Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart1431748.U4Wsj0eQdP"; protocol="application/pgp-signature"; micalg=pgp-sha1 Content-Transfer-Encoding: 7bit Message-Id: <201001050621.40671.michaelkintzios@gmail.com> X-Archives-Salt: d1da9191-b828-4530-8f17-e15c20b54316 X-Archives-Hash: 8d350b3be3dcd92b8b6cbce8a0ee4be6 --nextPart1431748.U4Wsj0eQdP Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable On Tuesday 05 January 2010 05:26:32 Paul Hartman wrote: > On Sat, Dec 26, 2009 at 4:54 PM, Paul Hartman >=20 > wrote: > > Hi, > > > > I got a Nokia N900 linux internet tablet/phone a few days ago, and > > when I connect it in USB Mass Storage mode to a Windows Vista computer > > I can write at 17MB/sec, but when I connect it to my Gentoo box my > > writes are really slow, between 500-900kb/sec depending on if I mount > > in "sync" mode or not. As far as I know it should be just a totally > > standard/generic mass storage device. (there were no drivers or > > software install needed in windows, it just worked) > > > > Other USB devices plugged into the same port go full speed, and AFAIK > > everything appears as if it should be high speed USB 2.0. Has anyone > > seen something like this before? I'm not sure what the deal is. It > > takes 20 minutes to copy 1 gigabyte from Linux and takes just under 1 > > minute to do the same in Windows. > > > > I'm not sure about debugging USB or what the options are. Everything > > I've used previously has worked without any hassle. >=20 > Solved. The problem was CFQ I/O scheduler. It was several times slower > than the others, for whatever reason. >=20 > Here is the scoreboard: >=20 > single-file: 1m25s >=20 > multi-file (same total size): > cfq: 6m51.439s > noop: 3m0.733s > anticipatory: 1m44.348s > deadline: 1m36.804s >=20 > So, the winner is deadline. CFQ doesn't make it to the podium. :) Hmmm ... reading at the help files I thought that CFQ was the default/best= =20 option for a desktop. Is there such a thing as a best fit here? =2D-=20 Regards, Mick --nextPart1431748.U4Wsj0eQdP Content-Type: application/pgp-signature; name=signature.asc Content-Description: This is a digitally signed message part. -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.11 (GNU/Linux) iEYEABECAAYFAktC2nQACgkQVTDTR3kpaLa7rACfdpbnxY0T+xqGYFjsTTPvcBb8 pPgAoJd+eOo2fm7CwcKeKp2Lq/A1VRxj =qn2s -----END PGP SIGNATURE----- --nextPart1431748.U4Wsj0eQdP--