Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Sep 2014 01:32:55 -0500
From:      Karl Denninger <karl@denninger.net>
To:        freebsd-stable@freebsd.org
Subject:   Re: getting to 4K disk blocks in ZFS
Message-ID:  <54114217.9040403@denninger.net>
In-Reply-To: <54114029.3060507@FreeBSD.org>
References:  <540FF3C4.6010305@ish.com.au> <54100258.2000505@freebsd.org> <5410F0B4.9040808@ish.com.au> <A0A549F7A4094F519A3660697AB4983F@multiplay.co.uk> <54114029.3060507@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
This is a cryptographically signed message in MIME format.

--------------ms050807010805000508040107
Content-Type: text/plain; charset=windows-1252; format=flowed
Content-Transfer-Encoding: quoted-printable


On 9/11/2014 1:24 AM, Andriy Gapon wrote:
> On 11/09/2014 04:22, Steven Hartland wrote:
>> ----- Original Message ----- From: "Aristedes Maniatis" <ari@ish.com.a=
u>
>>> Should the FreeBSD project change this minimum in the next release?
>>> There seems to be no downside and a huge amount of pain for people
>>> who stumble along with the defaults not knowing what a mess they are
>>> creating to solve later.
>> The downside is wasted space which can be significant and hence when
>> I last suggested just this it was unfortunately rejected.
>>
>> We still maintain a local patch to our source tree which does just
>> this because, as you've mentioned, we don't want the pain so its
>> easier to just run everything as 4k.
>
> Another downside is 1/4th of uberblocks, 32 vs 128.
> Also, automatic sector size detection works great for me and I've never=
 had a
> need to manually tweak ashift.
>
It works great until you start replacing older disks with new, larger=20
ones and find out that the new ones are 4k where the old ones were not...=
=2E.

IMHO at this point in time it's worth considering a 4k default.

-- Karl


--------------ms050807010805000508040107
Content-Type: application/pkcs7-signature; name="smime.p7s"
Content-Transfer-Encoding: base64
Content-Disposition: attachment; filename="smime.p7s"
Content-Description: S/MIME Cryptographic Signature

MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIFTzCC
BUswggQzoAMCAQICAQgwDQYJKoZIhvcNAQEFBQAwgZ0xCzAJBgNVB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looZGDFv4hoHyivsOl
3Qgb0xrWPZ43YIqs94gEPgLEleUwlyCj3OrRL7noCLpy1VvzbFh9BiuAny2FHUByAGsiwMMu
mbD2qK0Mrmj+pG6S3+pxul7uteViUx6Tvlsu+1ntLABGgEdTYvkfWc6xXCfjRZprwPOcSd8t
6e+EBgEOu1M+5acdVu1pWCyM4uO/7MvzWmZffjzH9qVzRz54SdkrIuu3pfyR7X7V/30UI1Ze
xCD9/j7hgunOLbEaAPK1rdcGbsOvEzX9JJDeb45lfxBbh/lEwSD5DdLgiU5nBJ63yvTvDwwD
+8+RqPlACZVFlBM1oucc0YlDipiS0SIHMVLcU9n2R6g14s4OS8A2E6yMkOPFynEA1exdaHJK
9tMCCZMAAAAAAAA=
--------------ms050807010805000508040107--





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?54114217.9040403>