From owner-freebsd-hackers@FreeBSD.ORG Tue May 22 14:40:57 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 839CE1065680 for ; Tue, 22 May 2012 14:40:57 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id 3ADE48FC15 for ; Tue, 22 May 2012 14:40:56 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.5/8.14.5) with ESMTP id q4MEeuHu051909; Tue, 22 May 2012 08:40:56 -0600 (MDT) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.5/8.14.5/Submit) with ESMTP id q4MEeufD051906; Tue, 22 May 2012 08:40:56 -0600 (MDT) (envelope-from wblock@wonkity.com) Date: Tue, 22 May 2012 08:40:56 -0600 (MDT) From: Warren Block To: Matthias Apitz In-Reply-To: <20120522134846.GA2274@tiny> Message-ID: References: <4fb7dfd6.736a980a.186d.ffff902f@mx.google.com> <20120519180901.GA1264@tiny> <4fb7e819.6968700a.7a7f.ffff9153@mx.google.com> <20120522061734.GA1210@tiny> <20120522134846.GA2274@tiny> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="-902635197-698640261-1337697656=:51493" X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (wonkity.com [127.0.0.1]); Tue, 22 May 2012 08:40:56 -0600 (MDT) Cc: freebsd-hackers@freebsd.org Subject: Re: proper newfs options for SSD disk X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 May 2012 14:40:57 -0000 This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. ---902635197-698640261-1337697656=:51493 Content-Type: TEXT/PLAIN; charset=iso-8859-1; format=flowed Content-Transfer-Encoding: 8BIT On Tue, 22 May 2012, Matthias Apitz wrote: > El día Tuesday, May 22, 2012 a las 07:42:18AM -0600, Warren Block escribió: > >> On Tue, 22 May 2012, Matthias Apitz wrote: >> >>> El día Sunday, May 20, 2012 a las 03:36:01AM +0900, rozhuk.im@gmail.com escribió: >>>> >>>> Do not use MBR (or manually do all to align). >>>> 63 - not 4k aligned. >>> >>> To create the above shown partition layout I have not used gpart(8); I >>> just said: >>> >>> # fdisk -I /dev/ada0 >>> # fdisk -B /dev/ada0 >>> >>> ... >>> What is wrong with this procedure? >> >> The filesystem partitions end up at locations that aren't even multiples >> of 4K. This can reduce performance. How much probably depends on the >> SSD. > > But this is then rather a bug in fdisk(8) and not a PEBKAC, or? :-) A bug in the design of MBR. Which probably can be forgiven, considering when it was created and the other problems with it. :) gpart's alignment option can be used with MBR slices and bsdlabel partitions. ---902635197-698640261-1337697656=:51493--