Gentoo Archives: gentoo-user

From: Iain Buchanan <iaindb@××××××××××××.au>
To: gentoo-user@l.g.o
Subject: Re: [gentoo-user] usb1 performance out of usb2 external HD
Date: Mon, 16 Jan 2006 14:16:56
Message-Id: 1137420487.14296.5.camel@orpheus
In Reply to: Re: [gentoo-user] usb1 performance out of usb2 external HD by Richard Fish
1 On Mon, 2006-01-16 at 06:40 -0700, Richard Fish wrote:
2 > On 1/15/06, Iain Buchanan <iaindb@××××××××××××.au> wrote:
3 > > Hi all,
4 > > $ sudo hdparm -tT /dev/sdd
5 > >
6 > > /dev/sdd:
7 > > Timing cached reads: 3640 MB in 2.00 seconds = 1820.28 MB/sec
8 > > Timing buffered disk reads: 30 MB in 3.13 seconds = 9.60 MB/sec
9 > >
10 > > 9.6 is pretty slow! I should be able to get at least double that...
11
12 actually, I should be able to get 4x that...
13
14 > Please post the dmesg output from plugging in the drive.
15
16 Note, there are 4 LUNS on this device, the first 3 are card readers ,so
17 they show with no media (no drive or partitions), the fourth (sdd) is
18 the ide drive.
19 relevant dmesg:
20
21 usb 5-4: new high speed USB device using ehci_hcd and address 6
22 scsi2 : SCSI emulation for USB Mass Storage devices
23 usb-storage: device found at 6
24 usb-storage: waiting for device to settle before scanning
25 Vendor: Model: VP6230 Rev: 1.07
26 Type: Direct-Access ANSI SCSI revision: 00
27 sd 2:0:0:0: Attached scsi removable disk sda
28 sd 2:0:0:0: Attached scsi generic sg0 type 0
29 Vendor: Model: VP6230 Rev: 1.07
30 Type: Direct-Access ANSI SCSI revision: 00
31 sd 2:0:0:1: Attached scsi removable disk sdb
32 sd 2:0:0:1: Attached scsi generic sg1 type 0
33 Vendor: Model: VP6230 Rev: 1.07
34 Type: Direct-Access ANSI SCSI revision: 00
35 sd 2:0:0:2: Attached scsi removable disk sdc
36 sd 2:0:0:2: Attached scsi generic sg2 type 0
37 Vendor: Model: VP6230 Rev: 1.07
38 Type: Direct-Access ANSI SCSI revision: 00
39 SCSI device sdd: 195371568 512-byte hdwr sectors (100030 MB)
40 sdd: assuming drive cache: write through
41 SCSI device sdd: 195371568 512-byte hdwr sectors (100030 MB)
42 sdd: assuming drive cache: write through
43 sdd: sdd1 sdd2 sdd3 sdd4 < sdd5 sdd6 sdd7 sdd8 sdd9 sdd10 sdd11 >
44 sd 2:0:0:3: Attached scsi disk sdd
45 sd 2:0:0:3: Attached scsi generic sg3 type 0
46 usb-storage: device scan complete
47 kjournald starting. Commit interval 5 seconds
48 EXT3 FS on sdd1, internal journal
49 EXT3-fs: recovery complete.
50 EXT3-fs: mounted filesystem with ordered data mode.
51 NTFS volume version 3.1.
52 kjournald starting. Commit interval 5 seconds
53 EXT3 FS on sdd3, internal journal
54 EXT3-fs: recovery complete.
55 EXT3-fs: mounted filesystem with ordered data mode.
56 NTFS volume version 3.1.
57 kjournald starting. Commit interval 5 seconds
58 EXT3 FS on sdd7, internal journal
59 EXT3-fs: recovery complete.
60 EXT3-fs: mounted filesystem with ordered data mode.
61 kjournald starting. Commit interval 5 seconds
62 EXT3 FS on sdd8, internal journal
63 EXT3-fs: recovery complete.
64 EXT3-fs: mounted filesystem with ordered data mode.
65 kjournald starting. Commit interval 5 seconds
66 EXT3 FS on sdd9, internal journal
67 EXT3-fs: recovery complete.
68 EXT3-fs: mounted filesystem with ordered data mode.
69 kjournald starting. Commit interval 5 seconds
70 EXT3 FS on sdd10, internal journal
71 EXT3-fs: recovery complete.
72 EXT3-fs: mounted filesystem with ordered data mode.
73 kjournald starting. Commit interval 5 seconds
74 EXT3 FS on sdd11, internal journal
75 EXT3-fs: recovery complete.
76 EXT3-fs: mounted filesystem with ordered data mode.
77
78 > Also the
79 > output of "zgrep USB /proc/config.gz | grep -v "^#" (or use grep &
80 > /usr/src/linux/.config if you don't have /proc/config.gz).
81
82 $ zgrep USB /proc/config.gz | grep -v "^#"
83 CONFIG_USB_IRDA=m
84 CONFIG_BT_HCIUSB=m
85 CONFIG_BT_HCIUSB_SCO=y
86 CONFIG_BT_HCIBFUSB=m
87 CONFIG_USB_ARCH_HAS_HCD=y
88 CONFIG_USB_ARCH_HAS_OHCI=y
89 CONFIG_USB=m
90 CONFIG_USB_DEVICEFS=y
91 CONFIG_USB_EHCI_HCD=m
92 CONFIG_USB_UHCI_HCD=m
93 CONFIG_USB_PRINTER=m
94 CONFIG_USB_STORAGE=m
95 CONFIG_USB_HID=m
96 CONFIG_USB_HIDINPUT=y
97 CONFIG_USB_HIDDEV=y
98 CONFIG_USB_PEGASUS=m
99 CONFIG_USB_SERIAL=m
100 CONFIG_USB_SERIAL_GENERIC=y
101 CONFIG_USB_SERIAL_PL2303=m
102 CONFIG_USB_SISUSBVGA=m
103
104 thanks for the help,
105 Iain.
106 --
107 Iain Buchanan <iaindb at netspace dot net dot au>
108
109 (Never thought I'd be telling Malcolm and Ilya the same thing... :-)
110 -- Larry Wall in <199711071819.KAA29909@××××.org>
111
112 --
113 gentoo-user@g.o mailing list

Replies

Subject Author
Re: [gentoo-user] usb1 performance out of usb2 external HD Richard Fish <bigfish@××××××××××.org>