Slow usb storage performance with flash memory devices on Samsung Q45

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

I have noticed that flash usb storage devices are very slow on my
Samsung Q45 laptop compared to my supermicro x7dwa-n workstation,
first the good performance:

uname -a
Linux ubermicro 2.6.31-xen-r11 #1 SMP Wed Jan 27 18:13:45 GMT 2010
x86_64 Intel(R) Xeon(R) CPU E5420 @ 2.50GHz GenuineIntel GNU/Linux

lsscsi | grep sdd
[9:0:0:0]    disk    Kingston DT 101 II        1.00  /dev/sdd

hdparm -t /dev/sdd

/dev/sdd:
 Timing buffered disk reads:   66 MB in  3.04 seconds =  21.70 MB/sec


lspci | grep -i usb
00:1d.0 USB Controller: Intel Corporation 631xESB/632xESB/3100 Chipset
UHCI USB Controller #1 (rev 09)
00:1d.1 USB Controller: Intel Corporation 631xESB/632xESB/3100 Chipset
UHCI USB Controller #2 (rev 09)
00:1d.2 USB Controller: Intel Corporation 631xESB/632xESB/3100 Chipset
UHCI USB Controller #3 (rev 09)
00:1d.3 USB Controller: Intel Corporation 631xESB/632xESB/3100 Chipset
UHCI USB Controller #4 (rev 09)
00:1d.7 USB Controller: Intel Corporation 631xESB/632xESB/3100 Chipset
EHCI USB2 Controller (rev 09)
02:01.0 USB Controller: NEC Corporation USB (rev 43)
02:01.1 USB Controller: NEC Corporation USB (rev 43)
02:01.2 USB Controller: NEC Corporation USB 2.0 (rev 04)
09:04.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1
Controller (rev 62)
09:04.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1
Controller (rev 62)
09:04.2 USB Controller: VIA Technologies, Inc. USB 2.0 (rev 65)


And now the Q45, note that I have tried kernel 2.6.31 and the
performance is the same:

uname -a
Linux samsung 2.6.32-gentoo-r3 #4 SMP Thu Feb 4 14:21:51 GMT 2010 i686
Intel(R) Core(TM)2 Duo CPU T5450 @ 1.66GHz GenuineIntel GNU/Linux

lsscsi | grep sda
[2:0:0:0]    disk    Kingston DT 101 II        1.00  /dev/sda
samsung linux-2.6.32-gentoo-r4 # hdparm -t /dev/sda

/dev/sda:
 Timing buffered disk reads:   24 MB in  3.22 seconds =   7.46 MB/sec


1/3 of the speed, but if I try the same on a usb hard disk the
performance is much better:

hdparm -t /dev/sdb

/dev/sdb:
 Timing buffered disk reads:   88 MB in  3.02 seconds =  29.12 MB/sec

Which is around the same speed I get on my workstation.

Some more info from the q45:

lspci | grep -i usb
00:1a.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB
UHCI Controller #4 (rev 03)
00:1a.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB
UHCI Controller #5 (rev 03)
00:1a.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2
EHCI Controller #2 (rev 03)
00:1d.0 USB Controller: Intel Corporation 82801H (ICH8 Family) USB
UHCI Controller #1 (rev 03)
00:1d.1 USB Controller: Intel Corporation 82801H (ICH8 Family) USB
UHCI Controller #2 (rev 03)
00:1d.2 USB Controller: Intel Corporation 82801H (ICH8 Family) USB
UHCI Controller #3 (rev 03)
00:1d.7 USB Controller: Intel Corporation 82801H (ICH8 Family) USB2
EHCI Controller #1 (rev 03)


dmesg | grep -i usb
usbcore: registered new interface driver usbfs
usbcore: registered new interface driver hub
usbcore: registered new device driver usb
ehci_hcd: USB 2.0 'Enhanced' Host Controller (EHCI) Driver
drivers/usb/core/inode.c: creating file 'devices'
drivers/usb/core/inode.c: creating file '001'
ehci_hcd 0000:00:1a.7: new USB bus registered, assigned bus number 1
ehci_hcd 0000:00:1a.7: supports USB remote wakeup
ehci_hcd 0000:00:1a.7: USB 2.0 started, EHCI 1.00
usb usb1: default language 0x0409
usb usb1: udev 1, busnum 1, minor = 0
usb usb1: New USB device found, idVendor=1d6b, idProduct=0002
usb usb1: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb1: Product: EHCI Host Controller
usb usb1: Manufacturer: Linux 2.6.32-gentoo-r3 ehci_hcd
usb usb1: SerialNumber: 0000:00:1a.7
usb usb1: uevent
usb usb1: usb_probe_device
usb usb1: configuration #1 chosen from 1 choice
usb usb1: adding 1-0:1.0 (config #1, interface 0)
usb 1-0:1.0: uevent
hub 1-0:1.0: usb_probe_interface
hub 1-0:1.0: usb_probe_interface - got id
hub 1-0:1.0: USB hub found
hub 1-0:1.0: no power switching (usb 1.0)
drivers/usb/core/inode.c: creating file '001'
drivers/usb/core/inode.c: creating file '002'
ehci_hcd 0000:00:1d.7: new USB bus registered, assigned bus number 2
ehci_hcd 0000:00:1d.7: supports USB remote wakeup
ehci_hcd 0000:00:1d.7: USB 2.0 started, EHCI 1.00
usb usb2: default language 0x0409
usb usb2: udev 1, busnum 2, minor = 128
usb usb2: New USB device found, idVendor=1d6b, idProduct=0002
usb usb2: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb2: Product: EHCI Host Controller
usb usb2: Manufacturer: Linux 2.6.32-gentoo-r3 ehci_hcd
usb usb2: SerialNumber: 0000:00:1d.7
usb usb2: uevent
usb usb2: usb_probe_device
usb usb2: configuration #1 chosen from 1 choice
usb usb2: adding 2-0:1.0 (config #1, interface 0)
usb 2-0:1.0: uevent
hub 2-0:1.0: usb_probe_interface
hub 2-0:1.0: usb_probe_interface - got id
hub 2-0:1.0: USB hub found
hub 2-0:1.0: no power switching (usb 1.0)
drivers/usb/core/inode.c: creating file '001'
ohci_hcd: USB 1.1 'Open' Host Controller (OHCI) Driver
uhci_hcd: USB Universal Host Controller Interface driver
drivers/usb/core/inode.c: creating file '003'
uhci_hcd 0000:00:1a.0: new USB bus registered, assigned bus number 3
usb usb3: default language 0x0409
usb usb3: udev 1, busnum 3, minor = 256
usb usb3: New USB device found, idVendor=1d6b, idProduct=0001
usb usb3: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb3: Product: UHCI Host Controller
usb usb3: Manufacturer: Linux 2.6.32-gentoo-r3 uhci_hcd
usb usb3: SerialNumber: 0000:00:1a.0
usb usb3: uevent
usb usb3: usb_probe_device
usb usb3: configuration #1 chosen from 1 choice
usb usb3: adding 3-0:1.0 (config #1, interface 0)
usb 3-0:1.0: uevent
hub 3-0:1.0: usb_probe_interface
hub 3-0:1.0: usb_probe_interface - got id
hub 3-0:1.0: USB hub found
hub 3-0:1.0: no power switching (usb 1.0)
drivers/usb/core/inode.c: creating file '001'
drivers/usb/core/inode.c: creating file '004'
uhci_hcd 0000:00:1a.1: new USB bus registered, assigned bus number 4
usb usb4: default language 0x0409
usb usb4: udev 1, busnum 4, minor = 384
usb usb4: New USB device found, idVendor=1d6b, idProduct=0001
usb usb4: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb4: Product: UHCI Host Controller
usb usb4: Manufacturer: Linux 2.6.32-gentoo-r3 uhci_hcd
usb usb4: SerialNumber: 0000:00:1a.1
usb usb4: uevent
usb usb4: usb_probe_device
usb usb4: configuration #1 chosen from 1 choice
usb usb4: adding 4-0:1.0 (config #1, interface 0)
usb 4-0:1.0: uevent
hub 4-0:1.0: usb_probe_interface
hub 4-0:1.0: usb_probe_interface - got id
hub 4-0:1.0: USB hub found
hub 4-0:1.0: no power switching (usb 1.0)
drivers/usb/core/inode.c: creating file '001'
drivers/usb/core/inode.c: creating file '005'
uhci_hcd 0000:00:1d.0: new USB bus registered, assigned bus number 5
usb usb5: default language 0x0409
usb usb5: udev 1, busnum 5, minor = 512
usb usb5: New USB device found, idVendor=1d6b, idProduct=0001
usb usb5: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb5: Product: UHCI Host Controller
usb usb5: Manufacturer: Linux 2.6.32-gentoo-r3 uhci_hcd
usb usb5: SerialNumber: 0000:00:1d.0
usb usb5: uevent
usb usb5: usb_probe_device
usb usb5: configuration #1 chosen from 1 choice
usb usb5: adding 5-0:1.0 (config #1, interface 0)
usb 5-0:1.0: uevent
hub 5-0:1.0: usb_probe_interface
hub 5-0:1.0: usb_probe_interface - got id
hub 5-0:1.0: USB hub found
hub 5-0:1.0: no power switching (usb 1.0)
drivers/usb/core/inode.c: creating file '001'
drivers/usb/core/inode.c: creating file '006'
uhci_hcd 0000:00:1d.1: new USB bus registered, assigned bus number 6
usb usb6: default language 0x0409
usb usb6: udev 1, busnum 6, minor = 640
usb usb6: New USB device found, idVendor=1d6b, idProduct=0001
usb usb6: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb6: Product: UHCI Host Controller
usb usb6: Manufacturer: Linux 2.6.32-gentoo-r3 uhci_hcd
usb usb6: SerialNumber: 0000:00:1d.1
usb usb6: uevent
usb usb6: usb_probe_device
usb usb6: configuration #1 chosen from 1 choice
usb usb6: adding 6-0:1.0 (config #1, interface 0)
usb 6-0:1.0: uevent
hub 6-0:1.0: usb_probe_interface
hub 6-0:1.0: usb_probe_interface - got id
hub 6-0:1.0: USB hub found
hub 6-0:1.0: no power switching (usb 1.0)
drivers/usb/core/inode.c: creating file '001'
drivers/usb/core/inode.c: creating file '007'
uhci_hcd 0000:00:1d.2: new USB bus registered, assigned bus number 7
usb usb7: default language 0x0409
usb usb7: udev 1, busnum 7, minor = 768
usb usb7: New USB device found, idVendor=1d6b, idProduct=0001
usb usb7: New USB device strings: Mfr=3, Product=2, SerialNumber=1
usb usb7: Product: UHCI Host Controller
usb usb7: Manufacturer: Linux 2.6.32-gentoo-r3 uhci_hcd
usb usb7: SerialNumber: 0000:00:1d.2
usb usb7: uevent
usb usb7: usb_probe_device
usb usb7: configuration #1 chosen from 1 choice
usb usb7: adding 7-0:1.0 (config #1, interface 0)
usb 7-0:1.0: uevent
hub 7-0:1.0: usb_probe_interface
hub 7-0:1.0: usb_probe_interface - got id
hub 7-0:1.0: USB hub found
hub 7-0:1.0: no power switching (usb 1.0)
drivers/usb/core/inode.c: creating file '001'
usbcore: registered new interface driver usblp
Initializing USB Mass Storage driver...
usbcore: registered new interface driver usb-storage
USB Mass Storage support registered.
usbcore: registered new interface driver libusual
usbcore: registered new interface driver hiddev
usbcore: registered new interface driver usbhid
usbhid: v2.6:USB HID core driver
usb 1-2: new high speed USB device using ehci_hcd and address 2
usb 1-2: skipped 1 descriptor after configuration
usb 1-2: skipped 5 descriptors after interface
usb 1-2: skipped 1 descriptor after endpoint
usb 1-2: skipped 10 descriptors after interface
usb 1-2: default language 0x0409
usb 1-2: udev 2, busnum 1, minor = 1
usb 1-2: New USB device found, idVendor=0ac8, idProduct=c302
usb 1-2: New USB device strings: Mfr=1, Product=2, SerialNumber=0
usb 1-2: Product: Vega USB 2.0 Camera.
usb 1-2: Manufacturer: Vimicro Corp.
usb 1-2: uevent
usb 1-2: usb_probe_device
usb 1-2: configuration #1 chosen from 1 choice
usb 1-2: adding 1-2:1.0 (config #1, interface 0)
usb 1-2:1.0: uevent
usb 1-2: adding 1-2:1.1 (config #1, interface 1)
usb 1-2:1.1: uevent
drivers/usb/core/inode.c: creating file '002'
usb 2-1: new high speed USB device using ehci_hcd and address 2
usb 2-1: default language 0x0409
usb 2-1: udev 2, busnum 2, minor = 129
usb 2-1: New USB device found, idVendor=0951, idProduct=1625
usb 2-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 2-1: Product: DT 101 II
usb 2-1: Manufacturer: Kingston
usb 2-1: SerialNumber: 0019E06B0840F97037620ABA
usb 2-1: uevent
usb 2-1: usb_probe_device
usb 2-1: configuration #1 chosen from 1 choice
usb 2-1: adding 2-1:1.0 (config #1, interface 0)
usb 2-1:1.0: uevent
usb-storage 2-1:1.0: usb_probe_interface
usb-storage 2-1:1.0: usb_probe_interface - got id
scsi2 : SCSI emulation for USB Mass Storage devices
drivers/usb/core/inode.c: creating file '002'
usb-storage: device found at 2
usb-storage: waiting for device to settle before scanning
usb 7-1: new full speed USB device using uhci_hcd and address 2
usb usb4: suspend_rh (auto-stop)
usb usb6: suspend_rh (auto-stop)
usb 7-1: skipped 1 descriptor after interface
usb 7-1: default language 0x0409
usb 7-1: udev 2, busnum 7, minor = 769
usb 7-1: New USB device found, idVendor=0a5c, idProduct=2101
usb 7-1: New USB device strings: Mfr=1, Product=2, SerialNumber=3
usb 7-1: Product: BCM92045NMD
usb 7-1: Manufacturer: Broadcom Corp
usb 7-1: SerialNumber: 000278766EB1
usb 7-1: uevent
usb 7-1: usb_probe_device
usb 7-1: configuration #1 chosen from 1 choice
usb 7-1: adding 7-1:1.0 (config #1, interface 0)
usb 7-1:1.0: uevent
usb 7-1: adding 7-1:1.1 (config #1, interface 1)
usb 7-1:1.1: uevent
usb 7-1: adding 7-1:1.2 (config #1, interface 2)
usb 7-1:1.2: uevent
usb 7-1: adding 7-1:1.3 (config #1, interface 3)
usb 7-1:1.3: uevent
drivers/usb/core/inode.c: creating file '002'
usb usb3: suspend_rh (auto-stop)
usb usb5: suspend_rh (auto-stop)
usb usb4: bus auto-suspend
usb usb4: suspend_rh
usb usb6: bus auto-suspend
usb usb6: suspend_rh
usb usb3: bus auto-suspend
usb usb3: suspend_rh
usb usb5: bus auto-suspend
usb usb5: suspend_rh
usb-storage: device scan complete
usb usb3: uevent
usb 3-0:1.0: uevent
usb usb4: uevent
usb 4-0:1.0: uevent
usb usb1: uevent
usb 1-0:1.0: uevent
usb 1-2: uevent
usb 1-2:1.0: uevent
usb 1-2:1.1: uevent
usb usb5: uevent
usb 5-0:1.0: uevent
usb usb6: uevent
usb 6-0:1.0: uevent
usb usb7: uevent
usb 7-0:1.0: uevent
usb 7-1: uevent
usb 7-1:1.0: uevent
usb 7-1:1.1: uevent
usb 7-1:1.2: uevent
usb 7-1:1.3: uevent
usb usb2: uevent
usb 2-0:1.0: uevent
usb 2-1: uevent
usb 2-1:1.0: uevent
usb usb4: uevent
usb usb7: uevent
usb usb5: uevent
usb usb1: uevent
usb 1-2: uevent
usb usb3: uevent
usb usb6: uevent
usb 7-1: uevent
usb usb2: uevent
usb 2-1: uevent
usb 2-1:1.0: uevent
usb 2-1: uevent
usb 2-1:1.0: uevent
usb usb3: uevent
usb 3-0:1.0: uevent
usb usb4: uevent
usb 4-0:1.0: uevent
usb usb1: uevent
usb 1-0:1.0: uevent
usb 1-2: uevent
usb 1-2:1.0: uevent
usb 1-2:1.1: uevent
usb usb5: uevent
usb 5-0:1.0: uevent
usb usb6: uevent
usb 6-0:1.0: uevent
usb usb7: uevent
usb 7-0:1.0: uevent
usb 7-1: uevent
usb 7-1:1.0: uevent
usb 7-1:1.1: uevent
usb 7-1:1.2: uevent
usb 7-1:1.3: uevent
usb usb2: uevent
usb 2-0:1.0: uevent
usb 2-1: uevent
usb 2-1:1.0: uevent


Why would it be so much slower on this laptop?

Andy
--
To unsubscribe from this list: send the line "unsubscribe linux-usb" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Media]     [Linux Input]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [Old Linux USB Devel Archive]

  Powered by Linux