lkml.org 
[lkml]   [2000]   [Jan]   [19]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [Patch] Cleanup struct gendisk registration, 2.3.40-pre1
On Wed, Jan 19, 2000 at 08:49:05AM -0500, 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.
>
> - Ted

Hello,

in /usr/src/linux/include/linux/ext2_fs.h there is a

#define EXT2_MIN_FRAG_SIZE 1024

does ext2 use block fragments? if yes how? if not why?
(from a quick look at the source it seems unlikely that
ext2 uses fragments)


--
Catalin Muresan
CODEC Electronic Products
Internet Services Department
718547.89 663787.56

-
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/

\
 
 \ /
  Last update: 2005-03-22 13:56    [from the cache]
©2003-2014 Jasper Spaans. Advertise on this site