From owner-freebsd-arch@FreeBSD.ORG Mon Dec 28 12:30:32 2009 Return-Path: Delivered-To: freebsd-arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A5A181065692; Mon, 28 Dec 2009 12:30:32 +0000 (UTC) (envelope-from mavbsd@gmail.com) Received: from mail-fx0-f227.google.com (mail-fx0-f227.google.com [209.85.220.227]) by mx1.freebsd.org (Postfix) with ESMTP id 0D1AB8FC14; Mon, 28 Dec 2009 12:30:31 +0000 (UTC) Received: by fxm27 with SMTP id 27so10076550fxm.3 for ; Mon, 28 Dec 2009 04:30:23 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:sender:message-id:date:from :user-agent:mime-version:to:cc:subject:references:in-reply-to :x-enigmail-version:content-type:content-transfer-encoding; bh=+OLKWjj4qgLd/S1Z1u4QMOeSvD5YY0zJdOI2nisPEms=; b=GHghsrtRePJqszgA9ss1iFqgUoNlRM5DQY7w/uj/dd7WEUuz88eNTScEZPUpIJP/7w lkvE+I1pTlQ0mw4c3zPdj9LkKUFNUkj+9mR20X1r/iE17YcfNBF0xB+WsOSDirMGL76U 4lZrJvUIef/xdDBIyM3tiF2UkMtMSAVRi5W2U= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=sender:message-id:date:from:user-agent:mime-version:to:cc:subject :references:in-reply-to:x-enigmail-version:content-type :content-transfer-encoding; b=COHzGtq8KjZwg/otv8RkKl8cvlSlOjfUQ4kQoaLL6A8ZYv9HVM2lhYILDpmSv8AtXo Fkx14cJBiZTdMmNQ/ebO0s7c7Q2ZQYT/W4iomv+Wd5wj+9GtRHR3iWmGNF9wIyzLiT0L +JQUXcAluZWUN2qwYtT5DhKkjEM+ACc9Jq/Sc= Received: by 10.223.5.90 with SMTP id 26mr5461861fau.59.1262003423615; Mon, 28 Dec 2009 04:30:23 -0800 (PST) Received: from mavbook.mavhome.dp.ua (pc.mavhome.dp.ua [212.86.226.226]) by mx.google.com with ESMTPS id 16sm3972064fxm.0.2009.12.28.04.30.22 (version=SSLv3 cipher=RC4-MD5); Mon, 28 Dec 2009 04:30:23 -0800 (PST) Sender: Alexander Motin Message-ID: <4B38A4DE.2040507@FreeBSD.org> Date: Mon, 28 Dec 2009 14:30:22 +0200 From: Alexander Motin User-Agent: Thunderbird 2.0.0.23 (X11/20091212) MIME-Version: 1.0 To: Miroslav Lachman <000.fbsd@quip.cz> References: <4B349ABF.2070800@FreeBSD.org> <469FFFC8-514B-41B9-AEEC-E4B7AB6CB886@exscape.org> <4B34A183.7000909@FreeBSD.org> <4B389D60.7000005@quip.cz> In-Reply-To: <4B389D60.7000005@quip.cz> X-Enigmail-Version: 0.96.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 8bit Cc: FreeBSD-Current , Thomas Backman , freebsd-arch@freebsd.org Subject: Re: File system blocks alignment X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 28 Dec 2009 12:30:32 -0000 Miroslav Lachman wrote: > Alexander Motin wrote: >> Thomas Backman wrote: >>> On Dec 25, 2009, at 11:58 AM, Alexander Motin wrote: >> |>> Recently WD released first series of ATA disks with increased >> physical >>>> sector size. It makes writes not matching with 4K blocks inefficient >>>> there. >>> They don't expose this to the OS, though (not by default, anyway), >>> but chop it up into 8 512-byte sectors for compatibility reasons. >>> Just thought I'd point that out - I'm not even sure if you can get >>> them to *not* do the compatibility thing and expose 4k-sized sectors. >> >> Latest ATA-8 specification allows drive to report both logical (512B) >> and physical (4KB) sector sizes. ada driver able to fetch and report >> that info to GEOM. If these drives not reporting it yet (are you really >> sure?), it is only question of their firmware. > > There is an article about 4k sectors > http://www.anandtech.com/storage/showdoc.aspx?i=3691 > > It is completely hidden to OS in first versions. Thanks for the link, but all I see there is "but at this point there’s no such tool". IMHO it doesn't meet it is not reported. We just need somebody with that drive to run on it `camcontrol identify` from the fresh system and report what he sees. -- Alexander Motin