Sandisk Usb3 Nvme Disk with Linux: Difference between revisions
Jump to navigation
Jump to search
(Created page with "Sandisk is very slow. Should be 0.5-1GByte/s but is just ~30 MBytes/s dd ... 1073741824 Bytes (1,1 GB, 1,0 GiB) kopiert, 36,5998 s, 29,3 MB/s lsusb ... Bus 008 Device 013: ID 0781:55ae SanDisk Corp. Extreme 55AE it seems the disk and kernel module uas are not compatible. Deactivating it gives better results, but not ideal since uas is the more modern implementation and would give better speed enable with this command: echo "152d:0583:u" | sudo tee /sys/module...") |
No edit summary |
||
Line 13: | Line 13: | ||
enable with this command: | enable with this command: | ||
echo " | echo "052d:0583:u" | sudo tee /sys/module/usb_storage/parameters/quirks | ||
check with this command | check with this command | ||
Line 46: | Line 46: | ||
[3654124.463639] sdd: sdd1 | [3654124.463639] sdd: sdd1 | ||
[3654124.465461] sd 6:0:0:0: [sdd] Attached SCSI disk | [3654124.465461] sd 6:0:0:0: [sdd] Attached SCSI disk | ||
now dd gives ~200MBytes/s. Not good, but better. |
Revision as of 13:59, 29 July 2022
Sandisk is very slow. Should be 0.5-1GByte/s but is just ~30 MBytes/s
dd ... 1073741824 Bytes (1,1 GB, 1,0 GiB) kopiert, 36,5998 s, 29,3 MB/s lsusb ... Bus 008 Device 013: ID 0781:55ae SanDisk Corp. Extreme 55AE
it seems the disk and kernel module uas are not compatible. Deactivating it gives better results, but not ideal since uas is the more modern implementation and would give better speed
enable with this command:
echo "052d:0583:u" | sudo tee /sys/module/usb_storage/parameters/quirks
check with this command
sudo cat /sys/module/usb_storage/parameters/quirks 0781:55ae:u
Look for "UAS is blacklisted" in dmesg on plug in:
[3654122.315024] usb 8-2: new SuperSpeed Gen 1 USB device number 15 using xhci_hcd [3654122.341545] usb 8-2: New USB device found, idVendor=0781, idProduct=55ae, bcdDevice=30.01 [3654122.341547] usb 8-2: New USB device strings: Mfr=2, Product=3, SerialNumber=1 [3654122.341548] usb 8-2: Product: Extreme 55AE [3654122.341549] usb 8-2: Manufacturer: SanDisk [3654122.341550] usb 8-2: SerialNumber: 32323233484D443035363337 [3654122.343741] usb 8-2: UAS is blacklisted for this device, using usb-storage instead [3654122.343744] usb-storage 8-2:1.0: USB Mass Storage device detected [3654122.343896] usb-storage 8-2:1.0: Quirks match for vid 0781 pid 55ae: 800000 [3654122.343911] scsi host6: usb-storage 8-2:1.0 [3654124.436914] scsi 6:0:0:0: Direct-Access SanDisk Extreme 55AE 3001 PQ: 0 ANSI: 6 [3654124.437087] scsi 6:0:0:1: Enclosure SanDisk SES Device 3001 PQ: 0 ANSI: 6 [3654124.438695] sd 6:0:0:0: Attached scsi generic sg3 type 0 [3654124.438733] ses 6:0:0:1: Attached Enclosure device [3654124.438763] ses 6:0:0:1: Attached scsi generic sg4 type 13 [3654124.438874] sd 6:0:0:0: [sdd] 3906963617 512-byte logical blocks: (2.00 TB/1.82 TiB) [3654124.439419] sd 6:0:0:0: [sdd] Write Protect is off [3654124.439420] sd 6:0:0:0: [sdd] Mode Sense: 17 00 10 00 [3654124.440418] ses 6:0:0:1: Failed to get diagnostic page 0x1 [3654124.440419] ses 6:0:0:1: Failed to bind enclosure -19 [3654124.440914] sd 6:0:0:0: [sdd] No Caching mode page found [3654124.440916] sd 6:0:0:0: [sdd] Assuming drive cache: write through [3654124.463639] sdd: sdd1 [3654124.465461] sd 6:0:0:0: [sdd] Attached SCSI disk
now dd gives ~200MBytes/s. Not good, but better.