Linux Folks: Do Linux distros have a ext2 File Defrag Util?

:D...




Topic Options
#117935 - 01/05/03 02:58 AM Linux Folks: Do Linux distros have a ext2 File Defrag Util?
DosFreak Offline
Carpal Tunnel

Registered: 02/04/00
Posts: 3802
Loc: Georgia
laugh

Top
Advertisement
#117937 - 01/05/03 03:33 AM Re: Linux Folks: Do Linux distros have a ext2 File Defrag Util?
clutch Offline
Carpal Tunnel

Registered: 03/29/00
Posts: 3859
Courtesy of Google...

Fragmentation of ReiserFS and some others:
http://www.informatik.uni-frankfurt.de/~loizides/reiserfs/

General performance of file systems:
http://www.namesys.com/internal-benchmarks/benchmark-results.html
http://www.namesys.com/whole.shtml

Bear in mind that these scores appear to be based on ReiserFS 3.x and earlier, while the new 4.x one will be quite a bit faster (can't find the link at the moment to the graph, but yeah it's an improvement).

Top
#117947 - 01/05/03 06:33 AM Re: Linux Folks: Do Linux distros have a ext2 File Defrag Util?
mezron Offline
enthusiast

Registered: 06/19/02
Posts: 241
there aren't any defraggers on linux as it's unnecessary. the filesystem doesn't fragment like it does in Windows. smile

Top
#117952 - 01/05/03 06:57 AM Re: Linux Folks: Do Linux distros have a ext2 File Defrag Util?
mezron Offline
enthusiast

Registered: 06/19/02
Posts: 241
http://sdb.suse.de/en/sdb/html/ext2frag.html
http://www.science.unitn.it/~fiorella/guidelinux/tlk/node101.html

but if you really want a defragger they are out there as this one points out
http://www.oreillynet.com/pub/faqs/linux_faq_AEN1511

essentially it comes down to this... Microsoft opted for speed in the filesystem, shove the file in the first available block etc... On Linux the filesystem is designed to find enough contigious blocks to accomodate the file whenever possible. fragmentation does occur, but it's pretty minimal... not enough to sweat over.

By the way, thanks for all your posts here. I've been lurking for a couple years now and have learned quite a bit about tweaking Windows from your posts smile

Top
#117955 - 01/05/03 07:22 AM Re: Linux Folks: Do Linux distros have a ext2 File Defrag Util?
nebulus Offline
enthusiast

Registered: 10/05/02
Posts: 214

Top
#117973 - 01/05/03 03:55 PM Re: Linux Folks: Do Linux distros have a ext2 File Defrag Util?
Philipp Offline
Pooh-Bah

Registered: 07/15/99
Posts: 1928
Loc: Vienna, Austria
Here some info on the ext3 file system:
http://www.redhat.com/support/wpapers/redhat/ext3/

The latest version of Defrag seems also to work with ext3 partitions:
http://packages.debian.org/stable/admin/defrag.html

From the Debian changes mailing list:
Quote:
Changes:
defrag (0.73pjm1-1.woody.0) stable; urgency=high

* ext2.c: Gracefully fail on filesystems with journals (closes: #118635).
This fixes a bug that causes filesystem corruption when defrag is run on ext3 filesystems.

http://lists.debian.org/debian-changes/2002/debian-changes-200211/msg00016.html

Unfortunately, the latest RPM for Red Hat is dated Sep 1 1998:
http://rpmfind.net//linux/RPM/contrib/libc6/i386/defrag-0.73-5.i386.html

Top
#117977 - 01/05/03 05:00 PM Re: Linux Folks: Do Linux distros have a ext2 File Defrag Util?
Philipp Offline
Pooh-Bah

Registered: 07/15/99
Posts: 1928
Loc: Vienna, Austria
Quote:
Redhat "phoebe" build 8.1 with the new KDE!


Just FYI: Lot things are broken in the first 8.1 beta release. You might want to check out the Phoebe beta mailing list at https://listman.redhat.com/mailman/listinfo/phoebe-list

Concerning Defrag. I found this on Red Hat's ext3-users mailing list:
https://listman.redhat.com/pipermail/ext3-users/2002-May/003462.html

Top
#118999 - 01/22/03 04:38 AM Re: Linux Folks: Do Linux distros have a ext2 File Defrag Util?
mezron Offline
enthusiast

Registered: 06/19/02
Posts: 241
Well, it's been a couple weeks now since this thread was active. I was wondering how the test went.. is going... will go... come on! Inquiring minds want to know!! :p

seriously tho... any enlightenment on whether this whole ext2 needs no stinkin defraggin thing is a hoax?

Top
#119031 - 01/22/03 11:49 PM Re: Linux Folks: Do Linux distros have a ext2 File Defrag Util?
mezron Offline
enthusiast

Registered: 06/19/02
Posts: 241
I totally see and agree with what you say in your example. the only thing I was wondering was whether or not that scenario occurs enough in the "real world" for defraggers to really be necessary on ext2. In this age of 100+ GB drives do many people ever really fill the drives over say 70% (pulled that number out of my butt). :x

I was looking around the net to find people that have asked the same question as you did, only to find one person who had written a program that would create and remove several large and small files just to see if he could fragment the drive. Apparently from his test he was able to fragment it heavily and perfomance did suffer from it. He also asked at the end of his article whether his test was real world or not. Whether he had "overdone it".

Anyway... everything I saw effectively said, yea fragmentation does occur... just not enough to really amount to anything worthwile. I myself am curious if this is really true. I don't really do that kind of stuff with my computer and have had Linux and FreeBSD systems run for long (over a year) periods with no noticeable slowdown. I'm not knowledgeable enough to know how to check for it other than when the system boots as it mounts the partitions it tells x.x% non-contigious etc...

Regardless, if you ever get around to it and discover anything either way please come back here to let us know. I for one would genuinely like to know smile

Jim

Top


Forums
Windows Support Forums
Everything New Technology
Legacy OS
Hardware
Software
Games
Networking
Customization & Tweaking
Security

Linux Support Forums
Everything Linux
Linux Hardware
Linux Software
Linux Games
Linux Networking
Linux Customization & Tweaking
Linux Security

Apple Support Forums
Everything Apple
Recent Topics
Ninja coming to Conquer Online
by Meditator
2 seconds ago
StarCraft new patch problem.
by Roland Bawd
11/30/08 08:02 AM
One of the USB devices attached to this computer h
by draa
11/28/08 02:13 AM
Lan won't work -- Windows Vista Premium
by DanielS
11/27/08 11:14 PM
Please Help!
by ashwee
11/27/08 02:17 AM
Who's Online
1 Registered (Meditator), 169 Guests and 9 Spiders online.
Key: Admin, Global Mod, Mod
Forum Stats
89474 Members
24 Forums
43069 Topics
172854 Posts

Max Online: 1079 @ 03/12/08 01:36 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22