+ Reply to Thread
Results 1 to 14 of 14

Thread: Fragmentation Tips and Myth

  1. #1

    Fragmentation Tips and Myth

    What is Fragmentation?
    Example: we have a file that we save on a disk. Every time we edit that file, the sizes increases or decreases. The data from it must be stored somewhere on the disk. If the disk is empty and no other data has been written to it, then the file will be saved as a contiguous file. Otherwise it will be saved in the next free space it finds available. The process is called fragmentation.

    Performance and Life?
    The HDD uses a magnetic arm called an actuator that reads the contents of the disk. The movement is done by a very powerful magnet that helps move the arm by switching polarities.
    Now, based on this, movement is critical. If the HDD is fragmented it will cause the arm to move back and forth many times in order to open a file. The file in this case does not matter; whether it is a huge file (like a video file) or a small file (document), the time required for reading it is increased.

    Whether or not a defragmenter is used, the same can be achieved without it by simply performing a format thus making all space contiguous.

    Defragmenter steps are:
    • directory consolidation
    • file consolidation


    Manual defrag:
    1. move all files from the partition/drive
    2. format the empty drive
    3. perform a restart*
    4. recreate the directorial structure
    5. copy all files back to their original dirs


    Why directories first?
    The first HDD category must be the rarest to be changed.
    The order is: less frequent --> middle --> high frequent

    Basically the files you work with should the last to enter the disk.
    This is why windows boot loader is always copied first on install or has it's own partition (as wee see in vista, 7 and 8).

    * The restart is necessery to reset the HDD next-free-space pointer. For example: you defragment a drive but the HDD will save the file where it was left off (most likely in the middle of the disk) even though the disk was already defragmented. Only a restart will reset the pointer.

    Defragmenters
    Choose them wisely. Don' be like 'ooh it hs pretty colors and is made by a big shot corporation. it mut be good!'. Wrong: the best defragmenter is one the performes the above steps. It must create categories and with gaps between them for use as an extended space in order to overcome fragmentation.

    Defragging frequency
    Contrary to popular belief, you shouldn't defragment more than once every few months. The disk overhead generated by a defrag will shorten the disk's life by wearing it out and the performance gained will not be noticeable.
    A manual defrag would be best if you are defragmenting a drive filled with data (videos/documents/music etc.). It is faster and more efficient than a defrag. Also causes less overhead.
    Last edited by Master Razor; 10.11.12 at 14:14.
    Reply With QuoteReply With Quote
    Thanks

  2. Who Said Thanks:

    SealLion (11.11.12) , Instab (11.11.12) , yoco (10.11.12)

  3. #2
    Advanced User
    yoco's Avatar
    Join Date
    23.02.08
    Location
    Slovenia
    P2P Client
    Azureus
    Posts
    7,987
    Activity Longevity
    6/20 19/20
    Today Posts
    1/5 sssss7987
    So which defragmenter would you recommend?
    Reply With QuoteReply With Quote
    Thanks

  4. #3
    Elite system28's Avatar
    Join Date
    24.07.08
    Location
    Alpha Centauri
    P2P Client
    VEM-P
    Posts
    714
    Activity Longevity
    0/20 19/20
    Today Posts
    0/5 ssssss714
    I prefer UltimateDefrag

    DiskTrix

    This account has been disabled
    Reason: Fake upload

    Do NOT cheat. This involves; ghost leeching, spoofing and/or use of a modified client in anyway. If you, or anyone on your IP/server is found to be cheating then ALL users on that IP will be disabled.
    Reply With QuoteReply With Quote
    Thanks

  5. #4
    Quote Originally Posted by system28 View Post
    I prefer UltimateDefrag

    DiskTrix
    This is not a debate.
    I opened this tutorial to guide you in choosing your defragmenter. I wrote how IT SHOULD perform its defrag procedure.

    I use a lot of USB sticks for booting off live iso's. What if I tell you no defragmenter was able to defragment large iso's successfully off that drive? Spaces was plenty but all defragmenters left 1 fragment. While 1 is acceptable for windows but for loading a live CD, it gives an error that is not contiguous.
    Last edited by Master Razor; 10.11.12 at 14:21.
    Reply With QuoteReply With Quote
    Thanks

  6. Who Said Thanks:

    svartevarg (13.11.12)

  7. #5
    Moderator anon's Avatar
    Join Date
    01.02.08
    Posts
    39,804
    Activity Longevity
    11/20 19/20
    Today Posts
    1/5 ssss39804
    Quote Originally Posted by Master Razor View Post
    I use a lot of USB sticks for booting off live iso's. What if I tell you no defragmenter was able to defragment large iso's successfully off that drive? Spaces was plenty but all defragmenters left 1 fragment. While 1 is acceptable for windows but for loading a live CD, it gives an error that is not contiguous.
    I thought defragging was only harmful for flash drives, as they don't have mechanical components slowing down the seek time for fragmented files, but do lose read-write cycles in the process.
    "I just remembered something that happened a long time ago."
    Reply With QuoteReply With Quote
    Thanks

  8. #6
    Quote Originally Posted by anon View Post
    I thought defragging was only harmful for flash drives, as they don't have mechanical components slowing down the seek time for fragmented files, but do lose read-write cycles in the process.
    You don't understand. Bootloader can boot any .iso image on the stick but in order for it to that, the .iso images must be contiguous. I use manual defragmentation on my drive: format and re-copy. This is less harmful than a defragmenter and I only defrag it when there are fragments (I use an exec that analyzes each file and states the fragments).

    You should never defragment your USb sticks or external drives unless you do what I do.
    Reply With QuoteReply With Quote
    Thanks

  9. #7
    Moderator anon's Avatar
    Join Date
    01.02.08
    Posts
    39,804
    Activity Longevity
    11/20 19/20
    Today Posts
    1/5 ssss39804
    Gotcha.

    Was this among the ones you tried?
    "I just remembered something that happened a long time ago."
    Reply With QuoteReply With Quote
    Thanks

  10. #8
    That is what I use to test the files. I have never used it as a defragmenter.
    I sustain my original statement: a manual defrag is the only thing that comes close to 100% without fragments.
    I have windows installed for two years and only did one defrag. Top notch even today.
    Last edited by Master Razor; 10.11.12 at 20:29.
    Reply With QuoteReply With Quote
    Thanks

  11. #9
    Moderator
    Instab's Avatar
    Join Date
    18.09.09
    Posts
    6,661
    Activity Longevity
    4/20 18/20
    Today Posts
    0/5 sssss6661
    Quote Originally Posted by Master Razor View Post
    Contrary to popular belief, you shouldn't defragment more than once every few months.
    there is no rule of thumb. it depends on the usage.
    if you don't have much traffic then larger gaps between defrag runs are no problem. but if you have a lot of new files and deletions regularly defragging more often helps.
    also in my exprience defragging plays no noticeable role in the disk's lifespan. even more so since people rarely use disks until they die but buy new ones much sooner.

    Quote Originally Posted by Master Razor View Post
    I have windows installed for two years and only did one defrag. Top notch even today.
    right after the installation the system disk or partition is seriously fragmented already. just run an analyzer and have fun with all the red areas. not much imagination needed to picture how it's gonna look after 2 years of average use.
    Your account has been disabled.
    Reply With QuoteReply With Quote
    Thanks

  12. #10

    Join Date
    06.07.09
    Location
    Bat Cave
    P2P Client
    rutorrent 0.9.2/0.13.2
    Posts
    37
    Activity Longevity
    0/20 18/20
    Today Posts
    0/5 sssssss37
    I have given up defrag disk for years now. I observed no benefit from it even in those old slow hardware days.
    Reply With QuoteReply With Quote
    Thanks

  13. #11
    also in my exprience defragging plays no noticeable role in the disk's lifespan
    Everything plays a noticeable role. Defagmenting is an intense disk operation. It's not like you shift files around each day from one end of the platter to another.
    You may not of noticed it but it does wear it out.

    I usually open my CMD and type in a command that analyzes the remaining contiguous space on the drive. So, if there is more than 90% of there's no need to defragment.
    This is the same procedure that Microsoft's internal defragmenter checks if the drive needs a defrag or not.

    but if you have a lot of new files and deletions regularly defragging more often helps.
    Correct. This is what I've been saying all along. A user that doesn't update the OS, doesn't install new stuff and only plays a game once in a while or browses the net does not need to defrag often.

    right after the installation the system disk or partition is seriously fragmented already. just run an analyzer and have fun with all the red areas. not much imagination needed to picture how it's gonna look after 2 years of average use.
    It's against logic. Windows install copies the DVD temporarily on the disk. This is 2.6GB placed at the start of the disk. Windows then extracts the data to their permanent folders. These are placed as contiguous from the offset of those 2.6GB. Upon finishing it only removes that 2.6GB temp files. Conclusion beeing that we remain with a 2.6GB gap in the begging of the disk.
    Setup doesn't create new files from I know as they already exist. All it does is set the default options in the registry and create indexes and stuff.
    Reply With QuoteReply With Quote
    Thanks

  14. #12
    Moderator
    Instab's Avatar
    Join Date
    18.09.09
    Posts
    6,661
    Activity Longevity
    4/20 18/20
    Today Posts
    0/5 sssss6661
    Quote Originally Posted by Master Razor View Post
    You may not of noticed it but it dös wear it out.
    exactly that's why i wrote "no noticeable role".

    It's against logic.
    but trü just give it a try in doubt. same gös for hfs+ (osx) as well btw
    Your account has been disabled.
    Reply With QuoteReply With Quote
    Thanks

  15. #13

    Join Date
    03.04.12
    Location
    Heavy Metal City
    P2P Client
    μTorrent 2.2.1
    Posts
    56
    Activity Longevity
    0/20 15/20
    Today Posts
    0/5 sssssss56
    Disktrix and O&O Defrag 16 are the best defragmenters i tried that are lightweight (you can use your computer without lags while they are defrag your hdd)....
    Last edited by svartevarg; 13.11.12 at 17:22.
    Reply With QuoteReply With Quote
    Thanks

  16. #14
    Advanced User saebrtooth's Avatar
    Join Date
    21.06.09
    Location
    somewhere?
    P2P Client
    An eMule & VEM
    Posts
    2,150
    Activity Longevity
    0/20 18/20
    Today Posts
    0/5 sssss2150
    For my usuage anyway, defragging is essential to maintain performance

    I have found that supercache speeds up the defrag process. But dont cache the boot drive when defragging with Diskeeper as it will corrupt your boot drive drive
    However SuperCache and Auslogics Disk Defrag does play nicely
    dont ban me just spank me
    Reply With QuoteReply With Quote
    Thanks

+ Reply to Thread

Tags for this Thread

Posting Permissions

  • You may post new threads
  • You may post replies
  • You may not post attachments
  • You may not edit your posts
  •