Ben's notes

Linux, Unix, network, radio...

User Tools

Site Tools



This is an area where you can still find a LOT of incorrect information out on the internet. Many people still believe that aligning to the erase block is a must for SSDs. However, this is not necessary. Simply aligning to a 4096KB block (or a multiple thereof) will give you the best performance. Many of the common partitioning tools will do this automatically. However, it is easy to check with /usr/bin/blockdev:

blockdev --getalignoff /dev/<partition>

If the returned value is “0”, the partition is aligned.

block_alignment.txt · Last modified: 2021/10/09 15:14 by