Re: [Patch] Cleanup struct gendisk registration, 2.3.40-pre1

From: Rogier Wolff (R.E.Wolff@BitWizard.nl)
Date: Thu Jan 20 2000 - 04:53:39 EST


tytso@MIT.EDU wrote:
> From: Andi Kleen <ak@muc.de>
> Date: Tue, 18 Jan 2000 08:15:13 +0100
>
> And much more waste. I recently discovered that a ~5GB 4K ext2 source
> code partition has ~480MB wasted in file tails. The same fileset
> (about 192k files) would only waste ~108MB with 1K blocks.
>
> It depends on what you're putting in the filesystem. If it's mostly
> smallish files. such as you might expect on a source partition, then the
> fragmentation overhead is much more of an issue; a 1k block size is
> probably more appropriate. But if you have a filesystem with really
> large files, then a 4k blocksize is really what you want.

Note that with a 1k blocksize you're also wasting more on indirect
blocks, block bitmaps etc etc. So some of the "waste" comes back...

                                Roger.

-- 
** R.E.Wolff@BitWizard.nl ** http://www.BitWizard.nl/ ** +31-15-2137555 **
*-- BitWizard writes Linux device drivers for any device you may have! --*
 "I didn't say it was your fault. I said I was going to blame it on you."

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Sun Jan 23 2000 - 21:00:22 EST