Re: Ext2 defragmentation

Andi Kleen (ak@muc.de)
Mon, 15 Nov 1999 11:59:29 +0100


On Sat, Nov 13, 1999 at 08:44:39PM +0100, Pavel Machek wrote:
> HI!
>
> > > How necessary is it to defragment ones ext2 partitions? It just hit me
> > > that defragmentation is very important under the Wintendo filesystem.
> >
> > It's not as important. But... I had an idea for an ext2 defrag daemon,
> > e2defragd, which would take advantage of _disk_ idle time to reorganize
> > blocks, while the filesystem was mounted. This daemon would be a good
> > candidate for disk optimizations like moving frequently-accessed files
> > to the middle of the disk in addition to background defragging.
>
> There's one usefull thing that could be done with e2defrag: putting
> directories at the beggining of the disk exactly in the order find /
> would use. One line hack, but e2defrag just does not work for me.
> Pavel

Isn't it better to simply use locate / updatedb instead ?

-Andi

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