LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Newbie (https://www.linuxquestions.org/questions/linux-newbie-8/)
-   -   no need to defrag disks?? (https://www.linuxquestions.org/questions/linux-newbie-8/no-need-to-defrag-disks-833148/)

garryprakash 09-19-2010 01:17 AM

no need to defrag disks??
 
:confused:I'm really curious to know if there is really no need to defrag disks when we use any linux distros...
Thank you.

John VV 09-19-2010 01:21 AM

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

garryprakash 09-19-2010 01:31 AM

i'm on it....
 
Quote:

Originally Posted by John VV (Post 4102235)
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...

Bryanlee 09-19-2010 01:51 AM

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.

sag47 09-19-2010 02:30 AM

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).


All times are GMT -5. The time now is 03:42 AM.