Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 08 Aug 2016 16:20:55 +0000
From:      bugzilla-noreply@freebsd.org
To:        freebsd-bugs@FreeBSD.org
Subject:   [Bug 211361] suggested boot partition size is too small, bsdinstall creates unaligned partitions
Message-ID:  <bug-211361-8-JNDKFl1MUl@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-211361-8@https.bugs.freebsd.org/bugzilla/>
References:  <bug-211361-8@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211361

--- Comment #10 from Dag-Erling Sm=C3=83=C2=B8rgrav <des@FreeBSD.org> ---
Nathan, what you're suggesting has a very high probability of breaking
scenarios we haven't envisioned and software we're not aware of.

This is a matter of *policy*.  I want to adopt a *policy* of creating
partitions with a specific alignment to avoid potential performance issues.=
=20
If, at some point down the road, we start seeing disks with, for instance,
8192-byte sectors, our 4096-byte alignment will no longer be optimal, but it
won't be any worse than the current 512-byte alignment.  The worst-case
scenario here is that we waste a small amount of disk space (up to 3584 byt=
es,
less than the total amount of text and code in this ticket, less than 5% of=
 the
size of the boot loader, and less than 0.0000005% of the capacity of a typi=
cal
desktop or laptop harddrive) with absolutely no impact on performance.

BTW, gpart and sade are two completely different things; gpart is just a
command-line interface to the low-level interface which bsdinstall and sade=
 use
to create partitions.

--=20
You are receiving this mail because:
You are the assignee for the bug.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-211361-8-JNDKFl1MUl>