Hi,
I've got Samsung 970 Evo (MZ-V7E500BW) and Crucial BX500 (CT120BX500SSD1) SSDs and I'm not sure what value to set for ashift setting up zfs.
Samsungs datasheet doesn't mentions anything about sector size. Crucial states "Industry-standard, 512-byte sector size support" but not if it is the physical sector size. I used Win10 to run "fsutil fsinfo sectorInfo D:" for both drives and it tells me that the physical and logical sector sizes of both SSDs are 512B and NTFS clustersize is 4K.
1.) I've read it isn't good to choose 512B because if I need to replace a drive it might be hard to find drives with 512B physical sector size because 4k or 8k might be the standard then.
2.) Is it possible that the SSDs in reality just use 512B emulation and really work with 4k or 8k internally and Windows just reports them as 512B physical sector size?
I want the SSDs to wear out as slowly as possible. As far as I understand the SSDs will wear out much faster if I use 4K if it is working internally with 512B because it is writing more flash cells then needed if a write operation is less then 4k. But if it is internally working with 4K or 8K it and I will use 512B it will wear out faster too and will be slower, because it has to read, delete and write again the full 4K or 8K if it just wants to change 512B of the flash cell.
What ashift should I use for the two SSDs?
I've got Samsung 970 Evo (MZ-V7E500BW) and Crucial BX500 (CT120BX500SSD1) SSDs and I'm not sure what value to set for ashift setting up zfs.
Samsungs datasheet doesn't mentions anything about sector size. Crucial states "Industry-standard, 512-byte sector size support" but not if it is the physical sector size. I used Win10 to run "fsutil fsinfo sectorInfo D:" for both drives and it tells me that the physical and logical sector sizes of both SSDs are 512B and NTFS clustersize is 4K.
1.) I've read it isn't good to choose 512B because if I need to replace a drive it might be hard to find drives with 512B physical sector size because 4k or 8k might be the standard then.
2.) Is it possible that the SSDs in reality just use 512B emulation and really work with 4k or 8k internally and Windows just reports them as 512B physical sector size?
I want the SSDs to wear out as slowly as possible. As far as I understand the SSDs will wear out much faster if I use 4K if it is working internally with 512B because it is writing more flash cells then needed if a write operation is less then 4k. But if it is internally working with 4K or 8K it and I will use 512B it will wear out faster too and will be slower, because it has to read, delete and write again the full 4K or 8K if it just wants to change 512B of the flash cell.
What ashift should I use for the two SSDs?