慢速邁拓/希捷外置硬碟
最近我買了一個帶有 USB 3.0 的新邁拓 M3 攜帶式外置硬碟。在文件傳輸期間,它的寫入速度非常慢,從 75 MB/s 開始,然後迅速衰減到 <1 MB/s。
我嘗試了什麼:
- 使用另一根 USB 電纜
- 更新我的華碩 F555LB 筆記本的 BIOS
- 使用 gparted 和 windows 分區管理器重新格式化為 NTFS
基準:
- 使用 Opensuse 15 (
gnome-disks
):
Average read rate: 33.9 MB/s Average write rate: 7.8 MB/s Average access time: 126.79 ms
- 使用 Windows 10 (
winsat disk -drive f
):
Disk Random 16.0 Read: 0.71 MB/s Disk Sequential 64.0 Read: 84.89 MB/s Disk Sequential 64.0 Write: 100.98 MB/s Average sequential reading time: 16.426 ms Latency: 95. Perzentil: 175.989 ms Latency: Maximum: 337.168 ms Average random reading time: 32.446 ms
- 與我的舊三星外置硬碟 (USB 2.0) 在同一個 USB 埠 (
gnome-disks
)
Average read rate: 43.6 MB/s Average write rate: 45.3 MB/s Average access time: 17.37 ms
其他輸出:
lsusb
Bus 002 Device 004: ID 0bc2:61b5 Seagate RSS LLC Bus 002 Device 001: ID 1d6b:0003 Linux Foundation 3.0 root hub Bus 001 Device 004: ID 0bda:0129 Realtek Semiconductor Corp. RTS5129 Card Reader Controller Bus 001 Device 003: ID 0bda:57b5 Realtek Semiconductor Corp. Bus 001 Device 002: ID 046a:000c Cherry GmbH Bus 001 Device 001: ID 1d6b:0002 Linux Foundation 2.0 root hub
dmesg
連接硬碟並在幾秒鐘後斷開連接後:
[ 5020.734131] usb 2-2: new SuperSpeed USB device number 6 using xhci_hcd [ 5020.755083] usb 2-2: New USB device found, idVendor=0bc2, idProduct=61b5 [ 5020.755085] usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3 [ 5020.755086] usb 2-2: Product: M3 Portable [ 5020.755087] usb 2-2: Manufacturer: Seagate [ 5020.755088] usb 2-2: SerialNumber: NM14NP6K [ 5020.757023] scsi host4: uas [ 5020.757443] scsi 4:0:0:0: Direct-Access Seagate M3 Portable 0708 PQ: 0 ANSI: 6 [ 5020.758104] sd 4:0:0:0: Attached scsi generic sg2 type 0 [ 5025.320334] sd 4:0:0:0: [sdb] 3907029167 512-byte logical blocks: (2.00 TB/1.82 TiB) [ 5025.320336] sd 4:0:0:0: [sdb] 4096-byte physical blocks [ 5025.320477] sd 4:0:0:0: [sdb] Write Protect is off [ 5025.320478] sd 4:0:0:0: [sdb] Mode Sense: 53 00 00 08 [ 5025.320751] sd 4:0:0:0: [sdb] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA [ 5025.353086] sdb: sdb1 [ 5025.354544] sd 4:0:0:0: [sdb] Attached SCSI disk [ 5048.241828] xhci_hcd 0000:00:14.0: Cannot set link state. [ 5048.241832] usb usb2-port2: cannot disable (err = -32) [ 5048.241835] usb 2-2: USB disconnect, device number 6 [ 5048.257992] sd 4:0:0:0: [sdb] Synchronizing SCSI cache [ 5048.509816] sd 4:0:0:0: [sdb] Synchronize Cache(10) failed: Result: hostbyte=DID_ERROR driverbyte=DRIVER_OK
fdisk -l
Festplatte /dev/sdb: 1,8 TiB, 2000398933504 Bytes, 3907029167 Sektoren Einheiten: Sektoren von 1 * 512 = 512 Bytes Sektorgröße (logisch/physikalisch): 512 Bytes / 4096 Bytes E/A-Größe (minimal/optimal): 4096 Bytes / 33553920 Bytes Festplattenbezeichnungstyp: dos Festplattenbezeichner: 0x32411175
設備引導開始結束扇區大小 Kn 類型 /dev/sdb1 2048 3907028991 3907026944 1.8T 7 HPFS/NTFS/exFAT
我猜速度慢可能是由 SCSI 記憶體錯誤引起的,但我沒有找到任何繼續的方法。有沒有辦法解決它?
更新
禁用 UAS 後,
dmesg
顯示
[ 152.262070] usb 2-2: UAS is blacklisted for this device, using usb-storage instead [ 152.262072] usb-storage 2-2:1.0: USB Mass Storage device detected [ 152.262143] usb-storage 2-2:1.0: Quirks match for vid 0bc2 pid 61b5: 800000 [ 152.262165] scsi host4: usb-storage 2-2:1.0
而不是
scsi host4: uas
. 不幸的是,基準更糟糕:
Average read rate: 10.0 MB/s Average write rate: 1.0 MB/s Average access time: 133.61 ms
原來是硬體缺陷。我得到了一個新驅動器,一切都按預期工作。