Optimize drives

By BOB.B ·
Tags: Windows
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.
Thread display: Collapse - | Expand +

All Answers

Collapse -


by BOB.B In reply to I think Win 10 does it au ...

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.

Collapse -

Source please.

by rproffitt Moderator In reply to Yup

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."

Collapse -


by BOB.B In reply to Source please.

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.

Collapse -

The link you supplied

by itsdigger In reply to Retrim

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

Collapse -

That information looks dated.

by rproffitt Moderator In reply to Retrim

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?

Collapse -

Re: dated

by Kees_B Moderator In reply to That information looks da ...

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.

Collapse -

Digging into

by BOB.B In reply to That information looks da ...

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?

Collapse -

Lots of confusion here

by itsdigger In reply to Digging into
Collapse -

Sure is

by BOB.B In reply to Lots of confusion here

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

Related Discussions

Related Forums