5 ms·
> now it has to guarantee the bytes just beyond your write stay the same [...] "don't care" buffer between the write zone and the read zone to avoid this. If t
by Dylan16807 2y ago
> now it has to guarantee the bytes just beyond your write stay the same [...] "don't care" buffer between the write zone and the read zone to avoid this.
If the firmware is competent the drive will have TRIM support.
Also it could start overwriting a zone even when there's old live data in it, as long as it buffers a few megabytes to stay at least a track away from the old live data.
And even if it does have to read back the whole zone, it could keep that in RAM to keep the performance impact from being too bad. (Ideally with some kind of power loss protection.)
- scottlamb 2y ago> If the firmware is competent the drive will have TRIM support. Sure, if false then false is a true statement. It's not competent, though? iirc my ST8000DM004 did not support TRIM. I think it's typical of the genre of drives on the market. I have no faith these drives will not degenerate to the stupidest possible access pattern; their firmware is opaque and bad and their interface is limited.
- Dylan16807 2y agoI know some drives do it though. I found a comment saying "Sadly it’s 2024 and WD seem to be the only manufacturer actually implementing TRIM." And I'd expect it to be more common on the higher end drives where someone might intentionally choose SMR to get more space, as opposed to the <=8TB market where SMR is a cost saving they don't want anyone to notice.
- scottlamb 2y ago> And I'd expect it to be more common on the higher end drives where someone might intentionally choose SMR to get more space, as opposed to the <=8TB market where SMR is a cost saving they don't want anyone to notice. Yeah, "don't want anyone to notice" is probably a big factor, and in fairness the drive I mentioned was of the surprise SMR scandal era. (8TB was decently large then though I think.) I guess fundamentally the hidden complexity of the firmware managing the storage also applies to SSD, but I think they've got more wiggle room there due to the inherent better performance of the media, and for whatever reason the average firmware quality appears better IMHO, with some notable exceptions: https://news.ycombinator.com/item?id=32031243 https://news.ycombinator.com/item?id=32031243