lkml.org 
[lkml]   [1999]   [Jul]   [9]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectHigh reproducable fragmentation on ext2
Hello all,
I know that ext2 is supposed to be resistant to fragmentation, but
I have found a way to fragment it pretty bad, and its not a contrived
setup. When I build mozilla, I compile it in its own partition (ie. the
source is on one partition and the .o, .a, and executables are on another)
I start with that partition empty, and when I have finished building here
is what I end up with:

Bessie> /sbin/e2fsck -f /dev/hda3
e2fsck 1.14, 9-Jan-1999 for EXT2 FS 0.5b, 95/08/09
Pass 1: Checking inodes, blocks, and sizes
Pass 2: Checking directory structure
Pass 3: Checking directory connectivity
Pass 4: Checking reference counts
Pass 5: Checking group summary information
/dev/hda3: 5026/280576 files (24.1% non-contiguous), 333617/1118880 blocks

I assume the 24.1% is the fragmentation, and I assume this is high. Anyway,
I think this is using the default block size. I believe I tried this with 4K
blocks once and the problem went away.

Hopefully someone will find this interesting.

Thanks,

Jim

-
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:52    [W:0.149 / U:0.304 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site