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

Disco USB lento



Ciao a tutti, mi rivolgo alla lista come ultima spiaggia... :-)

Ho preso un hd esterno USB, per la precisione un Lacie da 750 GiB.
Montato, riconosciuto, configurato un filesystem ext3.
Le prestazioni però non sono quelle che mi aspettavo!

Copiando un file da 1 GB circa ottengo 8-12 MB/s, mentre me ne aspettavo almeno 30-40 (visto che dovrebbe fare 480 Mbit/s).

Allego un po' di dati...

debian:~# uname -a
Linux debian 2.6.18-6-k7 #1 SMP Mon Aug 18 09:20:26 UTC 2008 i686 GNU/Linux

debian:~# cat /etc/debian_version
4.0

debian:~# lsmod | grep usb
usbhid                 37856  0
usb_storage            73024  1
scsi_mod              124872  3 sd_mod,libata,usb_storage
ide_core              110984  5 ide_cd,ide_disk,generic,usb_storage,amd74xx
usbcore               113412  5 usbhid,usb_storage,ehci_hcd,ohci_hcd

debian:~# lspci | grep -i usb
00:02.0 USB Controller: nVidia Corporation nForce2 USB Controller (rev a4)
00:02.1 USB Controller: nVidia Corporation nForce2 USB Controller (rev a4)
00:02.2 USB Controller: nVidia Corporation nForce2 USB Controller (rev a4)

debian:~# lsusb -s3:3 -v

Bus 003 Device 003: ID 059f:1019 LaCie, Ltd
Device Descriptor:
  bLength                18
  bDescriptorType         1
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0        64
  idVendor           0x059f LaCie, Ltd
  idProduct          0x1019
  bcdDevice            0.01
  iManufacturer          10 LaCie
  iProduct               11 LaCie Desktop Hard Drive
  iSerial                 3 00E000FD7039C
  bNumConfigurations      1
  Configuration Descriptor:
    bLength                 9
    bDescriptorType         2
    wTotalLength           32
    bNumInterfaces          1
    bConfigurationValue     1
    iConfiguration          4 USB Mass Storage
    bmAttributes         0xc0
      Self Powered
    MaxPower                2mA
    Interface Descriptor:
      bLength                 9
      bDescriptorType         4
      bInterfaceNumber        0
      bAlternateSetting       0
      bNumEndpoints           2
      bInterfaceClass         8 Mass Storage
      bInterfaceSubClass      6 SCSI
      bInterfaceProtocol     80 Bulk (Zip)
      iInterface              6 MSC Bulk-Only Transfer
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x81  EP 1 IN
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
      Endpoint Descriptor:
        bLength                 7
        bDescriptorType         5
        bEndpointAddress     0x02  EP 2 OUT
        bmAttributes            2
          Transfer Type            Bulk
          Synch Type               None
          Usage Type               Data
        wMaxPacketSize     0x0200  1x 512 bytes
        bInterval               0
Device Qualifier (for other device speed):
  bLength                10
  bDescriptorType         6
  bcdUSB               2.00
  bDeviceClass            0 (Defined at Interface level)
  bDeviceSubClass         0
  bDeviceProtocol         0
  bMaxPacketSize0        64
  bNumConfigurations      1
Device Status:     0x0001
  Self Powered

debian:~# cat /proc/bus/usb/devices

T:  Bus=03 Lev=00 Prnt=00 Port=00 Cnt=00 Dev#=  1 Spd=480 MxCh= 6
B:  Alloc=  0/800 us ( 0%), #Int=  0, #Iso=  0
D:  Ver= 2.00 Cls=09(hub  ) Sub=00 Prot=01 MxPS=64 #Cfgs=  1
P:  Vendor=0000 ProdID=0000 Rev= 2.06
S:  Manufacturer=Linux 2.6.18-6-k7 ehci_hcd
S:  Product=EHCI Host Controller
S:  SerialNumber=0000:00:02.2
C:* #Ifs= 1 Cfg#= 1 Atr=e0 MxPwr=  0mA
I:  If#= 0 Alt= 0 #EPs= 1 Cls=09(hub  ) Sub=00 Prot=00 Driver=hub
E:  Ad=81(I) Atr=03(Int.) MxPS=   2 Ivl=256ms

T:  Bus=03 Lev=01 Prnt=01 Port=04 Cnt=01 Dev#=  3 Spd=480 MxCh= 0
D:  Ver= 2.00 Cls=00(>ifc ) Sub=00 Prot=00 MxPS=64 #Cfgs=  1
P:  Vendor=059f ProdID=1019 Rev= 0.01
S:  Manufacturer=LaCie
S:  Product=LaCie Desktop Hard Drive
S:  SerialNumber=00E000FD7039C
C:* #Ifs= 1 Cfg#= 1 Atr=c0 MxPwr=  2mA
I:  If#= 0 Alt= 0 #EPs= 2 Cls=08(stor.) Sub=06 Prot=50 Driver=usb-storage
E:  Ad=81(I) Atr=02(Bulk) MxPS= 512 Ivl=0ms
E:  Ad=02(O) Atr=02(Bulk) MxPS= 512 Ivl=0ms

Mi incuriosisce l'output di lsusb quando mi scrive "other device speed".
Vuol dire che devo impostare qualche parametro? Ma dove?

Grazie per qualunque suggerimento!
--
DaC
(metti il becco nel mio blog! http://duffydac.iobloggo.com/)

Reply to: