[Top][All Lists]

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

bug#22180: Partition alignment using parted (Phillip Susi)

From: Roderick W. Smith
Subject: bug#22180: Partition alignment using parted (Phillip Susi)
Date: Sat, 26 Dec 2015 16:44:05 -0500
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.4.0

On 12/26/2015 12:00 PM, address@hidden wrote:
> 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 ).

I don't think you'd get much out of that. The alignment issues are
intimately tied to filesystem design features (and kernel
implementations of same). Thus, I'd suggest copying files between the
partitions you want to test and some other device. Several years ago, I
ran some tests, and eventually updated them on newer disks. The end
result of my tests is written up here:


One takeaway from this is that the results vary significantly from one
computer and disk to another, as well as from one filesystem to another.
In most cases, improper-alignment penalties are greatest when writing
small files. When reading files or when writing large files, penalties
are much less severe.

Rod Smith

reply via email to

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