I used Intel SSD data center tool to check my NVMe information, as shown below:
- Intel Optane(TM) SSD DC P4800X FUKS7175003R375AGN - ... Bootloader : EB3B0213 DevicePath : /dev/nvme0n1 DeviceStatus : Healthy Firmware : E2010211 IntelNVMe : True LBAFormat : 0 NativeMaxLBA : 732585167 NumErrorLogPageEntries : 63 NumLBAFormats : 6 PhySpeed : The selected drive does not support this feature. PhysicalSectorSize : The selected drive does not support this feature. PhysicalSize : 375083606016 PowerGovernorAveragePower : The desired feature is not supported. ... SMBusAddress : 256 SectorSize : 512 SerialNumber : FUKS7175003R375AGN TCGSupported : False ...
As you can see, SectorSize = 512. However, when I test with fio using
blocksize=4096 is a lot faster than
blocksize=512. I know that a page in SSD needs to be erased before writing again, but here 512 should be exactly the same as a page, so it should be fast, how come this happen?