Currently Viewing Posts Tagged fdisk

Make sure 4K Alignment on SSD

When using a SSD to hold the system with the fresh installation, 4K alignment is a key point to improve the performance.
Ensure that your new partition layout is aligned with the 4KB sectors of such drives (older hard drives used 512B alignment). If your partition is not “4K aligned”, then you will have performance issues as the logical and physical sector boundaries will not line up, causing two physical write/erase cycles to happen for each logical one.
Based on IBM article, Linux has same issue when you use SSD.
When use Ubuntu Live CD to do the partition, it will make 4K alignment automatically. See the screen below.

2048 (default since fdisk 2.17.2) means that my SDD is aligned correctly. Any other value divisible by 8 is good as well.

Continue reading “Make sure 4K Alignment on SSD”

  • Archives