Received: with ECARTIS (v1.0.0; list linux-xfs); Sat, 15 Mar 2003 13:05:22 -0800 (PST) Received: from ishtar.tlinx.org (ishtar.tlinx.org [64.81.58.33]) by oss.sgi.com (8.12.8/8.12.5) with SMTP id h2FL59q9006583 for ; Sat, 15 Mar 2003 13:05:10 -0800 Received: from Shiva (shiva [192.168.3.20]) by ishtar.tlinx.org (8.12.6/8.12.2/SuSE Linux 0.6) with ESMTP id h2FL50uX025821 for ; Sat, 15 Mar 2003 13:05:04 -0800 From: "l.a walsh" To: Subject: extsize in data? Date: Sat, 15 Mar 2003 13:05:00 -0800 Message-ID: <001501c2eb36$8cacee60$1403a8c0@sc.tlinx.org> X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook, Build 10.0.4510 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 Importance: Normal X-archive-position: 3214 X-ecartis-version: Ecartis v1.0.0 Sender: linux-xfs-bounce@oss.sgi.com Errors-to: linux-xfs-bounce@oss.sgi.com X-original-sender: xfs@tlinx.org Precedence: bulk X-list: linux-xfs Content-Length: 2560 Lines: 54 I notice you can specify extent sizes as a sub-option to the realtime section, but it doesn't seem to be an option for the normal data subsection....a bit of a bummer. Is there a reason why? With a maximum block size of 4k (assuming the man page about linux limitations to page size are still accurate and assuming, I think, Linux uses a 4k pagesize) and 64K max extent, that's 256k. Many of my files are > 256k, on one of my larger disks, >15000 files. Is this a temporary limitation or is this sorta a fixed quality of the fs? Also, there was a case of someone making IMAX films writing 4x48Mb or close to 200Mb/second to an XFS disk over SMBFS for 12+hours. Quick math ~> 2 terabytes/file. Does that imply the files were composed of over 8 million extents each? If you had 4 separate streams writing to disk at the same time, what would be the likely placement of the extents for each stream? interleaving with the streams or contiguous/stream, or what? Or is it likely undefined/semi-random -- I guess I'd assume starting with an empty disk for best case. Background/why I'm asking: I'm having a discussion on the relative merits of NTFS that seems to need constant defragmentation vs. Unix file systems that seem to need (or have) little (xfs_defrag ~once a week by default), or no defragmentation process (assumption generally being that fragmentation stays below 5-10% if disk space is kept below 90 or 95% usage -- (is that the "common wisdom"? Is it even valid?)). I somehow got into this by proposing that instead of all these companies writing custom, run-in-the-background, or centrally controlled defragmenting utilities, they could just invest in porting over some of the linux file systems to NT, and make money off support, GUI and network management (XFS was one I suggested, of course). Then started getting into a discussion that is starting to be on the edge of my knowledge -- and, while pointing to the ancient XFS white paper, it also says that fragmentation is expected to be a long-term issue with files like outlook .pst files, since they are written and rewritten in small chunks over a large file with the large file being extended as necessary, in small bits over time (the one corresponding to my main mail folder is >148M...it might be painful, but I'm tempted to put it on smbfs so the file would be on xfs for a while and turn off the xfs-defragger for a week or so (I run mine nightly...but I'm a bit more fanatical about optimizing layout). Any benchmark studies on NTFS/XFS relative speed? Thanks, Linda