Quote Originally Posted by Anvil View Post
Wrt writing, the files should always be aligned but there can be partial writes, one doesn't write 4KB just because the file is say 12bytes.
The 12byte file will still take a full cluster which normally is 4KB, in the end it is handled by the file system.
Good point. Do you know what NTFS does if a program requests a write of, say, 1KiB? We know the cluster it is stored in will be 4KiB, but does NTFS actually pad the 1KiB with zeros so it can write 8 LBAs? Or does it just write the two LBAs that are required, and ignore the other 6 LBAs in the cluster?

If NTFS does the latter, I think the Micron firmware would record that as a non-aligned 4K write, even though it was aligned, since it was less than 4KiB in length.

Can you estimate what fraction of your app's random writes would be 7 LBAs (3584 Bytes) or less?