From owner-freebsd-hardware@FreeBSD.ORG Thu Oct 10 21:03:14 2013 Return-Path: Delivered-To: freebsd-hardware@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 70EFD986; Thu, 10 Oct 2013 21:03:14 +0000 (UTC) (envelope-from jhb@freebsd.org) Received: from bigwig.baldwin.cx (bigwig.baldwin.cx [IPv6:2001:470:1f11:75::1]) (using TLSv1 with cipher ADH-CAMELLIA256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 4B0012DA2; Thu, 10 Oct 2013 21:03:14 +0000 (UTC) Received: from jhbbsd.localnet (unknown [209.249.190.124]) by bigwig.baldwin.cx (Postfix) with ESMTPSA id 4A643B986; Thu, 10 Oct 2013 17:03:13 -0400 (EDT) From: John Baldwin To: freebsd-hardware@freebsd.org Subject: Re: What's the state of AF-4Kn support? Date: Thu, 10 Oct 2013 16:57:22 -0400 User-Agent: KMail/1.13.5 (FreeBSD/8.4-CBSD-20130906; KDE/4.5.5; amd64; ; ) References: In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201310101657.22675.jhb@freebsd.org> X-Greylist: Sender succeeded SMTP AUTH, not delayed by milter-greylist-4.2.7 (bigwig.baldwin.cx); Thu, 10 Oct 2013 17:03:13 -0400 (EDT) Cc: Ravi Pokala , freebsd-hackers@freebsd.org, Jia-Shiun Li X-BeenThere: freebsd-hardware@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: General discussion of FreeBSD hardware List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 10 Oct 2013 21:03:14 -0000 On Monday, September 23, 2013 10:58:19 am Ravi Pokala wrote: > -----Original Message----- > From: Jia-Shiun Li > Date: Sunday, September 22, 2013 11:22 PM > To: Ravi Pokala > Cc: "freebsd-hardware@freebsd.org" , > > Subject: Re: What's the state of AF-4Kn support? > > >On Wed, Sep 18, 2013 at 10:49 PM, Ravi Pokala wrote: > >> > >>... > > > >CC -hackers. > > > >Thanks for the clarification. Is there any 4Kn HDDs shopping now? I am > >not aware of any. > > Good question. I had the impression that some currently shipping drives > were AF-4Kn, but spot-checking some of the drives listed in > > src/cam/ata/ata_da.c::ada_quirk_table[] > > against their datasheets, suggests that they're AF-512e. So, their being > flagged w/ ADA_Q_4K is "just" a performance optimization. > > >BTW I believe UFS and ZFS have proper design for 4K-sectors, but FreeBSD > >needs some ecosystem connections to get samples early to test, > >incorporate supports and validate for it. Or we will need to wait until > >it appears on market and someone got caught into some kind of bugs. > > Yeah, based on my reading of the code, it looks like the ATACAM layer and > higher (GEOM, filesystems) take the physical block size into account. That > just leaves the bootstrap code. Now that I've taken a second look, it > seems as though at least 'pmbr' only works in terms of 512 bytes. :-( Yes, the BIOS calls have always only used 512 byte sectors. There would have to be an updated spec for those, and it would be a bit of a PITA to use. I suspect the "right" answer for this on x86 is UEFI. -- John Baldwin