From owner-freebsd-current@FreeBSD.ORG Fri Dec 25 17:30:59 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0381210656A3; Fri, 25 Dec 2009 17:30:59 +0000 (UTC) (envelope-from gpalmer@freebsd.org) Received: from noop.in-addr.com (mail.in-addr.com [IPv6:2001:470:8:162::1]) by mx1.freebsd.org (Postfix) with ESMTP id CF14B8FC1D; Fri, 25 Dec 2009 17:30:58 +0000 (UTC) Received: from gjp by noop.in-addr.com with local (Exim 4.54 (FreeBSD)) id 1NOE09-000LYr-79; Fri, 25 Dec 2009 12:30:57 -0500 Date: Fri, 25 Dec 2009 12:30:57 -0500 From: Gary Palmer To: Alexander Motin Message-ID: <20091225173057.GA75881@in-addr.com> References: <4B349ABF.2070800@FreeBSD.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4B349ABF.2070800@FreeBSD.org> Cc: FreeBSD-Current , freebsd-arch@freebsd.org Subject: Re: File system blocks alignment X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 25 Dec 2009 17:30:59 -0000 On Fri, Dec 25, 2009 at 12:58:07PM +0200, Alexander Motin wrote: > Hi. > > Recently WD released first series of ATA disks with increased physical > sector size. It makes writes not matching with 4K blocks inefficient > there. So I propose to get back to the question of optimal FS block > alignment. This topic is also important for most of RAIDs having striped > nature, such as RAID0/3/5/... and flash drives with simple controller > (such as MMC/SD cards). This is also a critical issue on certain SAN system. NetApp, I suspect as a result of them layering a virtual LUN ontop of another filesystem (WAFL), is very sensitive to filesystem alignment on the LUN. If the I/Os to the LUN are not 4k aligned, performance suffers a serious hit. I'm not sure what other SAN vendors suffer similar alignment restrictions. Regards, Gary