[Bug 211361] suggested boot partition size is too small, bsdinstall creates unaligned partitions

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Aug 8 16:20:56 UTC 2016


https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=211361

--- Comment #10 from Dag-Erling Smørgrav <des at 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. 
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 bytes,
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 typical
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.

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


More information about the freebsd-bugs mailing list