SSD optimization via defrag

tweakboy

Diamond Member
Jan 3, 2010
9,517
2
81
www.hammiestudios.com
Now with windows 8 ... readyboost is gone. Superfetch is there and should be left on by default even if you have a SSD. Soo I launched the defrag app and to my surprise it detected my SSDs and gave me option to optimize them,,,,,,, I did,,,,, it takes seconds at most.......

So for those without software that comes with SSD or don't want to use this is good, very good.
:colbert:
 

Coup27

Platinum Member
Jul 17, 2010
2,140
3
81
http://superuser.com/questions/479207/what-does-optimize-drives-do-in-windows-8

According to the link above, Windows 8 uses the Windows Assessment Tool (WinSAT) to determine whether drives are HDDs or SSDs. If a drive is detected as an SSD, then it will not run defrag on it but instead when you click "optimize" it will send the TRIM command to the drive. If a drive is detected as a HDD, then clicking optimize will defrag it.

tweakboy, emptying the recycle bin will also execute the TRIM command so I do not see the need for this optimizer. Samsung and Intel provided an optimizer with their toolboxes for XP users. Windows 7 and above don't need an external optimizer.

Edit: - http://www.eightforums.com/tutorials/8615-optimize-drives-defrag-hdd-trim-ssd-windows-8-a.html

More reading material. I can see this being semi useful for people who wish to schedule a weekly "optimize" on their SSD if emptying the recycle bin is beyond them but that's about it.
 
Last edited:

hhhd1

Senior member
Apr 8, 2012
667
3
71
AFAIK, deleting a file should trigger trim command, I do not see the point of having a dedicated tool to re-do TRIM.

It looks pretty useless to me, unless someone can come up with more info .. (maybe TRIM on delete doesn't always work ?)
 

Nothinman

Elite Member
Sep 14, 2001
30,672
0
0
AFAIK, deleting a file should trigger trim command, I do not see the point of having a dedicated tool to re-do TRIM.

It looks pretty useless to me, unless someone can come up with more info .. (maybe TRIM on delete doesn't always work ?)

Actually it makes more sense to TRIM in batch rather than issuing a TRIM command for every page that gets deleted. Doing it piecemeal like that could have a noticeable affect on performance for delete heavy workloads.
 

tweakboy

Diamond Member
Jan 3, 2010
9,517
2
81
www.hammiestudios.com
http://superuser.com/questions/479207/what-does-optimize-drives-do-in-windows-8

According to the link above, Windows 8 uses the Windows Assessment Tool (WinSAT) to determine whether drives are HDDs or SSDs. If a drive is detected as an SSD, then it will not run defrag on it but instead when you click "optimize" it will send the TRIM command to the drive. If a drive is detected as a HDD, then clicking optimize will defrag it.

tweakboy, emptying the recycle bin will also execute the TRIM command so I do not see the need for this optimizer. Samsung and Intel provided an optimizer with their toolboxes for XP users. Windows 7 and above don't need an external optimizer.

Edit: - http://www.eightforums.com/tutorials/8615-optimize-drives-defrag-hdd-trim-ssd-windows-8-a.html

More reading material. I can see this being semi useful for people who wish to schedule a weekly "optimize" on their SSD if emptying the recycle bin is beyond them but that's about it.


Sweet. good post, that is what I thought... it runs TRIM ... ... gosh I love this OS. lol
 

taltamir

Lifer
Mar 21, 2004
13,576
6
76
Actually it makes more sense to TRIM in batch rather than issuing a TRIM command for every page that gets deleted. Doing it piecemeal like that could have a noticeable affect on performance for delete heavy workloads.

I disagree. Trimming in a batch means delaying many trim operations which result in more read-modify-write operations which massively hurt performance.
A trim command is a very small and very light weight operation whose extra overhead is negligible compared to what it solves.
And the more delete heavy your workload is the more significant trim becomes as space is more likely to be reused and cause read-modify-write cycles)

AFAIK, deleting a file should trigger trim command, I do not see the point of having a dedicated tool to re-do TRIM.
Well, if a drive was used on a machine that did not support trim and then was moved to the win8 machine, then doing this manual trim is useful, as otherwise they will still have unnecessary read-modify-write cycles until the entire drive has been overwritten with data once using a trim capable OS

IIRC, if you delete a partition from within windows the unpartitioned space will not be trimmed until you make a new partition and format it.
So if you delte a partition and do not want to repartitioon that space you could run the tool to trim it to allow it to become spare space for the drive.
 
Last edited:

capeconsultant

Senior member
Aug 10, 2005
454
0
0
http://superuser.com/questions/479207/what-does-optimize-drives-do-in-windows-8

According to the link above, Windows 8 uses the Windows Assessment Tool (WinSAT) to determine whether drives are HDDs or SSDs. If a drive is detected as an SSD, then it will not run defrag on it but instead when you click "optimize" it will send the TRIM command to the drive. If a drive is detected as a HDD, then clicking optimize will defrag it.

tweakboy, emptying the recycle bin will also execute the TRIM command so I do not see the need for this optimizer. Samsung and Intel provided an optimizer with their toolboxes for XP users. Windows 7 and above don't need an external optimizer.

Edit: - http://www.eightforums.com/tutorials/8615-optimize-drives-defrag-hdd-trim-ssd-windows-8-a.html

More reading material. I can see this being semi useful for people who wish to schedule a weekly "optimize" on their SSD if emptying the recycle bin is beyond them but that's about it.


Excellent links, thanks! Now I get that 8 is smart regarding trim.
 

taltamir

Lifer
Mar 21, 2004
13,576
6
76
Why did someone create that defrag 7 thread... stupid!!!

but you created a win8 SSD defrag thread... and just general SSD defrag threads... and registry defrag threads... and... I am gonna go have a lie down now.