From owner-freebsd-geom@FreeBSD.ORG Wed Aug 22 13:29:08 2012 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 013B31065673; Wed, 22 Aug 2012 13:29:08 +0000 (UTC) (envelope-from fj@wonko.batmule.dk) Received: from wonko.batmule.dk (wonko.batmule.dk [IPv6:2a02:9d0:3020:1::2]) by mx1.freebsd.org (Postfix) with ESMTP id 82FEB8FC0C; Wed, 22 Aug 2012 13:29:07 +0000 (UTC) Received: by wonko.batmule.dk (Postfix, from userid 1001) id CE98914675; Wed, 22 Aug 2012 15:29:05 +0200 (CEST) Date: Wed, 22 Aug 2012 15:29:05 +0200 From: Flemming Jacobsen To: freebsd-fs@freebsd.org Message-ID: <20120822132905.GA53612@wonko.batmule.dk> References: <20120821190742.54449@relay.ibs.dn.ua> <20120822132440.24864@relay.ibs.dn.ua> <20120822123535.0385f118@fabiankeil.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20120822123535.0385f118@fabiankeil.de> User-Agent: Mutt/1.4.2.3i X-Operating-System: FreeBSD 9.1-PRERELEASE amd64 X-PGPkey: http://pgp.mit.edu:11371/pks/lookup?op=get&search=0xDCC399C7 Cc: freebsd-geom@freebsd.org Subject: Re: `zpool create' fails on geli ... X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Aug 2012 13:29:08 -0000 Fabian Keil wrote: > Zeus Panchenko wrote: > > geli init -K /path/key -s 4096 -e aes-xts /dev/adaX > > Does your disk actually use 4k sectors? Otherwise it's not clear > to me that "-s 4096" makes sense when using ZFS. > > I'm not claiming that it's obviously wrong, but I'm not aware of > any benchmarks that show that it's better than the default in > any way. It is my understanding that creating a 4K setup will prepare you for the day when your replacement drive is a 4K one. No benefit today, but also no real performance hit. And we avoid a real performance hit later. If I am mistaken, then I wold love to hear about it. Regards, Flemming -- Flemming Jacobsen Email: fj@batmule.dk "I don't need The Media to tell me that I should be outraged about a brutal murder. All I need is to be informed that it has happened, and I'll form my own opinion about it." -- The_Morlock (http://slashdot.org/comments.pl?sid=00%2F02%2F21%2F1125208)