From: Chris Mason Subject: Re: [Fwd: Re: [OT] block allocation algorithm [Was] Re: heavily fragmented file system.. How to defrag it on-line??] Date: Thu, 25 Mar 2004 18:55:53 -0500 Message-ID: <1080258953.2828.3.camel@watt.suse.com> References: <40636893.3050605@matchmail.com> Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: list-help: list-unsubscribe: list-post: Errors-To: flx@namesys.com In-Reply-To: <40636893.3050605@matchmail.com> List-Id: Content-Type: text/plain; charset="us-ascii" To: Mike Fedyk Cc: reiserfs-list@namesys.com On Thu, 2004-03-25 at 18:17, Mike Fedyk wrote: > Hi guys, > > Reiser3 has worse fragmentation than ext3 in this test case. Reiser4 > was better, but it had a bad worst case and still wasn't as good as xfs. > > I'm especially interested in getting reiser3 to produce fewer fragments > in this test. > > Comments? There's a great deal of room for improvement in the reiser3 block allocator. I've got patches against 2.4.x that make it much smarter by trying to spread large files apart from each other but keep small files (and small directories) close together. Those are on hold until the logging and acls are done and in, but if people want to play around with porting them I can send you a copy. -chris