lkml.org 
[lkml]   [1999]   [Nov]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: Ext2 defragmentation
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 ?

No. There are other operations (such as du -s ., search from midnight)
which have find-like access pattern. And you have no chance of getting
out of date.
Pavel
--
The best software in life is free (not shareware)! Pavel
GCM d? s-: !g p?:+ au- a--@ w+ v- C++@ UL+++ L++ N++ E++ W--- M- Y- R+

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