by ece · 5y ago · 0 comments
The size of the dynamic SLC, when available, is roughly 1/3 of the erased space, with an upper bound.
If you don't need the capacity, set aside 30% of the drive in a partition you won't use, then use blkdiscard to erase it. Not only will this increase write performance, it may increase endurance. Increasing endurance with these drives is of interest because they are rated at 0.3 DWPD, compared to 1 DWPD with previous generation drives.
Taking over-provisioning to an extreme, I found that erasing a 980 Pro, then creating a 100 GB partition allowed me to overwrite that partition many times over at a sustained 5000 MB/s. This could be interesting for journaling, so long as you are ok with lack of power loss protection (unlikely for a journal) or cache flushes could be performed to ensure the data is on NAND, not just in DRAM.
But really, if you need to sustain writes at such a high rate, both of these are the wrong drive for endurance reasons. With optane stuck at PCIe gen 3, it may be great for low latency small blocks, but it won't exceed 3500 MB/s in a x4 NVMe form factor.
I assume this is the recommended method for over-provisioning nowadays?
I've no idea where -- as it's been several years ago now -- but I can recall recommendations to use the HPA for this. I have no way to know, for certain, whether it actually helps but that's what I used to do (setting ~25% of the drive aside in the HPA). Anecdotally, I've yet to have such an SSD die on me, although I'm not exactly torturing them either.
Enterprise drives tend to allow namespace management. With such a drive you can delete the namespace that comes from the factory and create a smaller namespace or several smaller namespaces that have an aggregate capacity that leaves the desired over-provision space unallocated.
[1] https://www.samsung.com/semiconductor/global.semi.static/S19...
If you're still after endurance, low latency and a lot of random writes for journaling or a Bazel compiler cache, it seems like the P4801X is your best bet now, if you've got a 110mm NVMe slot.
TL;DR: SSDs are harder to kill than they might seem.