Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
While speaking with one of my friends recently, he mentioned he had stumbled upon a product called O&O Defrag Linux. You guessed it, it's a third-party disk defragmenter. But for Linux?? I was always under the impression that EXT2/EXT3 file system's didn't suffer from fragmentation of files unless there was a severe lack of space on the drive.
With that having been said, I was wondering if any of you had the chance to try this thing. And if so, were the results good/bad, any complications...? Or maybe comments you might have about it?
I'm interested in trying it out myself, but having recently almost lost 120GB of data resizing partitions, I'm not too keen on the possibility of data loss...
Thanks!
Last edited by shiny_spoon; 11-14-2003 at 03:22 AM.
Not quite sure what they folks over at O&O are smoking, but they're trying to sell a product that isn't needed.
O&O Defrag is a great product. For Windows. The Windows (any version) defrag utility blows goats, so a 3rd party product (O&O in this case) is usually needed.
In linux, there is no need for it. Even if you're system is shut down improperly (power loss, you accidently shut it off without shuting linux down, ect), the niffy, and included, utility e2fsck. e2fsck works just fine; no need in using another utility.
Originally posted by DirtDart Not quite sure what they folks over at O&O are smoking, but they're trying to sell a product that isn't needed.
There you go, that's exactly what I was thinking. But I read an article where the people at O&O stated a performance increase of up to 10%... How's that even possible?
Well, on boot ext2 (ext3 too?) will tell you
about the percentage of noncontiguous
blocks ... I've never seen more than 2%
fragmentation in any linux installation :)
To me, that's good enough, and I don't
think that their test-scenario is applicable
to the real-world ;) ....
I mean, to fragment a linux filesystem
you'd have to first fill it to the brim with
small files, delete hepas of non-adjacent
ones, and then write files that don't fit in
any gaps.
Nope, no need to worry about defrag. It takes care of itself. I actually saw mine get to about 4% a while back and when I rebooted, it did the file system check and fixed the errors. I then rebooted with the fsck option and it was at about .1%.
I wouldn't worry about it. Linux is so efficient, you won't notice it anyway.
I'm with O&O Software and would like to comment on the issue of fragmentation on Linux filesystems, specifically ext2 and ext3:
It is a myth that ext2/ext3 does not fragment. Every file system I know of fragments. A few years ago it was also claimed that NTFS did not fragment, which of course it does (see http://www.oo-software.com/en/produc...aq_pro.html#a3)
If you think about it, how can a filesystem that stores its data in blocks on a hard disk not fragment? If it had some sort of logic that dynamically reordered blocks on the disk in order to prevent fragmentation (somewhat like a built-in defragmenter), that would reduce performance of the file system.
Tim Robbins of Gentoo says this in one of his file system articles on IBM developerworks:
"...any often-modified ext2 filesystem will gradually get more and more fragmented, and thus slower. Even worse, there are no production-quality ext2 filesystem defragmenting programs currently available." (see http://www-106.ibm.com/developerwork...titiontip.html)
As for our performance stats: They were carried out using Intel iometer (now an Open Source project at http://www.iometer.org/) and showed a consistent performance increase of 10-15%.
Keep in mind that fsck only shows file fragmentation, i.e. the ratio of fragmented files to non-fragmented files. Block fragmentation, i.e. the ratio of blocks in fragments to total number of blocks, is more relevant to the performance of the file system. You can find out block fragmentation with the "-a" switch of O&O Defrag Linux.
DirtDart: fsck does nothing against fragmentation, it checks a file system against errors and tries to fix them, much like chkdsk on Windows.
Bear in mind that O&O Defrag Linux is still beta software and should not be used on production systems.
DirtDart: fsck does nothing against fragmentation, it checks a file system against errors and tries to fix them, much like chkdsk on Windows.
Opps...my bad.
Not knowing a whole bunch about disk fragmentation in linux, I won't put much info out here, but I do know that I've never seen anything out of the single digit range. Of course, I'm not dealing with production servers, just home PCs, so the amount of fragmentation might be a little different.
If the software increases performance as much as you say it does, it should do very well. I know your Windows version kicks some serious ass, so you have your proven track record going for you.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.