I made brief tests with two old SSD:s in different USB-boxes that I have. The first one is a 500 GB Crucial BX500 SSD in a LC-Power LC-25U3-C2 USB 3 enclosure with the chipset ASM235CM and UAS support.
https://www.lc-power.com/en/product/hdd ... c-25u3-c2/. This device works without any quirk.
rpi-eeprom-update
BCM2711 detected
BOOTLOADER: up-to-date
CURRENT: Thu 16 Apr 2020 05:11:26 PM UTC (1587057086)
LATEST: Thu 16 Apr 2020 05:11:26 PM UTC (1587057086)
FW DIR: /lib/firmware/raspberrypi/bootloader/beta
VL805: up-to-date
CURRENT: 000138a1
LATEST: 000137ad
Code: Select all
[ 142.082565] usb 2-2: new SuperSpeed Gen 1 USB device number 2 using xhci_hcd
[ 146.000572] usb 2-2: New USB device found, idVendor=174c, idProduct=55aa, bcdDevice= 1.00
[ 146.000589] usb 2-2: New USB device strings: Mfr=2, Product=3, SerialNumber=1
[ 146.000602] usb 2-2: Product: ASM235
[ 146.000615] usb 2-2: Manufacturer: ASMT
[ 146.000627] usb 2-2: SerialNumber: XXXXXXXXXXXXXXX
[ 146.032643] scsi host0: uas
[ 146.037490] scsi 0:0:0:0: Direct-Access CT500BX1 00SSD1 0 PQ: 0 ANSI: 6
[ 146.040107] sd 0:0:0:0: [sda] 976773168 512-byte logical blocks: (500 GB/466 GiB)
[ 146.040293] sd 0:0:0:0: [sda] Write Protect is off
[ 146.040309] sd 0:0:0:0: [sda] Mode Sense: 43 00 00 00
[ 146.040615] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 146.041339] sd 0:0:0:0: [sda] Optimal transfer size 33553920 bytes
[ 146.043581] sda: sda1 sda2
[ 146.046401] sd 0:0:0:0: [sda] Attached SCSI disk
[ 146.139414] sd 0:0:0:0: Attached scsi generic sg0 type 0
Code: Select all
hdparm -I /dev/sda
/dev/sda:
ATA device, with non-removable media
Model Number: CT500BX100SSD1
Serial Number: XXXXXXXXXXXXXXXX
Firmware Revision: MU02
Transport: Serial, ATA8-AST, SATA 1.0a, SATA II Extensions, SATA Rev 2.5, SATA Rev 2.6, SATA Rev 3.0
Standards:
Supported: 9 8 7 6 5
Likely used: 9
Configuration:
Logical max current
cylinders 16383 16383
heads 16 16
sectors/track 63 63
--
CHS current addressable sectors: 16514064
LBA user addressable sectors: 268435455
LBA48 user addressable sectors: 976773168
Logical Sector size: 512 bytes
Physical Sector size: 512 bytes
Logical Sector-0 offset: 0 bytes
device size with M = 1024*1024: 476940 MBytes
device size with M = 1000*1000: 500107 MBytes (500 GB)
cache/buffer size = unknown
Nominal Media Rotation Rate: Solid State Device
Capabilities:
LBA, IORDY(can be disabled)
Queue depth: 32
Standby timer values: spec'd by Standard, no device specific minimum
R/W multiple sector transfer: Max = 2 Current = 1
DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 udma5 *udma6
Cycle time: min=120ns recommended=120ns
PIO: pio0 pio1 pio2 pio3 pio4
Cycle time: no flow control=120ns IORDY flow control=120ns
Commands/features:
Enabled Supported:
* SMART feature set
Security Mode feature set
* Power Management feature set
* Write cache
* Look-ahead
* Host Protected Area feature set
* WRITE_BUFFER command
* READ_BUFFER command
* NOP cmd
* DOWNLOAD_MICROCODE
SET_MAX security extension
* 48-bit Address feature set
* Device Configuration Overlay feature set
* Mandatory FLUSH_CACHE
* FLUSH_CACHE_EXT
* SMART error logging
* SMART self-test
* General Purpose Logging feature set
* WRITE_{DMA|MULTIPLE}_FUA_EXT
* 64-bit World wide name
* WRITE_UNCORRECTABLE_EXT command
* {READ,WRITE}_DMA_EXT_GPL commands
* Segmented DOWNLOAD_MICROCODE
* Gen1 signaling speed (1.5Gb/s)
* Gen2 signaling speed (3.0Gb/s)
* Gen3 signaling speed (6.0Gb/s)
* Native Command Queueing (NCQ)
* Host-initiated interface power management
* Phy event counters
* READ_LOG_DMA_EXT equivalent to READ_LOG_EXT
DMA Setup Auto-Activate optimization
Device-initiated interface power management
* Software settings preservation
Device Sleep (DEVSLP)
* SMART Command Transport (SCT) feature set
* SCT Write Same (AC2)
* SCT Features Control (AC4)
* SCT Data Tables (AC5)
* SANITIZE feature set
* BLOCK_ERASE_EXT command
* DOWNLOAD MICROCODE DMA command
* WRITE BUFFER DMA command
* READ BUFFER DMA command
* Data Set Management TRIM supported (limit 8 blocks)
* Deterministic read ZEROs after TRIM
Security:
Master password revision code = 65534
supported
not enabled
not locked
not frozen
not expired: security count
supported: enhanced erase
4min for SECURITY ERASE UNIT. 4min for ENHANCED SECURITY ERASE UNIT.
Logical Unit WWN Device Identifier: XXXXXXXXXXXXX
NAA : 5
IEEE OUI : XXXXXXX
Unique ID : XXXXXXXX
Device Sleep:
DEVSLP Exit Timeout (DETO): 20 ms (default)
Minimum DEVSLP Assertion Time (MDAT): 10 ms (default)
Checksum: correct
hdparm -Tt /dev/sda2
/dev/sda2:
Timing cached reads: 1676 MB in 2.00 seconds = 838.57 MB/sec
Timing buffered disk reads: 1096 MB in 3.00 seconds = 364.77 MB/sec
source /usr/share/agnostics/sdtest.sh
Run 1
prepare-file;0;0;303407;592
seq-write;0;0;23464;45
rand-4k-write;0;0;69719;17429
rand-4k-read;61884;15471;0;0
Sequential write speed 23464 KB/sec (target 10000) - PASS
Random write speed 17429 IOPS (target 500) - PASS
Random read speed 15471 IOPS (target 1500) - PASS
root@raspberrypi:~# source /usr/share/agnostics/sdtest.sh
Run 1
prepare-file;0;0;316599;618
seq-write;0;0;288704;563
rand-4k-write;0;0;50373;12593
rand-4k-read;61191;15297;0;0
Sequential write speed 288704 KB/sec (target 10000) - PASS
Random write speed 12593 IOPS (target 500) - PASS
Random read speed 15297 IOPS (target 1500) - PASS
root@raspberrypi:~# source /usr/share/agnostics/sdtest.sh
Run 1
prepare-file;0;0;316599;618
seq-write;0;0;310597;606
rand-4k-write;0;0;69497;17374
rand-4k-read;54795;13698;0;0
Sequential write speed 310597 KB/sec (target 10000) - PASS
Random write speed 17374 IOPS (target 500) - PASS
Random read speed 13698 IOPS (target 1500) - PASS
The first agnostics run showed only a sequential write speed of 23464 KB/sec, but the two following runs were OK, so that is a bit strange. Otherwise the performance is similar to the one with the earlier firmware version 000137ad.
The second drive is a 60 GB OCZ Vertex3 in a RaidSonic Icy Box IB-254U3 enclosure.
https://www.raidsonic.de/products/exter ... jectID=476. This one has a JMicron JMS579 chipset and requires a quirk to be used, otherwise the performance is really bad. In principle this device supports UAS, but it is blacklisted and not used:
Code: Select all
[ 46.519154] usb 2-2: new SuperSpeed Gen 1 USB device number 2 using xhci_hcd
[ 46.550418] usb 2-2: New USB device found, idVendor=152d, idProduct=1576, bcdDevice= 2.04
[ 46.550433] usb 2-2: New USB device strings: Mfr=1, Product=2, SerialNumber=3
[ 46.550446] usb 2-2: Product: JMS579
[ 46.550458] usb 2-2: Manufacturer: JMicron
[ 46.550470] usb 2-2: SerialNumber: 987654321029
[ 46.554017] usb 2-2: UAS is blacklisted for this device, using usb-storage instead
[ 46.554150] usb 2-2: UAS is blacklisted for this device, using usb-storage instead
[ 46.554173] usb-storage 2-2:1.0: USB Mass Storage device detected
[ 46.559205] usb-storage 2-2:1.0: Quirks match for vid 152d pid 1576: 800000
[ 46.559378] scsi host0: usb-storage 2-2:1.0
[ 47.609605] scsi 0:0:0:0: Direct-Access OCZ-VERT EX3 0204 PQ: 0 ANSI: 6
[ 47.617938] sd 0:0:0:0: [sda] 117231408 512-byte logical blocks: (60.0 GB/55.9 GiB)
[ 47.619064] sd 0:0:0:0: [sda] Write Protect is off
[ 47.619082] sd 0:0:0:0: [sda] Mode Sense: 47 00 00 08
[ 47.627999] sd 0:0:0:0: [sda] Write cache: enabled, read cache: enabled, doesn't support DPO or FUA
[ 47.632967] sda: sda1 sda2 sda3 sda4
[ 47.633369] sd 0:0:0:0: Attached scsi generic sg0 type 0
[ 47.636637] sd 0:0:0:0: [sda] Attached SCSI disk
Code: Select all
hdparm -I /dev/sda
/dev/sda:
ATA device, with non-removable media
Model Number: OCZ-VERTEX3
Serial Number: XXXXXXXXXXXXXXXXXXX
Firmware Revision: 2.25
Transport: Serial, ATA8-AST, SATA 1.0a, SATA II Extensions, SATA Rev 2.5, SATA Rev 2.6, SATA Rev 3.0
Standards:
Used: unknown (minor revision code 0x0110)
Supported: 8 7 6 5
Likely used: 8
Configuration:
Logical max current
cylinders 16383 16383
heads 16 16
sectors/track 63 63
--
CHS current addressable sectors: 16514064
LBA user addressable sectors: 117231408
LBA48 user addressable sectors: 117231408
Logical Sector size: 512 bytes
Physical Sector size: 512 bytes
Logical Sector-0 offset: 0 bytes
device size with M = 1024*1024: 57241 MBytes
device size with M = 1000*1000: 60022 MBytes (60 GB)
cache/buffer size = unknown
Nominal Media Rotation Rate: Solid State Device
Capabilities:
LBA, IORDY(can be disabled)
Queue depth: 32
Standby timer values: spec'd by Standard, no device specific minimum
R/W multiple sector transfer: Max = 16 Current = 16
Advanced power management level: 254
DMA: mdma0 mdma1 mdma2 udma0 udma1 udma2 udma3 udma4 udma5 *udma6
Cycle time: min=120ns recommended=120ns
PIO: pio0 pio1 pio2 pio3 pio4
Cycle time: no flow control=120ns IORDY flow control=120ns
Commands/features:
Enabled Supported:
* SMART feature set
Security Mode feature set
* Power Management feature set
* Write cache
Look-ahead
* Host Protected Area feature set
* WRITE_BUFFER command
* READ_BUFFER command
* NOP cmd
* DOWNLOAD_MICROCODE
* Advanced Power Management feature set
Power-Up In Standby feature set
* SET_FEATURES required to spinup after power up
* 48-bit Address feature set
* Mandatory FLUSH_CACHE
* FLUSH_CACHE_EXT
* SMART error logging
* SMART self-test
* General Purpose Logging feature set
* WRITE_{DMA|MULTIPLE}_FUA_EXT
* 64-bit World wide name
* IDLE_IMMEDIATE with UNLOAD
Write-Read-Verify feature set
* {READ,WRITE}_DMA_EXT_GPL commands
* Segmented DOWNLOAD_MICROCODE
* Gen1 signaling speed (1.5Gb/s)
* Gen2 signaling speed (3.0Gb/s)
* Gen3 signaling speed (6.0Gb/s)
* Native Command Queueing (NCQ)
* Host-initiated interface power management
* Phy event counters
* Device automatic Partial to Slumber transitions
* READ_LOG_DMA_EXT equivalent to READ_LOG_EXT
DMA Setup Auto-Activate optimization
Device-initiated interface power management
Software settings preservation
* SMART Command Transport (SCT) feature set
* SCT Data Tables (AC5)
* SET MAX SETPASSWORD/UNLOCK DMA commands
* Data Set Management TRIM supported (limit 1 block)
* Deterministic read data after TRIM
Security:
Master password revision code = 65534
supported
not enabled
not locked
not frozen
not expired: security count
not supported: enhanced erase
2min for SECURITY ERASE UNIT.
Logical Unit WWN Device Identifier: XXXXXXXXXX
NAA : 5
IEEE OUI : XXXXXX
Unique ID : XXXXXX
Checksum: correc
root@raspberrypi:~# hdparm -Tt /dev/sda4
/dev/sda4:
Timing cached reads: 1670 MB in 2.00 seconds = 834.97 MB/sec
Timing buffered disk reads: 806 MB in 3.00 seconds = 268.59 MB/sec
source /usr/share/agnostics/sdtest.sh
Run 1
prepare-file;0;0;140937;275
seq-write;0;0;135685;265
rand-4k-write;0;0;23124;5781
rand-4k-read;20183;5045;0;0
Sequential write speed 135685 KB/sec (target 10000) - PASS
Random write speed 5781 IOPS (target 500) - PASS
Random read speed 5045 IOPS (target 1500) - PASS
The performance is similar also for this SSD and USB-box compared to the previous firmware version. I have not done any extensive stress testing of either of the SSDs.