slow writes to USB 2.0? - Mandriva

This is a discussion on slow writes to USB 2.0? - Mandriva ; Is anyone else getting slow writes to USB 2.0 devices? It used to be quick (A 4.4G ISO took a few minutes) but is now unbearable. I think something as changed when automounting stopped working for a while. lsusb -v ...

+ Reply to Thread
Results 1 to 5 of 5

Thread: slow writes to USB 2.0?

  1. slow writes to USB 2.0?

    Is anyone else getting slow writes to USB 2.0 devices? It used to be
    quick (A 4.4G ISO took a few minutes) but is now unbearable. I think
    something as changed when automounting stopped working for a while.

    lsusb -v still shows the device as USB 2.0 FWIW

    Lordy

    lsusb -a ..

    Bus 002 Device 009: ID 04cf:8818 Myson Century, Inc. Fast 3.5"
    External Storage
    Device Descriptor:
    bLength 18
    bDescriptorType 1
    bcdUSB 2.00
    bDeviceClass 0 (Defined at Interface level)
    bDeviceSubClass 0
    bDeviceProtocol 0
    bMaxPacketSize0 64
    idVendor 0x04cf Myson Century, Inc.
    idProduct 0x8818 Fast 3.5" External Storage
    bcdDevice b0.07
    iManufacturer 1 Myson Century, Inc.
    iProduct 2 USB Mass Storage Device
    iSerial 3 100
    bNumConfigurations 1
    Configuration Descriptor:
    bLength 9
    bDescriptorType 2
    wTotalLength 32
    bNumInterfaces 1
    bConfigurationValue 1
    iConfiguration 4 USB Mass Storage
    bmAttributes 0xc0
    Self Powered
    MaxPower 10mA
    Interface Descriptor:
    bLength 9
    bDescriptorType 4
    bInterfaceNumber 0
    bAlternateSetting 0
    bNumEndpoints 2
    bInterfaceClass 8 Mass Storage
    bInterfaceSubClass 5 SFF-8070i
    bInterfaceProtocol 80
    iInterface 5 Mass Storage Class
    Endpoint Descriptor:
    bLength 7
    bDescriptorType 5
    bEndpointAddress 0x03 EP 3 OUT
    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 0x84 EP 4 IN
    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

  2. Re: slow writes to USB 2.0?


    Hi lordy,

    Op donderdag 22-11-2007 om 10:16 uur [tijdzone +0000], schreef lordy:
    > Is anyone else getting slow writes to USB 2.0 devices? It used to be
    > quick (A 4.4G ISO took a few minutes) but is now unbearable. I think
    > something as changed when automounting stopped working for a while.


    Yes.

    See these bugs:
    http://qa.mandriva.com/show_bug.cgi?id=34568
    http://qa.mandriva.com/show_bug.cgi?id=35204

    The solution is to remove the fstab entry referring to your USB device.

    regards,

    --
    Reinout van Schouwen
    http://vanschouwen.info/


  3. Re: slow writes to USB 2.0?

    lordy wrote:
    > Is anyone else getting slow writes to USB 2.0 devices? It used to be
    > quick (A 4.4G ISO took a few minutes) but is now unbearable. I think
    > something as changed when automounting stopped working for a while.


    Perhaps the hdparm setting reverted to default? No DMA transfer.
    Minimal or no read ahead. Etc.

    Check /etc/sysconfig/harddisks
    and
    man hdparm
    or search this newsgroup at Google for lots of good info.

    Cheers!

    jim b.

    --
    UNIX is not user-unfriendly; it merely
    expects users to be computer-friendly.

  4. Re: slow writes to USB 2.0?

    On 2007-11-22, Reinout van Schouwen wrote:
    >
    > Hi lordy,
    >
    > Op donderdag 22-11-2007 om 10:16 uur [tijdzone +0000], schreef lordy:


    >> Is anyone else getting slow writes to USB 2.0 devices? It used to be
    >> quick (A 4.4G ISO took a few minutes) but is now unbearable. I think
    >> something as changed when automounting stopped working for a while.

    >
    > Yes.
    >
    > See these bugs:
    > http://qa.mandriva.com/show_bug.cgi?id=34568
    > http://qa.mandriva.com/show_bug.cgi?id=35204
    >
    > The solution is to remove the fstab entry referring to your USB device.


    Hi, no entry in fstab here, but I do have a dynamic entry in mtab (which
    I think as correct)

    /dev/sdf1 /media/SAFECOM-USB vfat
    rw,nosuid,nodev,noatime,uhelper=hal,flush,uid=500, utf8,shortname=lower 0
    0

    I've timed the writes at 7Mb/s. I'll check the read speed and my hdparm

    Cheers,
    Lordy

  5. Re: slow writes to USB 2.0?

    On Sat, 24 Nov 2007 10:08:12 -0500, lordy wrote:

    > Hi, no entry in fstab here, but I do have a dynamic entry in mtab (which
    > I think as correct)
    > /dev/sdf1 /media/SAFECOM-US vfat
    > rw,nosuid,nodev,noatime,uhelper=hal,flush,uid=500, utf8,shortname=lower 0
    > 0


    I really wish people would stop adding new mount options, without
    updating the documentation.

    All I could find on the flush option is
    http://git.kernel.org/?p=linux/kerne...f195d7347ce3e4

    In this case, try adding an fstab entry like
    /dev/sdf1 /media/SAFECOM-US vfat umask=0,iocharset=iso8859-15,codepage=850,noauto,rw,exec,users 0 0

    to prevent udev/haldaemon, from mounting it with the flush option, and
    the wrong charset/codepage, for vfat.

    Just make sure you unmount the device, before unplugging it.

    Regards, Dave Hodgins

    --
    Change nomail.afraid.org to ody.ca to reply by email.
    (nomail.afraid.org has been set up specifically for
    use in usenet. Feel free to use it yourself.)

+ Reply to Thread