All of lore.kernel.org
 help / color / mirror / Atom feed
From: Tracy R Reed <treed@ultraviolet.org>
To: ReiserFS List <reiserfs-list@namesys.com>
Subject: Re: Silly question, defrag
Date: Thu, 4 Apr 2002 10:54:40 -0800	[thread overview]
Message-ID: <20020404105440.F27377@ultraviolet.org> (raw)
In-Reply-To: <20972156.20020404111651@tnonline.net>; from andewid@tnonline.net on Thu, Apr 04, 2002 at 11:16:51AM +0200

[-- Attachment #1: Type: text/plain, Size: 2379 bytes --]

On Thu, Apr 04, 2002 at 11:16:51AM +0200, Anders Widman wrote:
> I do not agree. I run a fileserver with a 814GB filesystem using
> ReiserFS (I have run NTFS and ext2/3 also). Modern filesystems might
> be smarter in storing new files by not packing them tightly.
> 
> In my case that workes fine up to a certain percentage, after that ALL
> new files are beeing fragmented due to the fact that there is only
> small blocks of space between all files. I don't see any filesystem
> that don't need defragmentation. Not in my case.

Yes, after a certain percentage you will start getting fragmentation. Will
you really notice the performance hit? Who knows. It depends on how much
and which files get fragmented. One solution is to not fill disks up to
more than 90%. That is what most people who have a need to worry about
such things do. I'm just saying that it isn't worth it. If you are at 90%
you need to buy more disk anyway because soon you will be at 100%. 

If there were real value in regularly defragging then Veritas, Sun, IBM,
HP, and all of those guys would have made defraggers for their respective
filesystems and it would be considered best practice and standard
operating procedure to use them. But I have never heard of any such tools
nor procedures.

This whole discussion results from the fact that so many Linux people come
from PC backgrounds where they were taught to habitually defrag. People
who come from other systems never give it a thought.

Nonetheless, I look forward to having this functionality is reiserfs
because it certainly can't hurt. What interests me even more than
defragging is performance optimized layouts. If the filesystem can somehow
keep track of patterns of frequently accessed blocks and could recognize
that one set of blocks on the inner cylinders is always read immediately
after reading a set of blocks on the outer cylinder (or perhaps instead of
keeping track of blocks which are read it would be more efficient to keep
track of commonly performed long seeks and move data to remove those) and
could rearrange things so that all of the needed data passes under the
read head in most often used sequence we would see a MUCH bigger
improvement in performance.

-- 
Tracy Reed      http://www.ultraviolet.org
Would you buy a car with the hood welded shut?
Linux: the maintainable OS.

[-- Attachment #2: Type: application/pgp-signature, Size: 240 bytes --]

  reply	other threads:[~2002-04-04 18:54 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
2002-04-03 18:31   ` Anders Widman
2002-04-03 18:47     ` Yura Umanets
2002-04-03 21:41       ` Anders Widman
     [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
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 [this message]
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  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=20020404105440.F27377@ultraviolet.org \
    --to=treed@ultraviolet.org \
    --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.