New
#11
You never have to defrag an SSD;
Should You Or Should You Not Defrag An SSD - EaseUS
You never have to defrag an SSD;
Should You Or Should You Not Defrag An SSD - EaseUS
Perhaps some confusion so please bear with me.
(1) Need a Windows-10 unit running for more than a month AND
(2)One in which the Disk Optimizer has been enabled for SSD (per MS this behaves differently for SSD and Spinners) AND
(3)System Restore is enabled
Goal with the Powershell script is to see if MS defrags SSD even though it is supposed to just Optimize.
Thanks for your assistance.
@NavyLCDR, @Rocky - Yes, aware of defrag of SSD, using the term loosely. Win-10 has Optimize that is supposed to Trim SSD and Defrag Spinner.
Last edited by nkaufman; 05 Feb 2017 at 11:02.
That's not what the Microsoft WIndows Storage team say (at least not reputedly in 2014).
From here:
The real and complete story - Does Windows defragment your SSD? - Scott Hanselman
The point being (I think) that the tables in the file system are affected by fragmentation, even if the actual files aren't.Storage Optimizer will defrag an SSD once a month if volume snapshots are enabled. This is by design and necessary due to slow volsnap copy on write performance on fragmented SSD volumes. It’s also somewhat of a misconception that fragmentation is not a problem on SSDs. If an SSD gets too fragmented you can hit maximum file fragmentation (when the metadata can’t represent any more file fragments) which will result in errors when you try to write/extend a file. Furthermore, more file fragments means more metadata to process while reading/writing a file, which can lead to slower performance.
Thank you David. That is the point that I was trying to make.
And it seems that there is a way to find out if Windows is actually defragging SSD instead of Trim.
Vadim (the guy who researched this issue in detail) seems to claim that the same is true for Windows-10 and hence my request to find out from people who have had win-10 running for over a month (provided ALL 3 conditions laid out in my previous post are met). Mine is a new machine and hence does not have the same data.
I have had Windows 10 running on the same SSD for just about 2 years now and I have never done any maintenance to my SSD.
I will work on it. It seems that copy and paste ain't working into my power shell.
First thing to note is that this one of those little 32GB devices, and I don't think it's a "true" SSD.
Also, I may have run Optimise myself manually at times. But also I have a main laptop which I do most of my stuff on, so this doesn't get switched on every day so can go for a few weeks without being switched on. So it's difficult to conclude much from the dates.
Because of the small disk space, it's still on Windows 10 1511 - I'll need to do some work to upgrade it to 1607, but that does mean it's been running a while in this configuration.
That said, here's the powershell results.
Code:TimeGenerated : 14/01/2017 23:16:07 Message : The storage optimiser successfully completed re-trim on My_C_Drive (C:) TimeGenerated : 03/12/2016 01:28:42 Message : The storage optimiser successfully completed defragmentation on Recovery TimeGenerated : 26/11/2016 10:23:17 Message : The storage optimiser successfully completed re-trim on My_C_Drive (C:) TimeGenerated : 26/11/2016 10:23:17 Message : The storage optimiser successfully completed defragmentation on My_C_Drive (C:) TimeGenerated : 26/11/2016 10:23:17 Message : The storage optimiser successfully completed defragmentation on Recovery TimeGenerated : 18/11/2016 21:11:23 Message : The storage optimiser successfully completed defragmentation on Recovery TimeGenerated : 06/11/2016 10:33:17 Message : The storage optimiser successfully completed defragmentation on Recovery TimeGenerated : 23/10/2016 13:22:22 Message : The storage optimiser successfully completed re-trim on My_C_Drive (C:) TimeGenerated : 23/10/2016 13:22:22 Message : The storage optimiser successfully completed defragmentation on My_C_Drive (C:) TimeGenerated : 23/10/2016 13:22:22 Message : The storage optimiser successfully completed defragmentation on Recovery TimeGenerated : 25/09/2016 14:28:49 Message : The storage optimiser successfully completed defragmentation on Recovery TimeGenerated : 11/09/2016 12:01:15 Message : The storage optimiser successfully completed defragmentation on Recovery TimeGenerated : 06/09/2016 10:51:12 Message : The storage optimiser successfully completed defragmentation on Recovery TimeGenerated : 31/08/2016 11:03:18 Message : The storage optimiser successfully completed re-trim on My_C_Drive (C:) TimeGenerated : 31/08/2016 11:03:18 Message : The storage optimiser successfully completed defragmentation on My_C_Drive (C:) TimeGenerated : 31/08/2016 11:03:18 Message : The storage optimiser successfully completed defragmentation on Recovery TimeGenerated : 07/08/2016 01:37:07 Message : The storage optimiser successfully completed defragmentation on Recovery TimeGenerated : 09/07/2016 19:54:05 Message : The storage optimiser successfully completed re-trim on My_C_Drive (C:) TimeGenerated : 09/07/2016 19:54:05 Message : The storage optimiser successfully completed defragmentation on My_C_Drive (C:) TimeGenerated : 09/07/2016 19:54:05 Message : The storage optimiser successfully completed defragmentation on Recovery TimeGenerated : 30/06/2016 21:06:03 Message : The storage optimiser successfully completed defragmentation on Recovery TimeGenerated : 12/06/2016 13:50:15 Message : The storage optimiser successfully completed defragmentation on Recovery TimeGenerated : 05/06/2016 01:14:22 Message : The storage optimiser successfully completed re-trim on My_C_Drive (C:) TimeGenerated : 05/06/2016 01:14:22 Message : The storage optimiser successfully completed defragmentation on My_C_Drive (C:) TimeGenerated : 05/06/2016 01:14:22 Message : The storage optimiser successfully completed defragmentation on Recovery TimeGenerated : 15/04/2016 09:37:36 Message : The storage optimiser successfully completed re-trim on My_C_Drive (C:) TimeGenerated : 15/04/2016 09:37:36 Message : The storage optimiser successfully completed defragmentation on My_C_Drive (C:) TimeGenerated : 15/04/2016 09:37:36 Message : The storage optimiser successfully completed defragmentation on Recovery