From: Mick <michaelkintzios@gmail.com>
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 [thread overview]
Message-ID: <201001050621.40671.michaelkintzios@gmail.com> (raw)
In-Reply-To: <58965d8a1001042126u6229e1c6mabfb9a315a1cd130@mail.gmail.com>
[-- Attachment #1: Type: Text/Plain, Size: 1674 bytes --]
On Tuesday 05 January 2010 05:26:32 Paul Hartman wrote:
> On Sat, Dec 26, 2009 at 4:54 PM, Paul Hartman
>
> <paul.hartman+gentoo@gmail.com> 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.
>
> Solved. The problem was CFQ I/O scheduler. It was several times slower
> than the others, for whatever reason.
>
> Here is the scoreboard:
>
> single-file: 1m25s
>
> multi-file (same total size):
> cfq: 6m51.439s
> noop: 3m0.733s
> anticipatory: 1m44.348s
> deadline: 1m36.804s
>
> 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
option for a desktop. Is there such a thing as a best fit here?
--
Regards,
Mick
[-- Attachment #2: This is a digitally signed message part. --]
[-- Type: application/pgp-signature, Size: 198 bytes --]
next prev parent reply other threads:[~2010-01-05 6:22 UTC|newest]
Thread overview: 9+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-01-05 5:26 [gentoo-user] Re: USB mass storage device slow in Gentoo, fast in Windows...? [SOLVED] Paul Hartman
2010-01-05 6:21 ` Mick [this message]
2010-01-05 8:15 ` Stroller
2010-01-05 8:40 ` Alan McKinnon
2010-01-05 11:39 ` Mick
2010-01-05 12:38 ` Szénási István
2010-01-05 20:34 ` James Ausmus
2010-01-06 6:12 ` Szénási István
2010-01-05 19:31 ` Stroller
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=201001050621.40671.michaelkintzios@gmail.com \
--to=michaelkintzios@gmail.com \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox