As you know, 512B sectors is still used in file systems of most current Linux distributions while the hardware, i.e. physical disks are typically made with 4K sectors. The misalignment of logical file system sectors and physical sectors leads to redundant read/write operations, and thus reduces IO performance, especially with a large portion of IO operations smaller than 4K bytes.
Making it worse, I have a lot valuable user data on the 512B-sector partition. Creating a new 4K partition and moving data in can work, however, we prefer aligning the partition IN PLACE for efficiency.
To do this in Windows, we have PAT (Paragon Alignment Tool). I am looking for its Linux counterpart.
So, my question is:
- Is there a tool like PAT for Linux?
- If there isn't, can I have a tip?