All of lore.kernel.org
 help / color / mirror / Atom feed
* e4defrag seems too optimistic
@ 2021-04-29  5:33 Mike Frysinger
  2021-04-29 20:47 ` Andreas Dilger
  0 siblings, 1 reply; 2+ messages in thread
From: Mike Frysinger @ 2021-04-29  5:33 UTC (permalink / raw)
  To: linux-ext4

i started running e4defrag out of curiosity on some large files that i'm
archiving long term.  its results seem exceedingly optimistic and i have
a hard time agreeing with it.  am i pessimistic ?

for example, i have a ~4GB archive:
$ e4defrag -c ./foo.tar.xz
<File>                                         now/best       size/ext
./foo.tar.xz
                                             39442/2             93 KB

 Total/best extents				39442/2
 Average size per extent			93 KB
 Fragmentation score				34
 [0-30 no problem: 31-55 a little bit fragmented: 56- needs defrag]
 This file (./foo.tar.xz) does not need defragmentation.
 Done.

i have a real hard time seeing this file as barely "a little bit fragmented".
shouldn't the fragmentation score be higher ?

as a measure of "how fragmented is it really", if i copy the file and then
delete the original, there's a noticeable delay before `rm` finishes.
-mike

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2021-04-29 20:47 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2021-04-29  5:33 e4defrag seems too optimistic Mike Frysinger
2021-04-29 20:47 ` Andreas Dilger

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.