- A1 app performance class,
- U3 UHS performance class (30MB/s),
- V30 video performance class.
- Lexar specs for 128GB model is 100MB/s read and 30MB/s writes.
- 32 and 64GB models don't list write speeds above the already rated by V30/U3 class.
Test Results
Disk size: 114GiB / 126GB
Page size: ???
Block size: 16MiB
Open AUs (seq/random): ???
Read latency: (f3probe)
Seq. read: 92.30 MB/s
Random read 4KiB: 9.01 MB/s
Random read 16KiB: 31.57 MB/s
Random read 128KiB: 70.18 MB/s
Seq. write, cache: N/A
Seq. write, urandom: 52.25 MB/s
Seq. write, zeros: 83.30 MB/s
Seq. write, exFAT: 73.13 MB/s (zeros written to FS)
Random write 4KiB: 6.14 MB/s
Random write 16KiB: 25.44 MB/s
Random write 128KiB: 43.37 MB/s
This drive isn't really the fastest for Raspbian or SBC use, as the 4k writes are not bad per se but the card is only rated A1, which has been mostly useful for video or picture storage.
One can already see a large jump when moving from 4 to 16KiB random writes, so EXT4 is not a good idea for this one. With the 16MiB erase block, F2FS can also use stock partitioning on this card and set segment size to '8' (16MiB size for garbage collection). BTRFS is recommended for stability, if that is required.
The card is quite fast and the reads are saturating my USB3 reader and compressible data still hits close to the rated 100MB/s.
As SBC OS Drive
My experience with using these is they are passable to OS installs, though browser profiles can cause some amount of stalls. Firefox has some tweaks and seems to issue less random writes. Definitely better and more reliable than most USB drives.
Using these as storage for Steam or for system backups has not given me many issues when paired with BTRFS. In fact, I was using this with desktop Linux and the biggest issue was really the Chrome profile, the rest was mostly doing well.
If you are feeling adventurous, NILFS2 works quite well for "/home" partition with these and SanDisk Ultra Extreme. It solves the browser profile issues, as the writes are fully log structured, unlike F2FS which has too many parallel streams open. I have seen it get corrupted with no apparent media error but also work fine.
For a simple NAS and router, these are passable but there are some delays when using BTRFS and hammering this with data. Browser profiles are definitely a problem but not as bad as SanDisk drives that stall completely doing garbage collection.
Conclusion
Testing Methodology
Observations
exfatprogs version : 1.2.2-------------- Dump Boot sector region --------------Volume Length(sectors): 246915072FAT Offset(sector offset): 16384FAT Length(sectors): 16384Cluster Heap Offset (sector offset): 32768Cluster Count: 964384Root Cluster (cluster offset): 4Volume Serial: 0x4a210000Sector Size Bits: 9Sector per Cluster bits: 8----------------- Dump Root entries -----------------Volume entry type: 0x3Volume label:Volume label character count: 0Bitmap entry type: 0x81Bitmap start cluster: 2Bitmap size: 120548Upcase table entry type: 0x82Upcase table start cluster: 3Upcase table size: 4104---------------- Show the statistics ----------------Cluster size: 131072Total Clusters: 964384Free Clusters: 844187
Sometimes manufacturers don't really format the cards to match the underlying flash structure, so one should take this information with a grain of salt.
Interestingly, the data cluster starts at 16MiB on the partition, which leaves a 16MiB block for only the partition table and also another full one for the FAT. This seems a pretty good indication of 16MiB erase blocks, as otherwise these would be set to 4MiB as per usual SD specs.
Cluster size is set to 128KiB, which we have already posted is a size that enables pretty high throughput on all operations (and satisfies the manufacturers 45MB/s speed spec).
$ factor 126437294080126437294080: 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 2 5 6029126437294080 / 6029 = 20 MiB / 5 = 4 MiB

No comments:
Post a Comment