Not sure if this is the correct place to post this. The question is about software but mostly hardware so I figured the hardware section makes sense. I chose external hardware because my SSD is external, but it really doesn't matter because I'm not planning on attempting this, just interested. I actually wrote this question months ago, but never got around to posting it.
Would setting the filesytem cluster size to match the SSD's block size reduce write amplification caused by erasal of shared-blocks?
I can't seem to find any information about this, but it makes sense in my head; maybe I'm over-looking something? If I knew the exact sum capacity of all the pages in a block on my ssd, aligned the partition, and applied a filesystem with a cluster size equating to the size of an entire block (is that possible? I assume each filesystem has it's own cluster-size limitations?), would write amplification caused by erasal of used blocks be reduced? Doing this should result in all files being stored in their own cluster, or split across their own cluster-series, so when writing new data to previously used pages all data in the entire block would be safe to discard. The trade-off would be the reduced inode quantity, but depending what the ssd is used for that may be acceptable.
I suppose in the case of small files a reduced inode quantity wouldn't be the only side effect, because in the case of writing files where multiple could normally have fit into a single block, they will now be spread across more blocks, which is a different form of amplification. Not sure there are terms for such but I would put forth spread-amplification, because the data would be spread over a larger area, block-amplification, because a larger number of blocks would be used, and potential-erasal-amplification, because there are more blocks involved that could later have erasals performed on them. Regardless, there should still be reduced write-amplification in the context I mentioned, which is what my question is about.
Are there any free software tools one could use to detect the required information about their SSD, or would the manufacterer have to supply it with the drive?