1. Welcome to TechPowerUp Forums, Guest! Please check out our forum guidelines for info related to our community.

How to defrag a HDD properly

Discussion in 'Storage' started by Mussels, Apr 13, 2010.

  1. Mussels

    Mussels Moderprator Staff Member

    Joined:
    Oct 6, 2004
    Messages:
    46,047 (9.66/day)
    Thanks Received:
    13,702
    Location:
    Australalalalalaia.
    i have a step by step guide - with pictures - in the first post
     
    10 Year Member at TPU
  2. fullinfusion

    fullinfusion Vanguard Beta Tester

    Joined:
    Jan 11, 2008
    Messages:
    9,498 (2.66/day)
    Thanks Received:
    3,326
    I seen that Mussles and thank you, But I just need to know what every setting I need to click just to do a regular Defrag on my main drive.

    My game drive is optimized but the OS drive I cant make any sense of all the settings.
     
  3. shevanel

    shevanel New Member

    Joined:
    Jul 27, 2009
    Messages:
    3,464 (1.15/day)
    Thanks Received:
    407
    Location:
    Leesburg, FL
    question, should all the windows folder be done through high performance like you do with games?
     
  4. Mussels

    Mussels Moderprator Staff Member

    Joined:
    Oct 6, 2004
    Messages:
    46,047 (9.66/day)
    Thanks Received:
    13,702
    Location:
    Australalalalalaia.
    IMO yes, but then again IMO, you should have windows on another partition, or physical drive to your games.
     
    10 Year Member at TPU
  5. shevanel

    shevanel New Member

    Joined:
    Jul 27, 2009
    Messages:
    3,464 (1.15/day)
    Thanks Received:
    407
    Location:
    Leesburg, FL
    I have had this U defrag working great one time but the last two machines I have put it on I have had some issues.. It says "moving closer to MTF" or something like that and it just stays there for hours...

    I need to get a new hdd for this laptop.. this 5400RPM is ridiculously slow.
     
    Last edited: Sep 3, 2010
  6. Mussels

    Mussels Moderprator Staff Member

    Joined:
    Oct 6, 2004
    Messages:
    46,047 (9.66/day)
    Thanks Received:
    13,702
    Location:
    Australalalalalaia.
    i've had the same bug with that, uncheck the box about moving directories close to the MFT and it stops happening.
     
    shevanel says thanks.
    10 Year Member at TPU
  7. shevanel

    shevanel New Member

    Joined:
    Jul 27, 2009
    Messages:
    3,464 (1.15/day)
    Thanks Received:
    407
    Location:
    Leesburg, FL
    I'm going to use auslogics until I reinstall 7 and split my partions and/or upgrade this hdd ..
     
  8. shevanel

    shevanel New Member

    Joined:
    Jul 27, 2009
    Messages:
    3,464 (1.15/day)
    Thanks Received:
    407
    Location:
    Leesburg, FL
    that box was already un ticked...
     
  9. CJCerny

    CJCerny

    Joined:
    Nov 25, 2008
    Messages:
    922 (0.28/day)
    Thanks Received:
    282
    Location:
    Akron, OH
    Seagate Momentus XT
     
    shevanel says thanks.
  10. theubersmurf

    theubersmurf

    Joined:
    Mar 11, 2009
    Messages:
    865 (0.27/day)
    Thanks Received:
    101
    Location:
    Dawn
    The application was worth buying (for me), thanks for the suggestion.
     
  11. RejZoR

    RejZoR

    Joined:
    Oct 2, 2004
    Messages:
    12,044 (2.53/day)
    Thanks Received:
    5,616
    Location:
    Europe\Slovenia
    You need just two freeware tools. CCleaner and Defraggler. First one is used to clean the junk which makes the work of the second tool Defraggler much easier and effective.
     
    10 Year Member at TPU
  12. Mussels

    Mussels Moderprator Staff Member

    Joined:
    Oct 6, 2004
    Messages:
    46,047 (9.66/day)
    Thanks Received:
    13,702
    Location:
    Australalalalalaia.
    defraggler is a very basic defragger, none of the advanced options.
     
    10 Year Member at TPU
  13. TheMailMan78

    TheMailMan78 Big Member

    Joined:
    Jun 3, 2007
    Messages:
    22,349 (5.89/day)
    Thanks Received:
    9,095
    Location:
    'Merica. The Great SOUTH!
    I've never had an issue with defragger. Its slow on degragging restore files however. Other then that its great.
     
    10 Year Member at TPU
  14. Mussels

    Mussels Moderprator Staff Member

    Joined:
    Oct 6, 2004
    Messages:
    46,047 (9.66/day)
    Thanks Received:
    13,702
    Location:
    Australalalalalaia.
    yeah, but as i've said a few times in this thread: there is a big differnce between defragging fragmented files, and reorganising them/your MFT for better performance.

    if you have all files within your games folder located physically next to each other, seek times are cut back - whereas they could be 'defragmented' but having 1000 files scattered all over the drive, it still takes time to locate and read them all.
     
    10 Year Member at TPU
  15. TheMailMan78

    TheMailMan78 Big Member

    Joined:
    Jun 3, 2007
    Messages:
    22,349 (5.89/day)
    Thanks Received:
    9,095
    Location:
    'Merica. The Great SOUTH!
    Ok but your talking nano seconds here. Not worth the price of the software.
     
    10 Year Member at TPU
  16. Mussels

    Mussels Moderprator Staff Member

    Joined:
    Oct 6, 2004
    Messages:
    46,047 (9.66/day)
    Thanks Received:
    13,702
    Location:
    Australalalalalaia.
    ... no.

    HDD seek time is in milliseconds, if your drive averages 12 milliseconds, thats 12 milliseconds per file it has to find.


    as an example, my company of heroes folder has 536 files.

    [​IMG]

    if it had to go seeking through even half of those, thats an extra 3 seconds on whatever its doing (probably, loading the game/map etc) on top of how long it takes due to the files size (throughput). thats normal, if they're in sequential order.

    my estimation (12ms times 250 files) assumes that they're still in sequential order on the disk (sequential read), if they're scattered all to hell that could go well higher. i'll try and find a normal reading for random reads vs sequential.

    [​IMG]

    according to everest, its almost double - so instead of being 3 seconds, its 6. if your game takes 20 seconds to load, it could be halved to 10s, being placed sequentially, as opposed to randomly - even if fully defragged.


    is it going to make a large difference? depends on the game, and how many files it has (and how badly they're scattered)
     
    10 Year Member at TPU
  17. RejZoR

    RejZoR

    Joined:
    Oct 2, 2004
    Messages:
    12,044 (2.53/day)
    Thanks Received:
    5,616
    Location:
    Europe\Slovenia
    Actually that's not entirely true. And Defraggler does that as well. It's called defragmentation and consolidation. Pretty much all programs do it these days. First stage makes sure files are in fact consisting of 1 fragment (so they aren't actually fragmented). Then it makes sure they are packed together so there isn't any free space in between and that files from same folders are also located together. MFT fragmentation is problematic to some degree, however it is only related to a seek position of the file inside the file system. It's not big either so unless it's in like 50.000 fragments, it shouldn't cause any noticeable slowdowns. It's much more problematic having files physically scattered across the drive, meaning the read/write head will have to travel large distances between physical locations.
     
    10 Year Member at TPU
  18. Mussels

    Mussels Moderprator Staff Member

    Joined:
    Oct 6, 2004
    Messages:
    46,047 (9.66/day)
    Thanks Received:
    13,702
    Location:
    Australalalalalaia.
    i did a big edit to the post above, rejzor. had some of it in the wrong order.

    consolidation is not the same as reordering the files, thats merely compacting all the data towards the start of the disk. Udefrag can sort by folder name (so all files in D:\games\Starcraft II\ are physically near each other, which is far superior to merely being randomly shoved as close as possible to the start of the drive.

    If you can find me details on defraggler actually sorting them properly, then by all means - thats great.
     
    10 Year Member at TPU
  19. TheMailMan78

    TheMailMan78 Big Member

    Joined:
    Jun 3, 2007
    Messages:
    22,349 (5.89/day)
    Thanks Received:
    9,095
    Location:
    'Merica. The Great SOUTH!
    That doesnt hold water. That means it would take a grand total of 3 second to load 50% of the files.

    First off most game do not load 50% of the total files at one single time during gameplay.
    Second if it did it would only take the total of the "3 seconds" to load. Big deal. 3 seconds vs 2.5 seconds.

    Edit: Time in half? I HIGHLY doubt that.
     
    10 Year Member at TPU
  20. Mussels

    Mussels Moderprator Staff Member

    Joined:
    Oct 6, 2004
    Messages:
    46,047 (9.66/day)
    Thanks Received:
    13,702
    Location:
    Australalalalalaia.
    no, its 3s of seek time, added on to the time it takes for the data.

    if it takes 20s to move 5GB, then its going to take 23s due to the delays from seeking (20S for a 5GB single file, as opposed to 23s for 5GB in 250 files)


    if you dont beleive me, find a collection you have with large amounts of small files. try moving it somewhere, and then raring or zipping them and moving that. the compressed file always goes quicker, since there is only one file (and if its defragmented) - no seeking to worry about.
     
    10 Year Member at TPU
  21. TheMailMan78

    TheMailMan78 Big Member

    Joined:
    Jun 3, 2007
    Messages:
    22,349 (5.89/day)
    Thanks Received:
    9,095
    Location:
    'Merica. The Great SOUTH!
    Ok 23 seconds vs 22.5 seconds. Really you think thats worth buying the software?

    Thats consolidation. Defrags don't work like that.
     
    10 Year Member at TPU
  22. Mussels

    Mussels Moderprator Staff Member

    Joined:
    Oct 6, 2004
    Messages:
    46,047 (9.66/day)
    Thanks Received:
    13,702
    Location:
    Australalalalalaia.
    where'd you get that number from?

    with the example i gave above, its 3 vs 6 seconds. I also clearly stated that a game with more loose files would be slower.

    [​IMG]

    How about that? could save you 10-15 seconds of loading time.


    if its WORTH it, is up to you... but since you defrag in the first place, dont you ALREADY think its worth it?

    i've already pointed out some of your misconceptions (thinking it was in nanoseconds) so please, look into your HDD - its random vs sequential read speeds in MB/s, as well as its access times, the amount of files in the games you play and do the math yourself. if the math shows you'll save an amount of time you care about, then its worth it - and if its not, its not.

    in my case, waiting around for games to load bores me to death - so yes, it matters to me. i didnt buy a hexa core and a 5870 to sit staring at loading screens.
     
    10 Year Member at TPU
  23. TheMailMan78

    TheMailMan78 Big Member

    Joined:
    Jun 3, 2007
    Messages:
    22,349 (5.89/day)
    Thanks Received:
    9,095
    Location:
    'Merica. The Great SOUTH!
    I put "nano seconds" as an exaggeration. Anyway what you are saying is if the over all load time is 30 seconds I could get it down to 15 seconds? 50% reduction by reorganizing the files?
     
    10 Year Member at TPU
  24. Mussels

    Mussels Moderprator Staff Member

    Joined:
    Oct 6, 2004
    Messages:
    46,047 (9.66/day)
    Thanks Received:
    13,702
    Location:
    Australalalalalaia.
    it varies really, since i have no way of knowing how many files the game actually loads, i cant give you accurate figures.

    is a 15s reduction possible? yes. but its certainly not going to happen in every game, only the big ones with hundreds (or thousands) of files.
     
    10 Year Member at TPU
  25. TheMailMan78

    TheMailMan78 Big Member

    Joined:
    Jun 3, 2007
    Messages:
    22,349 (5.89/day)
    Thanks Received:
    9,095
    Location:
    'Merica. The Great SOUTH!
    You are talking about a 50% reduction in load time man. Think about that. I'm not saying you are wrong about the load reduction. I just think you might see a 10% improvement at best.
     
    10 Year Member at TPU

Currently Active Users Viewing This Thread: 1 (0 members and 1 guest)