This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionNext revisionBoth sides next revision | ||
mission:log:2011:01:24:4k-partition-alignment-primer [2013/06/05 14:34] – external edit 127.0.0.1 | mission:log:2011:01:24:4k-partition-alignment-primer [2013/06/30 12:49] – [Run benchmark] chrono | ||
---|---|---|---|
Line 43: | Line 43: | ||
The key to misalignment lies in the partition table which consumes either 512 byte (LBA 0) in case of a legacy msdos type mbr or LBA0-33 for the Primary GUID Partition Table (GPT). | The key to misalignment lies in the partition table which consumes either 512 byte (LBA 0) in case of a legacy msdos type mbr or LBA0-33 for the Primary GUID Partition Table (GPT). | ||
- | <note important> | + | <WRAP round important> |
In order to align the 4k logical block with the physical 4k on the platter the sectors following the partition table have to be left empty until a sector is reached that is divisible by 8 (sector 8 for msdos and sector 40 for GPT). | In order to align the 4k logical block with the physical 4k on the platter the sectors following the partition table have to be left empty until a sector is reached that is divisible by 8 (sector 8 for msdos and sector 40 for GPT). | ||
Line 149: | Line 149: | ||
==== Run benchmark ==== | ==== Run benchmark ==== | ||
- | <note warning> | + | <WRAP round alert> |
The following tests **will erase the complete disk**. | The following tests **will erase the complete disk**. | ||
Only continue when you feel confident that you know what you are doing. Take special care to check that your hdd really is /dev/sda or change the -d option according to your own setup! | Only continue when you feel confident that you know what you are doing. Take special care to check that your hdd really is /dev/sda or change the -d option according to your own setup! | ||
- | </note> | + | </WRAP> |
<code bash> | <code bash> |