From owner-freebsd-current@freebsd.org Wed Sep 9 21:46:47 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 4752F3DDB39 for ; Wed, 9 Sep 2020 21:46:47 +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 4BmwZv1GjSz3fCk for ; Wed, 9 Sep 2020 21:46:47 +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 EE2BE12CFA for ; Wed, 9 Sep 2020 21:46:46 +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> <20200909214008.GB2033@zxy.spb.ru> From: Ryan Moeller Message-ID: <0dcd6763-76e3-379f-55c1-e917d2344e1d@FreeBSD.org> Date: Wed, 9 Sep 2020 17:46:46 -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: <20200909214008.GB2033@zxy.spb.ru> 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 21:46:47 -0000 On 9/9/20 5:40 PM, Slawa Olhovchenkov wrote: > On Wed, Sep 09, 2020 at 11:55:14AM -0400, Ryan Moeller wrote: > >> 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. > Ugly hack w/ geom_noop required again? I believe you can do `-o ashift=` with zpool create/add now. > _______________________________________________ > freebsd-current@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org"