Kao što naslov kaže, stvarno je gnjavaža. Čitao sam o ovom problemu i ranije (još uvek kernel bug?),
ali mu nisam posvetio mnogo pažnje, jer donedavno nisam imao potrebu da kopiram ništa više od tekstualnih
datoteka (max 10-ak MB) na USB na Linuxu.
Sad je priča drugačija i ovo me baš nervira.
Trenutno mi je samo jedan USB pri ruci (format FAT32), pa sam sve 'testove' radio na njemu.
Bilo koji audio ili video format (flac, wav, mp3, mp4, avi...) daje iste/približne rezultate.
Za potrebe ovog posta koristio sam video snimak u .mp4 formatu, veličine oko 108 MB.
Rsync je trajao oko 30 sekundi, isto toliko i copy/paste kroz Thunar/XFCE.
Isto je i sa drugim uređajima, možda neznatno brže sa USB 3.0, opet previše sporo.
Evo nekoliko izlaza iz terminala:
Code: Select all
root@darkstar:/# dmesg | tail
[ 5713.554510] usbcore: registered new interface driver usb-storage
[ 5713.555689] usbcore: registered new interface driver uas
[ 5714.559203] scsi 4:0:0:0: Direct-Access takeMS colorline 8.07 PQ: 0 ANSI: 2
[ 5714.563045] sd 4:0:0:0: [sdb] 4118528 512-byte logical blocks: (2.11 GB/1.96 GiB)
[ 5714.563204] sd 4:0:0:0: [sdb] Write Protect is off
[ 5714.563209] sd 4:0:0:0: [sdb] Mode Sense: 03 00 00 00
[ 5714.563345] sd 4:0:0:0: [sdb] No Caching mode page found
[ 5714.563349] sd 4:0:0:0: [sdb] Assuming drive cache: write through
[ 5714.700909] sdb: sdb1
[ 5714.705354] sd 4:0:0:0: [sdb] Attached SCSI removable disk
Code: Select all
Bus 001 Device 007: ID 058f:6387 Alcor Micro Corp. Flash Drive
Device Descriptor:
bLength 18
bDescriptorType 1
bcdUSB 2.00
bDeviceClass 0
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
idVendor 0x058f Alcor Micro Corp.
idProduct 0x6387 Flash Drive
bcdDevice 1.01
iManufacturer 1 takeMS
iProduct 2 colorline
iSerial 3 830FB99D
bNumConfigurations 1
Configuration Descriptor:
bLength 9
bDescriptorType 2
wTotalLength 32
bNumInterfaces 1
bConfigurationValue 1
iConfiguration 0
bmAttributes 0x80
(Bus Powered)
MaxPower 100mA
Interface Descriptor:
bLength 9
bDescriptorType 4
bInterfaceNumber 0
bAlternateSetting 0
bNumEndpoints 2
bInterfaceClass 8 Mass Storage
bInterfaceSubClass 6 SCSI
bInterfaceProtocol 80 Bulk-Only
iInterface 0
Endpoint Descriptor:
bLength 7
bDescriptorType 5
bEndpointAddress 0x01 EP 1 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 0x82 EP 2 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
bDeviceSubClass 0
bDeviceProtocol 0
bMaxPacketSize0 64
bNumConfigurations 1
can't get debug descriptor: Resource temporarily unavailable
Device Status: 0x0000
(Bus Powered)
Code: Select all
root@darkstar:/# blkid
/dev/sdb1: UUID="4C20-CA66" TYPE="vfat" PARTUUID="000ef4ca-01"
Code: Select all
root@darkstar:/# rsync -PSauv /home/video/PeterErskine_JacoPastorius-FannyMae-live1982.mp4 /run/media/root/TAKEMS/
sending incremental file list
PeterErskine_JacoPastorius-FannyMae-live1982.mp4
107,844,760 100% 112.86MB/s 0:00:00 (xfr#1, to-chk=0/1)
sent 107,871,219 bytes received 35 bytes 3,784,956.28 bytes/sec
total size is 107,844,760 speedup is 1.00
Code: Select all
root@darkstar:/# cat /etc/fstab
/dev/sda5 / ext4 defaults 1 1
/dev/sda6 /home ext4 defaults 1 2
/dev/sda1 /media/win-boot ntfs-3g fmask=111,dmask=000 1 0
/dev/sda2 /media/win-sys ntfs-3g fmask=111,dmask=000 1 0
#/dev/cdrom /mnt/cdrom auto noauto,owner,ro,comment=x-gvfs-show 0 0
/dev/fd0 /mnt/floppy auto noauto,owner 0 0
devpts /dev/pts devpts gid=5,mode=620 0 0
proc /proc proc defaults 0 0
tmpfs /dev/shm tmpfs defaults 0 0
Hvala!