Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Sep 2014 10:49:13 -0700
From:      Peter Wemm <peter@wemm.org>
To:        freebsd-stable@freebsd.org
Cc:        freebsd-stable <freebsd-stable@freebsd.org>, Steven Hartland <killing@multiplay.co.uk>, Andriy Gapon <avg@freebsd.org>, Aristedes Maniatis <ari@ish.com.au>
Subject:   Re: getting to 4K disk blocks in ZFS
Message-ID:  <2128347.Ah5i0RTCvp@overcee.wemm.org>
In-Reply-To: <54114029.3060507@FreeBSD.org>
References:  <540FF3C4.6010305@ish.com.au> <A0A549F7A4094F519A3660697AB4983F@multiplay.co.uk> <54114029.3060507@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help

--nextPart3478197.1yL048MhCC
Content-Transfer-Encoding: quoted-printable
Content-Type: text/plain; charset="us-ascii"

On Thursday, September 11, 2014 09:24:41 AM Andriy Gapon wrote:
> On 11/09/2014 04:22, Steven Hartland wrote:
> > ----- Original Message ----- From: "Aristedes Maniatis" <ari@ish.co=
m.au>
> >=20
> >> 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 a=
re
> >> creating to solve later.
> >=20
> > The downside is wasted space which can be significant and hence whe=
n
> > I last suggested just this it was unfortunately rejected.
> >=20
> > 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.
>=20
> Another downside is 1/4th of uberblocks, 32 vs 128.
> Also, automatic sector size detection works great for me and I've nev=
er had
> a need to manually tweak ashift.

Unfortunately, I have.  Same drive connected two different ways:

da12 at mps1 bus 0 scbus1 target 11 lun 0
da12: <ATA ST4000VN000-1H41 SC43> Fixed Direct Access SCSI-6 device=20
da12: 600.000MB/s transfers
da12: Command Queueing enabled
da12: 3815447MB (7814037168 512 byte sectors: 255H 63S/T 486401C)

ada1 at ahcich1 bus 0 scbus3 target 0 lun 0
ada1: <ATA ST4000VN000-1H41 SC43> ATA-8 SATA 3.x device
ada1: 600.000MB/s transfers (SATA 3.x, UDMA6, PIO 8192bytes)
ada1: Command Queueing enabled
ada1: 3815447MB (7814037168 512 byte sectors:  16H 63S/T 16383C)
ada1: quirks=3D0x1<4K>

The 4k flag is missing when it's on the sas controller.  The Ident stri=
ngs are=20
changed.

This came up elsewhere recently.

=2D-=20
Peter Wemm - peter@wemm.org; peter@FreeBSD.org; peter@yahoo-inc.com; KI=
6FJV
UTF-8: for when a ' or ... just won\342\200\231t do\342\200\246
--nextPart3478197.1yL048MhCC
Content-Type: application/pgp-signature; name="signature.asc"
Content-Description: This is a digitally signed message part.
Content-Transfer-Encoding: 7Bit

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2

iQEcBAABAgAGBQJUEeCZAAoJEDXWlwnsgJ4ErUUH/R5qBwI0Yfb3BYNK/Sx5jiqr
7+9pMVEOHAWkj/rPt/2lC6GniQse+sH5I31ArAvx0FGvMWrMWld+yzgQ7QKNjmSQ
NK56/cWgt04x3YOwJFcnh2+ul5qUjGc43pnHb7TVdhJaisZvAQOc05DPKEnAG2zg
UsKetK4e2ykT9RaHcZeXHSUVt55+1QUk5TfV/l+NB4is8ApPi9IyrLRXkjEq97yX
fwpY7RTMf8M4ic1zcE5RHMq55KDylcsXF4E3K/eoWwTpmQunzOt9EbgVmjh8KkDK
fWusPCitnOrDYXEV7V44wIntkgpzfwoCMChqo1aap7kdd08xgrx2YGUeIcOMiAE=
=X7vO
-----END PGP SIGNATURE-----

--nextPart3478197.1yL048MhCC--




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