From owner-freebsd-current@freebsd.org Wed Sep 9 15:55:15 2020 Return-Path: Delivered-To: freebsd-current@mailman.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.nyi.freebsd.org (Postfix) with ESMTP id D2D2C3D48AD for ; Wed, 9 Sep 2020 15:55:15 +0000 (UTC) (envelope-from freqlabs@FreeBSD.org) Received: from smtp.freebsd.org (smtp.freebsd.org [96.47.72.83]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "smtp.freebsd.org", Issuer "Let's Encrypt Authority X3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4BmmnH52r7z4QlY for ; Wed, 9 Sep 2020 15:55:15 +0000 (UTC) (envelope-from freqlabs@FreeBSD.org) Received: from Ryans-MBP.attlocal.net (unknown [IPv6:2600:1700:358a:c660:346a:2553:10e:f25]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client did not present a certificate) (Authenticated sender: freqlabs/mail) by smtp.freebsd.org (Postfix) with ESMTPSA id 79A5D1051D for ; Wed, 9 Sep 2020 15:55:15 +0000 (UTC) (envelope-from freqlabs@FreeBSD.org) Subject: Re: vfs.zfs.min_auto_ashift and OpenZFS To: freebsd-current@freebsd.org References: <9592fb23-ef97-f0a2-5968-f10ae404e761@gmail.com> <37b914c8-6fb6-7c1c-9497-ae1402b8dd40@daemonic.se> From: Ryan Moeller Message-ID: Date: Wed, 9 Sep 2020 11:55:14 -0400 User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:68.0) Gecko/20100101 Thunderbird/68.12.0 MIME-Version: 1.0 In-Reply-To: <37b914c8-6fb6-7c1c-9497-ae1402b8dd40@daemonic.se> Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 7bit Content-Language: en-US X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.33 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 09 Sep 2020 15:55:15 -0000 On 9/8/20 4:31 PM, Niclas Zeising wrote: > On 2020-05-02 02:20, Matthew Macy wrote: >> OpenZFS doesn't have the same ashift optimization logic that FreeBSD >> has. It's something that needs to be resolved before the code can be >> integrated downstream. > > So currently all pools created with OpenZFS will use 512 bit > alignment, at least if the underlying storage device uses 512bit > sectors (which most drives tend to do)? > > If this is the case, it feels like a pessimisation. > > Regards The vdev ashift optimizations from FreeBSD were put in OpenZFS before the import into base. That sysctl does work now. -Ryan