Defragmenting

Discussion in 'Storage Devices' started by Exfoliate, May 8, 2005.

  1. Exfoliate

    Exfoliate Geek Trainee

    Likes Received:
    166
    Trophy Points:
    0
    Hey everyone, what exactly does defragmenting my h-drive do, what are the benifits of this and about how long would you say it would take a half full 80gig drive to finish defragmenting. Thanks!
     
  2. Nic

    Nic Sleepy Head

    Likes Received:
    17
    Trophy Points:
    38
    Volumes become fragmented as users create and delete files and folders, install new software, or download files from the Internet. Computers typically save files in the first contiguous free space that is large enough for the file. If a large enough free space is not available, the computer saves as much of the file as possible in the largest available space and then saves the remaining data in the next available free space, and so on.

    After a large portion of a volume has been used for file and folder storage, most of the new files are saved in pieces across the volume. When you delete files, the empty spaces left behind fill in randomly as you store new ones.

    The more fragmented the volume is, the slower the computer's file input/output performance will be

    So defrag makes them as contiguous as possible therefore boosting speed and also a little bit of space I think.. BTW all that was just took from windows help. Ive read it a few time as I always forget
     
  3. Exfoliate

    Exfoliate Geek Trainee

    Likes Received:
    166
    Trophy Points:
    0
    Okay, thanks Nic! very nice, so it's not that great to defragment? "the slower the computer's file input/output performance will be" Gee doesn't seem worth it then.
     
  4. Waffle

    Waffle Alpha Geek

    Likes Received:
    38
    Trophy Points:
    0
    No.."The more fragmented the volume is, the slower the computer's file input/output performance will be"

    its good to do about once a week. Thats what i do anyway :)
     
  5. Exfoliate

    Exfoliate Geek Trainee

    Likes Received:
    166
    Trophy Points:
    0
    Ah, should've noticed that, so is this the idea.

    [​IMG]
     
  6. Nic

    Nic Sleepy Head

    Likes Received:
    17
    Trophy Points:
    38
    Yes..but how the hell did you get it like that???
     
  7. Big B

    Big B HWF Godfather

    Likes Received:
    145
    Trophy Points:
    63
    This depends on how much you install/uninstall/reinstall, download, delete, etc. For most people, if they're not add/removing tons of little files, then, it's less likely to get fragmented.
     
  8. Exfoliate

    Exfoliate Geek Trainee

    Likes Received:
    166
    Trophy Points:
    0
    I dunno, just defragged it 2x, took awhile and I don't even notice a thing, maybe it helps searches and stuff.
     
  9. Anti-Trend

    Anti-Trend Nonconformist Geek

    Likes Received:
    118
    Trophy Points:
    63
    If you'll humor me, I'll explain fragmentation using a metaphor. Imagine that data is stored in books (a big stretch, I know :)), and that a hard drive is a library. When you [your OS] wants to read a book [program], you tear pages out and leave them lying around. When you want to add more pages [install more software], you throw the pages in the closest available position relative to where you're standing in the library. Pretty soon, it will start looking more like ground-zero than a library. This is where defragmentation comes in. Basically, it picks up all the loose pages [file fragments], puts them back in the books, and files them where they're supposed to be.

    Now, it should be apparent to you at this point that this is not the most efficient way to read books. Leaving pages in the most convenient space relative to yourself may save a second or two at the time (or maybe not), but when you go back for that information later it takes a lot longer to get the same info. Pretty soon, you can actually start losing information!

    Just like the library metaphor, there are much more ideal ways of handling your data than carelessly throwing it around. By simply keeping things organized in the first place, you can actually eliminate the need for defragmentation. The NTFS filesystem is indeed a step forward for Microsoft, as it handles data in a much more contiguous fashion than the older FAT filesystems, as well as being much more resistant to damage. However, as you have seen it still leaves much to be desired. There exist today at least a dozen filesystems which are technically superior to NTFS, most of which being open standards, but Microsoft refuses to implement any of them. The Reiser filesystem, for instance, is faster, more stable, more scalable, and more resistant to damage than the NTFS filesystem. Most filesystems today are self-maintaining, the only major major exception I can think of being NTFS.

    Let me make it clear that my reason for relating this information is neither MS bashing nor Linux advocacy. I simply wanted to make it known that severe filesystem fragmentation is not a technical problem that all computing in general suffers from, merely one software vendor in particular.

    -AT
     
    Exfoliate likes this.
  10. ninja fetus

    ninja fetus I'm a thugged out gangsta

    Likes Received:
    65
    Trophy Points:
    48
    very good post AT
     
  11. zRoCkIsAdDiCtInG

    zRoCkIsAdDiCtInG HWF Guitar Freak

    Likes Received:
    98
    Trophy Points:
    0
    holy crap u needed that defrag, w-o-w
     
  12. Exfoliate

    Exfoliate Geek Trainee

    Likes Received:
    166
    Trophy Points:
    0
    Nice post AT! Great metaphore dude, that's a great run though. If you ask me it should become a sticky!
     

Share This Page