From owner-freebsd-hackers@FreeBSD.ORG Tue May 22 13:48:55 2012 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 349621065670 for ; Tue, 22 May 2012 13:48:55 +0000 (UTC) (envelope-from guru@unixarea.de) Received: from ms16-1.1blu.de (ms16-1.1blu.de [89.202.0.34]) by mx1.freebsd.org (Postfix) with ESMTP id DE0898FC0A for ; Tue, 22 May 2012 13:48:54 +0000 (UTC) Received: from [89.204.153.130] (helo=tiny.Sisis.de) by ms16-1.1blu.de with esmtpsa (TLS-1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.69) (envelope-from ) id 1SWpSD-0005Ur-Oc for freebsd-hackers@freebsd.org; Tue, 22 May 2012 15:48:50 +0200 Received: from tiny.Sisis.de (localhost [127.0.0.1]) by tiny.Sisis.de (8.14.5/8.14.3) with ESMTP id q4MDmlCS002280 for ; Tue, 22 May 2012 15:48:48 +0200 (CEST) (envelope-from guru@unixarea.de) Received: (from guru@localhost) by tiny.Sisis.de (8.14.5/8.14.3/Submit) id q4MDml3n002279 for freebsd-hackers@freebsd.org; Tue, 22 May 2012 15:48:47 +0200 (CEST) (envelope-from guru@unixarea.de) X-Authentication-Warning: tiny.Sisis.de: guru set sender to guru@unixarea.de using -f Date: Tue, 22 May 2012 15:48:47 +0200 From: Matthias Apitz To: freebsd-hackers@freebsd.org Message-ID: <20120522134846.GA2274@tiny> References: <4fb7dfd6.736a980a.186d.ffff902f@mx.google.com> <20120519180901.GA1264@tiny> <4fb7e819.6968700a.7a7f.ffff9153@mx.google.com> <20120522061734.GA1210@tiny> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: X-Operating-System: FreeBSD 10.0-CURRENT r226986 (i386) User-Agent: Mutt/1.5.21 (2010-09-15) X-Con-Id: 51246 X-Con-U: 0-guru X-Originating-IP: 89.204.153.130 Subject: Re: proper newfs options for SSD disk X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Matthias Apitz 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 13:48:55 -0000 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? :-) matthias -- Matthias Apitz e - w http://www.unixarea.de/ UNIX since V7 on PDP-11, UNIX on mainframe since ESER 1055 (IBM /370) UNIX on x86 since SVR4.2 UnixWare 2.1.2, FreeBSD since 2.2.5