Ben Stienstra

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

User Tools

Site Tools


block_alignment

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

block_alignment [2014/05/22 10:20]
admin created
block_alignment [2014/05/22 10:20] (current)
admin
Line 3: Line 3:
 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: 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>+  blockdev --getalignoff /dev/<partition>
  
 If the returned value is "0", the partition is aligned. If the returned value is "0", the partition is aligned.
block_alignment.txt ยท Last modified: 2014/05/22 10:20 by admin