bug-parted
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

bug#22180: Partition alignment using parted


From: Phillip Susi
Subject: bug#22180: Partition alignment using parted
Date: Fri, 25 Dec 2015 20:38:59 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0

-----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-----





reply via email to

[Prev in Thread] Current Thread [Next in Thread]