[Patch] Cleanup struct gendisk registration, 2.3.40-pre1

Rogier Wolff R.E.Wolff en BitWizard.nl
Jue Ene 20 12:59:06 CST 2000


tytso en MIT.EDU wrote:
>    From: Andi Kleen <ak en 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 en 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 en vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



Más información sobre la lista de distribución Ayuda