LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 09-19-2010, 01:17 AM   #1
garryprakash
LQ Newbie
 
Registered: Sep 2010
Posts: 2

Rep: Reputation: 0
Smile no need to defrag disks??


I'm really curious to know if there is really no need to defrag disks when we use any linux distros...
Thank you.
 
Old 09-19-2010, 01:21 AM   #2
John VV
LQ Muse
 
Registered: Aug 2005
Location: A2 area Mi.
Posts: 17,624

Rep: Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651Reputation: 2651
please do some research on the different disk formats and how they compare to MS Windows NTFS ( that DOSE need defraging every 7 days)

the ext3,ext4 and riser,xfs,... are very different ( some would say better) than MS's NTFS
 
Old 09-19-2010, 01:31 AM   #3
garryprakash
LQ Newbie
 
Registered: Sep 2010
Posts: 2

Original Poster
Rep: Reputation: 0
Smile i'm on it....

Quote:
Originally Posted by John VV View Post
please do some research on the different disk formats and how they compare to MS Windows NTFS ( that DOSE need defraging every 7 days)

the ext3,ext4 and riser,xfs,... are very different ( some would say better) than MS's NTFS
lol.....well,I'm already doing some research..I knew someone would suggest me so.Thanks.Hope i'll get it...
 
Old 09-19-2010, 01:51 AM   #4
Bryanlee
Member
 
Registered: May 2005
Location: Honolulu, HI
Distribution: Ubuntu 10.04
Posts: 56

Rep: Reputation: 15
There are tons of these "fragmentation" posts here on LQ. I'm not going to say either way in fear of starting another one, but I will say that I very seriously doubt that you will ever have any issue with fragmentation.
 
Old 09-19-2010, 02:30 AM   #5
sag47
Senior Member
 
Registered: Sep 2009
Location: Raleigh, NC
Distribution: Ubuntu, PopOS, Raspbian
Posts: 1,899
Blog Entries: 36

Rep: Reputation: 477Reputation: 477Reputation: 477Reputation: 477Reputation: 477
You don't experience performance hits on Linux from fragmentation until the disk is around 80% filled.

Much as many would love to argue... Linux filesystems are just as much vulnerable to fragmentation as Windows filesystems. I recently had a discussion about this (within the past few years).

http://www.mydefrag.com/forum/index....56.0;topicseen

In the discussion users list sources with their arguments.

Quote:
Most Linux filesystems avoid file fragmentation quite well as long as a partition stays relatively empty. This is achieved by reserving space for files, using delayed allocation, etc. However, these techniques fragment free space very quickly. Fragmented free space means that filesystem runs out of contiguous space to write new files, so newly written files become fragmented. So, performance stays high as long as partition is relatively empty.
For these reasons, I think we really need a good optimization program for Linux, which will not only defragment files but will consolidate free space into as few chunks as possible.
This tool is referenced within that post for being able to display fragmentation on a Linux file system. I have never used it (nor needed to) so I can't attest for it's validity. Other users on that Gentoo forum claim it works though.

Of course the need for defragmenting, contiguous data files, and disk optimization goes away when you use a modern SSD (solid state disk) drive which has the same read time no matter which sector is being accessed. Due to this Linux still stays in spiffy shape above 80% disk usage on solid state. There's benchmarks around, just google (see c300 benchmarks).

Last edited by sag47; 09-19-2010 at 02:40 AM.
 
  


Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Defrag? spaceballs Slackware 17 05-14-2006 12:44 AM
defrag..... unionjak Mandriva 2 08-07-2005 05:39 AM
Installation Disks not recognized as official disks when booting with floppy coal-fire-ice Mandriva 13 12-09-2004 04:29 PM
defrag Citizen Bleys Linux - General 23 08-28-2003 10:23 AM
defrag??? ETeria Linux - Newbie 3 08-24-2003 05:31 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 08:37 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration