From owner-freebsd-hackers@FreeBSD.ORG Tue May 22 17:15:26 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 B3F341065670 for ; Tue, 22 May 2012 17:15:26 +0000 (UTC) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from wojtek.tensor.gdynia.pl (wojtek.tensor.gdynia.pl [89.206.35.99]) by mx1.freebsd.org (Postfix) with ESMTP id 19E0C8FC16 for ; Tue, 22 May 2012 17:15:25 +0000 (UTC) Received: from wojtek.tensor.gdynia.pl (localhost [127.0.0.1]) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5) with ESMTP id q4MHFI7O061186; Tue, 22 May 2012 19:15:18 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Received: from localhost (wojtek@localhost) by wojtek.tensor.gdynia.pl (8.14.5/8.14.5/Submit) with ESMTP id q4MHFIqi061183; Tue, 22 May 2012 19:15:18 +0200 (CEST) (envelope-from wojtek@wojtek.tensor.gdynia.pl) Date: Tue, 22 May 2012 19:15:17 +0200 (CEST) From: User Wojtek To: Warren Block In-Reply-To: Message-ID: References: <4fb7dfd6.736a980a.186d.ffff902f@mx.google.com> <20120519180901.GA1264@tiny> <4fb7e819.6968700a.7a7f.ffff9153@mx.google.com> <20120522061734.GA1210@tiny> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender passed SPF test, not delayed by milter-greylist-4.2.7 (wojtek.tensor.gdynia.pl [127.0.0.1]); Tue, 22 May 2012 19:15:18 +0200 (CEST) Cc: freebsd-hackers@freebsd.org, Matthias Apitz , rozhuk.im@gmail.com 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 17:15:26 -0000 >> 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. well in my case it is a multiply of any number you like [root@wojtek ~]# bsdlabel ada0 # /dev/ada0: 8 partitions: # size offset fstype [fsize bsize bps/cpg] a: 117231408 0 4.2BSD 0 0 0 c: 117231408 0 unused 0 0 # "raw" part, don't edit