From owner-freebsd-current@freebsd.org Tue Sep 8 20:31:58 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 987C73D695B for ; Tue, 8 Sep 2020 20:31:58 +0000 (UTC) (envelope-from zeising+freebsd@daemonic.se) Received: from mail.daemonic.se (mail.daemonic.se [176.58.89.161]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 4BmGz15BKWz4QJ9; Tue, 8 Sep 2020 20:31:57 +0000 (UTC) (envelope-from zeising+freebsd@daemonic.se) Received: from cid.daemonic.se (localhost [IPv6:::1]) by mail.daemonic.se (Postfix) with ESMTP id 4BmGyt1PYXz3n4g; Tue, 8 Sep 2020 20:31:50 +0000 (UTC) X-Virus-Scanned: amavisd-new at daemonic.se Received: from mail.daemonic.se ([IPv6:::1]) (using TLS with cipher ECDHE-RSA-AES128-GCM-SHA256) by cid.daemonic.se (mailscanner.daemonic.se [IPv6:::1]) (amavisd-new, port 10587) with ESMTPS id JUBDA1V9yzK9; Tue, 8 Sep 2020 20:31:49 +0000 (UTC) Received: from vivi.daemonic.se (vivi.daemonic.se [IPv6:2001:470:dca9:1200::4]) by mail.daemonic.se (Postfix) with ESMTPSA id 4BmGys3ZkTz3myt; Tue, 8 Sep 2020 20:31:49 +0000 (UTC) Subject: Re: vfs.zfs.min_auto_ashift and OpenZFS To: Matthew Macy , Graham Perrin Cc: freebsd-current References: <9592fb23-ef97-f0a2-5968-f10ae404e761@gmail.com> From: Niclas Zeising Message-ID: <37b914c8-6fb6-7c1c-9497-ae1402b8dd40@daemonic.se> Date: Tue, 8 Sep 2020 22:31:47 +0200 User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:68.0) Gecko/20100101 Thunderbird/68.11.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Language: en-US Content-Transfer-Encoding: 7bit X-Rspamd-Queue-Id: 4BmGz15BKWz4QJ9 X-Spamd-Bar: ---- X-Spamd-Result: default: False [-4.16 / 15.00]; RCVD_VIA_SMTP_AUTH(0.00)[]; ARC_NA(0.00)[]; R_DKIM_ALLOW(-0.20)[daemonic.se:s=20151023]; FREEFALL_USER(0.00)[zeising]; FROM_HAS_DN(0.00)[]; RCPT_COUNT_THREE(0.00)[3]; R_SPF_ALLOW(-0.20)[+mx]; MID_RHS_MATCH_FROM(0.00)[]; MIME_GOOD(-0.10)[text/plain]; NEURAL_HAM_LONG(-1.00)[-0.999]; RCVD_COUNT_THREE(0.00)[4]; TO_MATCH_ENVRCPT_SOME(0.00)[]; TO_DN_ALL(0.00)[]; DKIM_TRACE(0.00)[daemonic.se:+]; DMARC_POLICY_ALLOW(-0.50)[daemonic.se,none]; NEURAL_HAM_SHORT(-1.20)[-1.205]; NEURAL_HAM_MEDIUM(-0.95)[-0.952]; FREEMAIL_TO(0.00)[freebsd.org,gmail.com]; FROM_EQ_ENVFROM(0.00)[]; MIME_TRACE(0.00)[0:+]; RCVD_TLS_LAST(0.00)[]; ASN(0.00)[asn:36236, ipnet:176.58.89.0/24, country:US]; TAGGED_FROM(0.00)[freebsd]; MAILMAN_DEST(0.00)[freebsd-current] 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: Tue, 08 Sep 2020 20:31:58 -0000 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 -- Niclas