X-Spam-Checker-Version: SpamAssassin 3.4.0-r929098 (2010-03-30) on oss.sgi.com X-Spam-Level: X-Spam-Status: No, score=-1.9 required=5.0 tests=BAYES_00 autolearn=ham version=3.4.0-r929098 Received: from cuda.sgi.com (cuda2.sgi.com [192.48.176.25]) by oss.sgi.com (8.14.3/8.14.3/SuSE Linux 0.8) with ESMTP id o7VMXveS086706 for ; Tue, 31 Aug 2010 17:33:57 -0500 X-ASG-Debug-ID: 1283294074-1d2503110000-NocioJ X-Barracuda-URL: http://cuda.sgi.com:80/cgi-bin/mark.cgi Received: from postoffice2.aconex.com (localhost [127.0.0.1]) by cuda.sgi.com (Spam Firewall) with ESMTP id 2DB9C4096F for ; Tue, 31 Aug 2010 15:34:35 -0700 (PDT) Received: from postoffice2.aconex.com (mail.aconex.com [203.89.202.182]) by cuda.sgi.com with ESMTP id xZVkaIkgXEz4zvjC for ; Tue, 31 Aug 2010 15:34:35 -0700 (PDT) Received: from postoffice.aconex.com (localhost [127.0.0.1]) by postoffice2.aconex.com (Spam & Virus Firewall) with ESMTP id 8579E923E60; Wed, 1 Sep 2010 08:34:33 +1000 (EST) Received: from postoffice.aconex.com (postoffice.yarra.acx [192.168.102.1]) by postoffice2.aconex.com with ESMTP id DCTvzp8U1KDcjrmg; Wed, 01 Sep 2010 08:34:33 +1000 (EST) Received: from gatekeeper.aconex.com (gatekeeper.yarra.acx [192.168.102.10]) by postoffice.aconex.com (Postfix) with ESMTP id 75868A50264; Wed, 1 Sep 2010 08:34:33 +1000 (EST) Received: from localhost (localhost.localdomain [127.0.0.1]) by gatekeeper.aconex.com (Postfix) with ESMTP id 6ECDC9D0001; Wed, 1 Sep 2010 08:34:33 +1000 (EST) X-Virus-Scanned: ClamAV version 0.94.2, clamav-milter version 0.94.2 on oss.sgi.com X-Virus-Scanned: amavisd-new at aconex.com Received: from gatekeeper.aconex.com ([127.0.0.1]) by localhost (gatekeeper.aconex.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 9l1ZejP7HKIe; Wed, 1 Sep 2010 08:34:28 +1000 (EST) Received: from mail-au.aconex.com (mail-au.aconex.com [192.168.102.12]) by gatekeeper.aconex.com (Postfix) with ESMTP id B2D609D0004; Wed, 1 Sep 2010 08:34:28 +1000 (EST) Received: from mail-au.aconex.com (mail-au.aconex.com [192.168.102.12]) by mail-au.aconex.com (Postfix) with ESMTP id AC4A964B867B; Wed, 1 Sep 2010 08:34:28 +1000 (EST) Date: Wed, 1 Sep 2010 08:34:28 +1000 (EST) From: Nathan Scott To: Michael Monnerie Cc: xfs@oss.sgi.com Message-ID: <1177874643.527261283294068615.JavaMail.root@mail-au.aconex.com> In-Reply-To: <201009010007.23899@zmi.at> X-ASG-Orig-Subj: Re: 4K drives, sectsz=512, bsize=4096 Subject: Re: 4K drives, sectsz=512, bsize=4096 MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Originating-IP: [220.237.111.48] X-Mailer: Zimbra 5.0.18_GA_3011.RHEL5_64 (ZimbraWebClient - SAF3 (Mac)/5.0.18_GA_3011.RHEL5_64) X-Barracuda-Connect: mail.aconex.com[203.89.202.182] X-Barracuda-Start-Time: 1283294076 X-Barracuda-Bayes: INNOCENT GLOBAL 0.0000 1.0000 -2.0210 X-Barracuda-Virus-Scanned: by cuda.sgi.com at sgi.com X-Barracuda-Spam-Score: -2.02 X-Barracuda-Spam-Status: No, SCORE=-2.02 using per-user scores of TAG_LEVEL=2.0 QUARANTINE_LEVEL=1000.0 KILL_LEVEL=2.1 tests= X-Barracuda-Spam-Report: Code version 3.2, rules version 3.2.2.39553 Rule breakdown below pts rule name description ---- ---------------------- -------------------------------------------------- X-Virus-Status: Clean ----- "Michael Monnerie" wrote: > On Dienstag, 31. August 2010 Eric Sandeen wrote: > > If you do it right (and especially vs. if you do it wrong) it > > should be a bit faster if all IOs are 4k aligned on the disk. > > And that's what's interesting me: why? Won't XFS do all I/Os at > minimum > for a given block size? Or is it possible XFS does write only a single > sector? I'd expect the smallest I/O size to be the block size, but it > seems I'm wrong? Log I/O and direct writes are sector sized & aligned. > I guess there's no way to "convert" an existing XFS with > sectsz=512,bsize=4096 to sectsz=4096,bsize=4096? Maybe that's only a > flag that can be changed? There's no way (other than dump, mkfs & restore), the filesystem is laid out differently (most data structures, like superblocks and other metadata become 4K aligned). cheers. -- Nathan