Ben Stienstra

Linux, Unix, network, radio and more...

User Tools

Site Tools


block_alignment

From: https://communities.intel.com/community/itpeernetwork/blog/2013/12/11/ssd-misconceptions-on-linux--alignment-io-scheduler-trim

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: 2014/05/22 10:20 by admin