From owner-freebsd-stable@FreeBSD.ORG Thu Sep 11 17:49:15 2014 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id EE0E1561; Thu, 11 Sep 2014 17:49:14 +0000 (UTC) Received: from smtp2.wemm.org (smtp2.wemm.org [192.203.228.78]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client CN "smtp2.wemm.org", Issuer "StartCom Class 1 Primary Intermediate Server CA" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id CC92DCEF; Thu, 11 Sep 2014 17:49:14 +0000 (UTC) Received: from overcee.wemm.org (canning.wemm.org [192.203.228.65]) by smtp2.wemm.org (Postfix) with ESMTP id 266AC92A; Thu, 11 Sep 2014 10:49:14 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wemm.org; s=m20140428; t=1410457754; bh=3Y6W4uBOmSGtd2GM+ksawxl8f+ezjDKg9sFgv4Sas8w=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=u/OdMNNJXFx0qI7X8PRWzdk6VWNgbru4FOqTCXTFVeY4rO7upHIZbjY17Yd6sfi81 H2o09Nj8vXQDC4XcLMnpaNjqFjkmcQ2MXKWs5aZ7arCdRVaedur1btG2kQbY6XY6x+ 45ktcqvYEvzpJTxVO5rOl4+vsy0f5RsjTxXCL78s= From: Peter Wemm To: freebsd-stable@freebsd.org Subject: Re: getting to 4K disk blocks in ZFS Date: Thu, 11 Sep 2014 10:49:13 -0700 Message-ID: <2128347.Ah5i0RTCvp@overcee.wemm.org> User-Agent: KMail/4.12.5 (FreeBSD/11.0-CURRENT; KDE/4.12.5; amd64; ; ) In-Reply-To: <54114029.3060507@FreeBSD.org> References: <540FF3C4.6010305@ish.com.au> <54114029.3060507@FreeBSD.org> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="nextPart3478197.1yL048MhCC"; micalg="pgp-sha1"; protocol="application/pgp-signature" Cc: freebsd-stable , Steven Hartland , Andriy Gapon , Aristedes Maniatis X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Sep 2014 17:49:15 -0000 --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" > >=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: 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-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--