当我执行命令fsutil fsinfo sectorInfo c:
时,我会收到以下输出:
LogicalBytesPerSector : 512
PhysicalBytesPerSectorForAtomicity : 4096
PhysicalBytesPerSectorForPerformance : 4096
FileSystemEffectivePhysicalBytesPerSectorForAtomicity : 4096 Device
Alignment : Aligned (0x000)
Partition alignment on device : Aligned
(0x000) No Seek Penalty Trim Supported Not DAX capable Not
Thinly-Provisioned
我担心LogicalBytesPerSector
和之间的区别PhysicalBytesPerSectorForAtomicity
。
由于LogicalBytesPerSector
小于PhysicalBytesPerSectorForAtomicity
,我写的每个 512 字节块实际上会被原子写入吗?另一方面,我写的每一个 4096 字节的块实际上会被原子地写入吗?
另外,512字节的读/写会不会很慢,好像我理解得很好,系统需要读取4096个物理字节才能写入我的512字节?