Gentoo Archives: gentoo-user

From: Trenton Adams <trenton.d.adams@×××××.com>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] usb1 performance out of usb2 external HD
Date: Mon, 16 Jan 2006 17:51:10
Message-Id: 9b1675090601160946g6b2e4535w610105bfd1ac0cd7@mail.gmail.com
In Reply to: [gentoo-user] usb1 performance out of usb2 external HD by Iain Buchanan
1 Are you mounting with the "sync" option, or no? Try it with, and
2 without. If you do it without, time what it takes to do the copy, and
3 unmount. unmount will do the actual sync.
4
5 I've noticed that linux in generall is extremely slow with USB devices
6 sometimes. My external USB2 (ATA 100) drive gets 27M/sec on my
7 machine. And with a relatively new driver, you should see speeds
8 about like that.
9
10 On 1/15/06, Iain Buchanan <iaindb@××××××××××××.au> wrote:
11 > Hi all,
12 >
13 > I have a 2.5in usb HD and 2 external usb2 cases. I've been getting
14 > pretty average performance with a 7200 rpm drive in both cases, but I
15 > just thought this was the way it is.
16 >
17 > However, I just did a test:
18 > $ time
19 > cp /usr/portage/distfiles/OOo_2.0.1_LinuxIntel_install.tar.gz /mnt/usb-storage/device-0/partition-5/
20 >
21 > real 1m20.903s
22 >
23 > which is pretty slow. I copied the same file in winblows (without
24 > changing usb ports or anything) and it copies in about 15 seconds.
25 >
26 > I noticed I had uhci-hcd loaded (the usb 1 module?) so I unloaded it,
27 > and my keyboard stopped working!!! So using the laptop keyboard, I
28 > replugged the HD (now without uhci-hcd) and it still goes slow...
29 >
30 > $ sudo hdparm -tT /dev/sdd
31 >
32 > /dev/sdd:
33 > Timing cached reads: 3640 MB in 2.00 seconds = 1820.28 MB/sec
34 > Timing buffered disk reads: 30 MB in 3.13 seconds = 9.60 MB/sec
35 >
36 > 9.6 is pretty slow! I should be able to get at least double that...
37 >
38 > And as I've said, I know this port is usb 2.0.
39 >
40 > Any hints?
41 > thanks,
42 > --
43 > Iain Buchanan <iaindb at netspace dot net dot au>
44 >
45 > IN MY OPINION anyone interested in improving himself should not rule out
46 > becoming pure energy.
47 > -- Jack Handley, The New Mexican, 1988.
48 >
49 > --
50 > gentoo-user@g.o mailing list
51 >
52 >
53
54 --
55 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] usb1 performance out of usb2 external HD Iain Buchanan <iaindb@××××××××××××.au>