Announcement

Collapse
No announcement yet.

USB stick: fast read but slow write

Collapse
This topic is closed.
X
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    USB stick: fast read but slow write

    When trying to copy something to a usb 2.0 stick, it takes a terribly long time (for instance, 420mb took more than half an hour).
    Although, when trying to copy the same file from the usb to my laptop, it takes only 2 minutes. So, I guess there must be something wrong with the usb drivers (I'm not a linux expert though, so I'm just guessing)

    here is the output of dmesg | grep usb

    [ 0.340061] usbcore: registered new interface driver usbfs
    [ 0.340061] usbcore: registered new interface driver hub
    [ 0.340061] usbcore: registered new device driver usb
    [ 0.730169] usb usb1: configuration #1 chosen from 1 choice
    [ 0.790138] usb usb2: configuration #1 chosen from 1 choice
    [ 0.850134] usb usb3: configuration #1 chosen from 1 choice
    [ 0.910148] usb usb4: configuration #1 chosen from 1 choice
    [ 0.970146] usb usb5: configuration #1 chosen from 1 choice
    [ 1.030157] usb usb6: configuration #1 chosen from 1 choice
    [ 1.050068] usb 1-3: new high speed USB device using ehci_hcd and address 2
    [ 1.202414] usb 1-3: configuration #1 chosen from 1 choice
    [ 1.925330] usbcore: registered new interface driver usb-storage
    [ 1.925593] usb-storage: device found at 2
    [ 1.925595] usb-storage: waiting for device to settle before scanning
    [ 6.920321] usb-storage: device scan complete
    [ 330.935448] usb 1-3: USB disconnect, address 2
    [ 664.240104] usb 1-3: new high speed USB device using ehci_hcd and address 3
    [ 664.399460] usb 1-3: configuration #1 chosen from 1 choice
    [ 664.400521] usb-storage: device found at 3
    [ 664.400528] usb-storage: waiting for device to settle before scanning
    [ 668.142442] usb 1-3: USB disconnect, address 3

    And dmesg |tail

    [ 1040.031634] scsi 7:0:0:0: Direct-Access USB DISK 2.0 PMAP PQ: 0 ANSI: 0 CCS
    [ 1040.032401] sd 7:0:0:0: Attached scsi generic sg2 type 0
    [ 1041.244662] sd 7:0:0:0: [sdb] 7643136 512-byte logical blocks: (3.91 GB/3.64 GiB)
    [ 1041.245144] sd 7:0:0:0: [sdb] Write Protect is off
    [ 1041.245154] sd 7:0:0:0: [sdb] Mode Sense: 23 00 00 00
    [ 1041.245161] sd 7:0:0:0: [sdb] Assuming drive cache: write through
    [ 1042.340676] sd 7:0:0:0: [sdb] Assuming drive cache: write through
    [ 1042.340689] sdb: sdb1
    [ 1042.387052] sd 7:0:0:0: [sdb] Assuming drive cache: write through
    [ 1042.387068] sd 7:0:0:0: [sdb] Attached SCSI removable disk

    it seems as if the usb disk is recognized as 2.0.

    Does anyone know a solution because I didn't found something on the net?

    Greets,
    Wouter

    #2
    Re: USB stick: fast read but slow write

    sonicboy

    what command are you entering to write TO the USB device?

    When you say that you tried to write 420 MB file, and it took more than half an hour, did it finish writing normally? or hang? or abort with error? what error?

    What is the WRITE speed of the memory device inside that memstick? Like is it 3 MB/sec? or 4.5 MB/sec? or 8 MB/sec? or 10MB/sec? or 16 MB/sec? or 30 MB/sec? There are different speed memory chips on the market.. if yours is a slow cheap one, it may seem that it reads fast, but it be very slow writing.
    UNIX Mechanic & Network Plumber -  Linux Counter #52009

    Comment

    Working...
    X