From owner-freebsd-bugs@freebsd.org Mon Aug 8 16:20:55 2016 Return-Path: Delivered-To: freebsd-bugs@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id DF882BB131F for ; Mon, 8 Aug 2016 16:20:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from kenobi.freebsd.org (kenobi.freebsd.org [IPv6:2001:1900:2254:206a::16:76]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id CED281F66 for ; Mon, 8 Aug 2016 16:20:55 +0000 (UTC) (envelope-from bugzilla-noreply@freebsd.org) Received: from bugs.freebsd.org ([127.0.1.118]) by kenobi.freebsd.org (8.15.2/8.15.2) with ESMTP id u78GKtLk043168 for ; Mon, 8 Aug 2016 16:20:55 GMT (envelope-from bugzilla-noreply@freebsd.org) From: bugzilla-noreply@freebsd.org To: freebsd-bugs@FreeBSD.org Subject: [Bug 211361] suggested boot partition size is too small, bsdinstall creates unaligned partitions Date: Mon, 08 Aug 2016 16:20:55 +0000 X-Bugzilla-Reason: AssignedTo X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: Base System X-Bugzilla-Component: misc X-Bugzilla-Version: 11.0-STABLE X-Bugzilla-Keywords: patch, performance X-Bugzilla-Severity: Affects Many People X-Bugzilla-Who: des@FreeBSD.org X-Bugzilla-Status: Open X-Bugzilla-Resolution: X-Bugzilla-Priority: --- X-Bugzilla-Assigned-To: freebsd-bugs@FreeBSD.org X-Bugzilla-Flags: mfc-stable11? X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: https://bugs.freebsd.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 08 Aug 2016 16:20:56 -0000 https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D211361 --- Comment #10 from Dag-Erling Sm=C3=83=C2=B8rgrav --- 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.=