From owner-freebsd-stable@FreeBSD.ORG Thu Aug 18 09:55:39 2011 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DBF6F106566C for ; Thu, 18 Aug 2011 09:55:38 +0000 (UTC) (envelope-from yuri@rawbw.com) Received: from shell0.rawbw.com (shell0.rawbw.com [198.144.192.45]) by mx1.freebsd.org (Postfix) with ESMTP id C88B08FC16 for ; Thu, 18 Aug 2011 09:55:38 +0000 (UTC) Received: from eagle.yuri.org (stunnel@localhost [127.0.0.1]) (authenticated bits=0) by shell0.rawbw.com (8.14.4/8.14.4) with ESMTP id p7I9tbTB049134; Thu, 18 Aug 2011 02:55:38 -0700 (PDT) (envelope-from yuri@rawbw.com) Message-ID: <4E4CE199.8030104@rawbw.com> Date: Thu, 18 Aug 2011 02:55:37 -0700 From: Yuri User-Agent: Mozilla/5.0 (X11; FreeBSD amd64; rv:5.0) Gecko/20110716 Thunderbird/5.0 MIME-Version: 1.0 To: Jeremy Chadwick References: <4E4CD19E.5070108@rawbw.com> <20110818091727.GA61715@icarus.home.lan> In-Reply-To: <20110818091727.GA61715@icarus.home.lan> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org Subject: Re: WD Advanced Format: do I need to do something special? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 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, 18 Aug 2011 09:55:39 -0000 On 08/18/2011 02:17, Jeremy Chadwick wrote: > The below advice still applies. Do not skim the page, read it. > > http://ivoras.net/blog/tree/2011-01-01.freebsd-on-4k-sector-drives.html > > You will therefore have to go through some manual rigmarole (preferably > with gpart(8)) to ensure performance. If you plan on using the disks in > ZFS, you get to go through some extra rigmarole. I didn't know about such extra actions that are required and just created ZFS pool. zdb -C shows ashift as 9. I read it as meaning that sector size if 512bytes (wrong!). But I tested the 25GB file writing/reading speed on the middle tracks and it seems reasonable: WR 55MB/s RD 107MB/s So can I get even better speeds if it was aware of 4k sector? Yuri