Question Locked

Optimize drives

0 helpful
11 replies
Closed to new repliesThis discussion is closed. It stays readable, but it takes no new replies.

Win 10 20h2
Single ssd system

If I bring up the optimize screen I see the number of days since last optimization.

I have optimize set to run weekly.

The number of days since last optimize increases daily until it gets to 10/14 days then it shows 'needs optimization' and stays that way.

Is that the way it's suppose to work?
I had expected the count to return to zero and start over.

If I click the optimize button it sends a bunch of trim commands to the ssd so that seems to work.

11 replies

by bob.b

I had read that article.
The article is a few years old and stuff has changed.

I don't want to defrag the ssd......move files around.

It's possible for the trim command to get lost so that's the reason to send the retrim command.....daily/weekly/monthly.

Has to do with write amplification.......nerdy stuff.

I was just curious if what I was seeing was normal.

by rproffitt

I haven't heard this is a problem. TRIM is enabled on W10 by default and so far I've yet to find it "get lost." I've had W10 laptops at the office running for years and not one is reporting "needs optimizing."

by bob.b

Reason for.....lost original trim.

As far as Retrim is concerned, this command should run on the schedule specified in the dfrgui UI. Retrim is necessary because of the way TRIM is processed in the file systems. Due to the varying performance of hardware responding to TRIM, TRIM is processed asynchronously by the file system. When a file is deleted or space is otherwise freed, the file system queues the trim request to be processed. To limit the peek resource usage this queue may only grow to a maximum number of trim requests. If the queue is of max size, incoming TRIM requests may be dropped. This is okay because we will periodically come through and do a Retrim with Storage Optimizer. The Retrim is done at a granularity that should avoid hitting the maximum TRIM request queue size where TRIMs are dropped.

https://www.hanselman.com/blog/the-real-and-complete-story-does-windows-defragment-your-ssd

by itsdigger

is from 2014 , maybe thing's did change after that in 2017?

by rproffitt

Windows 10 seems to be not losing it for us at the office.

Let me share that we have gone 100% SSD, all Windows 10 in a mix of Home and Pro and not one has reported "needs optimizing" or similar messages.

Then again they all perform quite well so what are we digging into here?

by kees_b

After reading this thread, I had a look in the properties of my c:-drive (an SSD) in Windows 10. It said it was optimized 11 days ago, so it should be done again. I did, for a very short time it said something about Retrim, and now the status is OK. I had set it do it never automatically.
I'll check next month and if it's not OK then, I'll schedule a monthly automatic optimizing.

by bob.b

I'm looking for why my status changes to 'needs optimization' even though I have it set to run weekly.

It may not send the retrim weekly if it's not needed but at some point the retrim would be sent and the counter would reset and start over.

This looks like it gets to a certain point and then stops and waits for a manual retrim.

Since your pc functions does this show as a scheduled task in task scheduler?
If so what is it called?

When this runs does it show in event viewer?
If so what is it called?

by bob.b

If you look at the web there are all kinds of opinions about how this functions.

by rproffitt

Down the rabbit hole we go. I can't commit much time here but will try to look at the office armada for examples. It's not a high priority since we are getting stellar performance on all the SSD equipped models (about 98% of the fleet now.)

This discussion is closed to new replies.