From: rod@tpgi.com.au
To: reiserfs-list@namesys.com
Subject: Re: Silly question, defrag
Date: Thu, 4 Apr 2002 11:42:26 +1000 [thread overview]
Message-ID: <3CAC3C22.30357.D03D9F@localhost> (raw)
In-Reply-To: <20020403164545.B21821@ultraviolet.org>
<snip>
> I have to wonder about your motives here, Hans. You are the one who stands
> to gain by capitalizing on newbie Unix/Linux users misunderstanding of
> filesystems based on their experience with DOS and Windows and here you
> are promoting defrag as a feature which puts your FS above others. They
> have learned to compulsively defrag their disks once a week and you are
> looking to feed their addiction. I think reiserfs is really great and a
> defrag/repacker will be nice but the above strikes me as a bit strange.
> How long has ext2 been around as the stock Linux filesystem? More than
> long enough for people to have realized whether a defragger would be
> useful. Yet I can't think of a single distribution (of Linux or Unix in
> general) that comes with a defragger. Stephen Tweedie wrote one for it but
> nobody bothers to use it or even to include it with their distro.
>
> Please don't perpetuate the idea that good filesystems have/need a
> defragger.
>
> --
> Tracy Reed http://www.ultraviolet.org
> "She moves in mysterious ways"
>
I'd actually suggest you are one of the poeple perpetuating a
fragmentation myth.
Fragmentation is an artifact of random access to disk media. It is
caused when the final size of a file is not known by the filesystem
layer at write time and hence it is not possible to allocate the total
space in one contiguous block. Log files and variable database files
that grow over time are a classic example of this scenario.
This leaves the the only option to defrag once the file has been
completed OR at some user defined interval. Some fs may try to
reduce the incidence of this but cant prevent it happening.
The response that "some fs's that are better than DOS/WinXX and
dont have this problem" is simply a cop out and serve to confuse the
issue. Its these "linux is better than winxx" statements without a
matching technical explanation that discredit us in the eyes of others.
Certainly the behavior of DOS/WIN systems in operation (endless
upgrades, driver installs etc) promote fragmentation however some
linux deployments fall foul to the same problem albeit for a different
reason. (We have been bitten by this).
Currently the only way to defrag an ext2 fs (or reiserfs) is a copy
off, mke2fs and copy back cycle - hardly ideal. BTW if you are
interested in scripts that capable of totally framenting an ext2
partition (as reported by chke2fs and demonstrated by timing a
grep) and also a discussion of the problem - check the archives.
Hans has recognised a genuine (though not popular or talked about)
need in some applications of the fs and is fixing it. Good on him.
Cheers
-Rod
next prev parent reply other threads:[~2002-04-04 1:42 UTC|newest]
Thread overview: 39+ messages / expand[flat|nested] mbox.gz Atom feed top
[not found] <200204030017.12595@X-Message-Flag:>
2002-04-03 8:21 ` Silly question, defrag Joe Cooper
2002-04-03 8:25 ` Hans Reiser
2002-04-03 16:14 ` Matthew Johnson
[not found] ` <200204030808.26186@X-Message-Flag:>
2002-04-03 18:28 ` Hans Reiser
2002-04-03 16:08 ` Matthew Johnson
[not found] ` <200204030740.05950@X-Message-Flag:>
2002-04-03 18:24 ` Hans Reiser
2002-04-03 19:33 ` matthew johnson
2002-04-04 0:45 ` Tracy R Reed
2002-04-04 1:42 ` rod [this message]
2002-04-04 5:19 ` The Amazing Dragon
[not found] ` <20020404161547.GD3990@jensbenecke.de>
2002-04-05 0:04 ` rod
2002-04-07 4:52 ` The Doctor What
2002-04-03 20:30 ` Ross Vandegrift
2002-04-03 20:37 ` Richard Thornton
2002-04-03 20:44 ` Hans Reiser
2002-04-03 23:49 ` Tracy R Reed
2002-04-04 1:58 ` Manuel Krause
2002-04-04 9:16 ` Anders Widman
2002-04-04 18:54 ` Tracy R Reed
2002-04-04 19:09 ` Valdis.Kletnieks
2002-04-04 19:20 ` Anders Widman
2002-04-04 22:18 ` Rodd Zurcher
2002-04-04 22:34 ` Benjamin Scott
2002-04-05 5:31 ` Ross Vandegrift
2002-04-05 6:19 ` Anders Widman
2002-04-05 13:50 ` Benjamin Scott
2002-04-05 15:07 ` Hans Reiser
2002-04-05 8:49 ` Hans Reiser
2002-04-05 13:50 ` Benjamin Scott
2002-04-05 14:04 ` Valdis.Kletnieks
2002-04-05 14:20 ` Benjamin Scott
2002-04-05 15:13 ` Hans Reiser
2002-04-05 13:53 ` Stefan Fleiter
2002-04-05 18:56 ` Chris Dukes
2002-04-05 22:33 ` Stefan Fleiter
2002-04-03 18:31 ` Anders Widman
2002-04-03 18:47 ` Yura Umanets
2002-04-03 21:41 ` Anders Widman
2002-04-03 8:20 Matthew Johnson
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3CAC3C22.30357.D03D9F@localhost \
--to=rod@tpgi.com.au \
--cc=reiserfs-list@namesys.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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.