bug#22180: Partition alignment using parted

Phillip Susi <[email protected]>
Newsgroups gmane.comp.gnu.parted.bugs
Message-ID <[email protected]>
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA512

On 12/24/2015 05:51 AM, Ankur Tank wrote:
> Thank you for replying Phillip, 1. How do we measure performance 
> improvement before and after partition alignment ?

hdparm -t or dd between the drive and /dev/null or /dev/zero and the
drive ( for a destructive write test ).


> 2. By above question, I meant, are there any tools/utilities 
> available which would suggest partition alignment parameters(e.g.
> how many blocks current partition can be moved to get alignment) ?

Not that I am aware of but it is simply a matter of dividing the
current start position by the desired alignment and seeing if you get
a remainder or fractional result.

parted's align-check command does this, but simply answers with a
yes/no as to whether it is aligned instead of how far off it is.

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1

iQEcBAEBCgAGBQJWfe+vAAoJEBB5UWFcu6UWcnwH/0Ft7FnlqG3z8WgPyxw/hjtP
B6mf9fyPod/XlExE5YioAMIY/mj7u4AwYBHqvRsr7GqhIxc3PNdT31i1gfwi/khp
sC+nJj39ShBp3C313MyRm9wbUQgMs88qXQAJWjQwRNs/suWyaSodOAzCsJ96aD0D
xiT/9T8s4l3eXSGMeutFCtTRkFh8csOrQTO39Pq6es1uVoZd1fR3VC+HMwfyqt72
CDWhm2EAiAuNBYZ8g0LpD2WLqrh0ZHqui2svLnEZATpc1GsreZyc8jUNDZ9EXFs6
rfQXVXTQqXAHOkQCfF9tD9mLsKUOBN0yDkbl9Zb95gqPRjbqnqEeWq+iWsdSynI=
=GLJ8
-----END PGP SIGNATURE-----
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.