Windows 10: Do I need to defrag Windows 10?

Discus and support Do I need to defrag Windows 10? in Windows 10 Performance & Maintenance to solve the problem; So my Samsung 120GB SSD should NEVER be defragged? How come? And what happens if it is defragged? You just don't want to overdo actual full... Discussion in 'Windows 10 Performance & Maintenance' started by Yeremyah, Oct 10, 2015.

  1. Word Man Win User

    Do I need to defrag Windows 10?


    You just don't want to overdo actual full defragmentation of SDDs because of their limited writes capacity. If it is defragged fully, once or twice, I'm sure some nerd out there has calculated how many terabytes of writes that is compared to the 75 TB or 150 TB or whatever TB write lifetime of your SSD is. This is not the outlandish concern it was when SSDs first came out but it's still the case that you don't want to squander your finite budget of lifetime writes on unnecessary writes like you could get away with (and enriching 3rd party defragger sales too) on HDDs. In addition, but more importantly in the short term, it could probably do much worse by plugging up the file structures and overqueueing TRIM requirements to where it severely impacts functionality, depending on how much fragment consolidation and movement is needed. And "need" is an operative word here, where the "needs" of an SSD are quite different from the "needs" of an HDD.

    Windows "Optimize Drives" tool - note they don't use the word defragment any more - will treat your SSD appropriately by doing trims as scheduled and, as necessary if you have system restore enabled, a limited amount of defragmentation on a monthly basis.

    You can read the good article on this by Scot Hanselman by following the "Source" link in Halasz' next to last sentence of post # 3.
     
    Word Man, Oct 11, 2015
    #16
  2. Word Man Win User

    That article plays off of Hanselman's article. I read the lifehacker one some time back and don't recall I thought much other than, oh, they're building off Hanselman.

    P.S. - I had my salad years with many 3rd party defragmenters, both paid and free, and eventually came to the conclusion I was just spending money and/or time more or less playing a video game and didn't really see a real world benefit from all the endless defragmenting, i.e., that a weekly or even monthly auto defrag/optimization by Windows' built-in tool was more than sufficient - and still is, for HDD or SSD either one.
     
    Word Man, Oct 11, 2015
    #17
  3. Yeremyah Win User
    So... let Windows 10 defrag the SSD once per month, because the W10 Defrag knows how to defrag the SSD drives correctly? So I can set an auto schedule for W10 to defrag the SDD once per month?
     
    Yeremyah, Oct 11, 2015
    #18
  4. Word Man Win User

    Do I need to defrag Windows 10?

    I think default set up is weekly in the Windows tool and I have left mine that way with no ill effect I can see - I assume that 3 times out of 4.33 (weeks in a month) it is only doing a TRIM. The monthly frequency Hanselman talks about is for that special limited defragmentation Windows may do on an SSD and I don't know if that frequency can be changed or varies as needed for something extraordinary going on with the SSD.

    If I do a large movement of files or had to do a restore for some reason, I may opt to just pull up the Optimize Drives tool and run it manually just to catch up on TRIMs it may benefit from.

    P.S. - I just wouldn't use the word "defrag" too much any more when talking about SSDs because it seems to set a lot of people's hair on fire... *Wink
     
    Word Man, Oct 11, 2015
    #19
  5. When I set up my desktop last year, upon returning to the US, I did basically the same thing. I added a 3 Terabyte (partitioned) drive as my secondary drive. If I had it to do over again, I would have made the secondary drive a SSD as well. The SSD drive has to wait for the platter drive to spin up. Live and learn.
     
    livingincebu, Oct 12, 2015
    #20
  6. CountMike New Member
    Throw in an older, IDE HDD in the mix and slow boot takes on another meaning !!
     
    CountMike, Oct 12, 2015
    #21
  7. Cliff S New Member
    Right click *Start >> Power Options >> Change plan settings >> change advanced power settings >> change settings currently unavailable >> High Performance >> and turn off "Link state Power Management" under PCI Express, and under Hard Disk set "Turn off hard disk after" to never.
     
    Cliff S, Oct 12, 2015
    #22
  8. altae Win User

    Do I need to defrag Windows 10?

    De-fragmentation of a SSD is useless by design. Fragmentation is only an issue of HDDs where the reading/writing head has to move all over the disks in order to "collect" the different parts that together build your data (e.g. the audio files of an album). De-fragmentation does the following: It "collects" the different parts of your data and rearranges them so they are stored subsequently on the disks meaning the head does not have to move that much in order to read out the data which leads to faster reading speeds.

    For an SSD on the other hand fragmentation is not an issue. It reads fragmented data just as fast as not fragmented data. So besides reducing the SSD's lifetime de-fragmentation would also be completely useless.

    SSD's have another issue though. They can write onto the entire storage but they can only delete entire blocks (can't remember the exact details right now but you can google it, just look up trim on Wikipedia). That's what trim is for. So what happens is with time there are a lot of incomplete blocks on your SSD, partially filled with valid data, partially filled with data marked for deletion. But that data cannot be physically deleted because the blocks still contain valid data. Now trim comes into play and rearranges the data so all the valid data is stored in a way it fills up as much entire blocks as possible, leading to the "marked for deletion" data also filling up entire blocks. And now those entire blocks can finally be physically deleted making room for new data.

    In short words: De-fragmentation of SSDs does nothing useful but (in theory) destroys your drive.
     
    altae, Oct 13, 2015
    #23
  9. CountMike New Member
    On HDDs, some of what may appear to be fragmentation is by design. Some programs (MS Office, data bases etc.) leave empty blocks at the end of data files so those files could be expanded linearly and so speed up their loading and writing to. Windows usually report less of fragmentation than other, third party defrag programs because partly of that.
     
    CountMike, Oct 13, 2015
    #24
  10. Word Man Win User
    But, as has been discussed earlier in the thread, it's not as simple as that: http://www.hanselman.com/blog/TheRea...ntYourSSD.aspx
    I think we need to draw a finer distinction on this thinking, that's exactly why "defrag" and SSD in the same sentence seems so inflammatory.
     
    Word Man, Oct 13, 2015
    #25
  11. CountMike New Member
    I think it's more down to comparing defragmentation on mechanical HDDs and SSDs, it's not the same thing.
     
    CountMike, Oct 13, 2015
    #26
  12. Word Man Win User
    Totally agreed - and also a little a bit, when it comes to what's needed for optimization side of things, newer SSDs versus older SSDs and new OS's versus older OS's.
     
    Word Man, Oct 13, 2015
    #27
  13. Do I need to defrag Windows 10?

    Word of Caution Based On An Experience This Week...

    I've used a third party defragmenter called Piriform Defraggler without any trouble for 5 years with Windows 7 home P.C.s.

    After upgrading from Win7 to Win10 on one P.C., it worked very sluggishly, even though I had Win10's built in defragmenter turned off. But, it got the job done of moving video files to the end of the drive, which is why I liked it so much.

    Two nights ago, I ran the "Boot Time Defrag" function. The PC shut down, restarted, started defragging the (? can't think of what they're called) files and then the Win10 O.S. locked up with a black screen for hours. Tried every fix I could find here in the forum and on the internet. Finally had to totally erase and reinstall using the original 2010 Win-7 O.S. that came with this HP desktop. Five years of "stuff", all gone. But, upgrading back to Win10 was easier and there were no conflicts along the way, or since upgrading. Took an entire day though.

    So what's the lesson from this story? Stay away from any application that isn't Win10 certified by the vendor? Maybe that's not even enough, because a quick check of Defraggler - Download indicates that Defraggler IS Win10 certified. At any rate...just be careful! If a program acts "strange" on Windows10, it could be the prelude to something very unfortunate coming your way.
     
    AllenChicago, Oct 29, 2015
    #28
  14. fdegrove Win User
    Hi,

    I take it this was on a HDD not a SSD ?
    Either way, running boot time defragmentation to defrag the MFT and pagefile is ALWAYS a risk and the defragmentation software should warn you about that.
    Oh, and if that drive is a GPT one you can bet your life on it that you're going to be in trouble doing a boot time defrag with most defrag software.

    Sorry to hear the worst happened to you but I'm sure this has nothing to do with Win 10, this can happen on any OS really.

    And no, you should not run a defragmentation program that's not SSD aware on a SSD. It's useless and other than wearing the drive out unnecessarily it won't bring you any advantage whatsoever.
    SSDs rely on TRIM, Garbage Collection and in most cases (bar the Sandforce controllers) on over provisioning to keep house and that's all taken care of by both the OS (provided it supports TRIM) and the drive's controller logic.
    SSDs that still require over provisioning come with part of the capacity set aside to do exactly that, bar some really old ones, you don't need to set aside a chunk of the drive for that, it's all take care of out of the box so to speak.

    Cheers, *Wink
     
    fdegrove, Oct 29, 2015
    #29
  15. fdegrove Win User
    Hi,

    That very much depends on how the defragmentation software is designed. I.e. it should prevent fragmentation to begin with and then we're talking.
    That said my favourite one no longer runs on Win 10 and I use only SSD now anyhow.
    Still, under W7 and below it worked great on both HDD and SSD just the same. I sorely miss it.

    But saying that W10 does no longer benefit from defragmentation ? Really ?

    Cheers, *Wink
     
    fdegrove, Oct 29, 2015
    #30
Thema:

Do I need to defrag Windows 10?

Loading...
  1. Do I need to defrag Windows 10? - Similar Threads - need defrag

  2. Need help with “application not been provisioned” error.

    in Windows 10 Gaming
    Need help with “application not been provisioned” error.: Hello Microsoft Community, I recently turned on my computer and i am unable to open windows settings, or use the search bar the only windows apps i can use is task manager and CMD. I have tried many attempts to fix this but have had no success. My SCF won’t stop repeated that...
  3. Need help with “application not been provisioned” error.

    in Windows 10 Software and Apps
    Need help with “application not been provisioned” error.: Hello Microsoft Community, I recently turned on my computer and i am unable to open windows settings, or use the search bar the only windows apps i can use is task manager and CMD. I have tried many attempts to fix this but have had no success. My SCF won’t stop repeated that...
  4. 2004 New Bug - Defrag now forgets days since defrag - Always sez Needs Defrag - Well done!

    in Windows 10 Network and Sharing
    2004 New Bug - Defrag now forgets days since defrag - Always sez Needs Defrag - Well done!: Subject sez it all -- What changed? Joe https://answers.microsoft.com/en-us/windows/forum/all/2004-new-bug-defrag-now-forgets-days-since-defrag/725bb7e8-84e8-4396-a2d3-74bafb6660c8
  5. need help with defrag and optimize issue in win 10

    in Windows 10 BSOD Crashes and Debugging
    need help with defrag and optimize issue in win 10: will run defrag but after running and rebooting the computer it will show [ATTACH]o any help will be appreciated to get it fixed https://answers.microsoft.com/en-us/windows/forum/all/need-help-with-defrag-and-optimize-issue-in-win-10/984b71c4-4219-4bff-9b30-03c6c7ae6463
  6. Defragging a mechanical HDD - How much free space do you need?

    in Windows 10 Network and Sharing
    Defragging a mechanical HDD - How much free space do you need?: So, some people, such as the person in this article: https://www.howtogeek.com/324956/how-much-free-space-should-you-leave-on-your-windows-pc/ Are suggesting 15% free space for a mechanical hard drive defrag. However, I believe it was here or else where that people are...
  7. Do I need to defrag the hard disk even if I format the hard disk

    in Windows 10 Performance & Maintenance
    Do I need to defrag the hard disk even if I format the hard disk: My hard disk need defragmentation. But if I create a macrium reflect backup and then restore this back up instead of defragmentation. Whether there will be any need for defragmentation now, because while restoring, all files will be re-written now. 113689
  8. Does I need to defrag the hard disk even if I format the hard disk.

    in Windows 10 Performance & Maintenance
    Does I need to defrag the hard disk even if I format the hard disk.: My hard disk need defragmentation. But if I create a macrium reflect backup and then restore this back up instead of defragmentation. Whether there will be any need for defragmentation now, because while restoring, all files will be re-written now. 113689
  9. Do I Need to Periodically Defragment a SSD?

    in Windows 10 Performance & Maintenance
    Do I Need to Periodically Defragment a SSD?: Hello everyone. Me again :-) I have another question: I recently replaced my primary HD (gave up the ghost) and decided to go with a SSD this time (and let me tell ya, my comp boots up sooo much faster now). Anyway, I use a program called, "BoostSpeed" that optimizes...
  10. Do I need to defrag my Hard Drive?

    in Windows 10 Performance & Maintenance
    Do I need to defrag my Hard Drive?: I have this SSD hard drive: Samsung SSD 650 Series 2.5" SATA 120GB | for Business Do I need to defrag it? If so, what do I use to defrag it and how often? 27676