From owner-freebsd-stable@FreeBSD.ORG Mon Aug 22 12:40:38 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 E46681065673 for ; Mon, 22 Aug 2011 12:40:38 +0000 (UTC) (envelope-from freebsd-stable@m.gmane.org) Received: from lo.gmane.org (lo.gmane.org [80.91.229.12]) by mx1.freebsd.org (Postfix) with ESMTP id 9FF558FC17 for ; Mon, 22 Aug 2011 12:40:38 +0000 (UTC) Received: from list by lo.gmane.org with local (Exim 4.69) (envelope-from ) id 1QvTnw-0004lh-Tu for freebsd-stable@freebsd.org; Mon, 22 Aug 2011 14:40:36 +0200 Received: from lara.cc.fer.hr ([161.53.72.113]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 22 Aug 2011 14:40:36 +0200 Received: from ivoras by lara.cc.fer.hr with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Mon, 22 Aug 2011 14:40:36 +0200 X-Injected-Via-Gmane: http://gmane.org/ To: freebsd-stable@freebsd.org From: Ivan Voras Date: Mon, 22 Aug 2011 14:40:22 +0200 Lines: 23 Message-ID: References: <4E4CD19E.5070108@rawbw.com> <20110818091727.GA61715@icarus.home.lan> <4E4CE199.8030104@rawbw.com> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Complaints-To: usenet@dough.gmane.org X-Gmane-NNTP-Posting-Host: lara.cc.fer.hr User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.9.2.12) Gecko/20101102 Thunderbird/3.1.6 In-Reply-To: <4E4CE199.8030104@rawbw.com> X-Enigmail-Version: 1.1.2 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: Mon, 22 Aug 2011 12:40:39 -0000 On 18/08/2011 11:55, Yuri wrote: > 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? Yes, read and write speeds on modern drives should be almost equal.