Cable Forum

Cable Forum (https://www.cableforum.uk/board/index.php)
-   General IT Discussion (https://www.cableforum.uk/board/forumdisplay.php?f=19)
-   -   SSD's (https://www.cableforum.uk/board/showthread.php?t=33707542)

hopperbob 29-03-2019 17:55

SSD's
 
Is it a good idea to defrag a SSD. I'm quite happy with the old drives but what about an SSD?

:dunce:

BenMcr 29-03-2019 18:53

Re: SSD's
 
Defrag doesn't exist in the SSD world. What does exist is TRIM

https://en.m.wikipedia.org/wiki/Trim_(computing)

AbyssUnderground 03-04-2019 13:57

Re: SSD's
 
Never do it. All you do is wear the drive out.

BenMcr 03-04-2019 14:42

Re: SSD's
 
Windows will automatically Optimise an SSD via TRIM from time to time, just as it'll run a defrag on a HDD

pip08456 03-04-2019 15:02

Re: SSD's
 
Quote:

Originally Posted by AbyssUnderground (Post 35989828)
Never do it. All you do is wear the drive out.

Trim will actually extend the life of an SSD.

AbyssUnderground 08-04-2019 12:07

Re: SSD's
 
Correct, but defragging will shorten it :)

BenMcr 08-04-2019 13:34

Re: SSD's
 
Quote:

Originally Posted by AbyssUnderground (Post 35990458)
Correct, but defragging will shorten it :)

I've never seen an option to defrag an SSD in any machine I've put one in.

AbyssUnderground 08-04-2019 13:40

Re: SSD's
 
Windows shouldn't let you do it but some 3rd party apps still do.

pip08456 08-04-2019 14:34

Re: SSD's
 
Quote:

Originally Posted by AbyssUnderground (Post 35990458)
Correct, but defragging will shorten it :)

I assumed you were referring to trim as per Ben's post.

AbyssUnderground 08-04-2019 14:43

Re: SSD's
 
No, sorry. I should've been clearer!

Stuart 08-04-2019 14:48

Re: SSD's
 
Quote:

Originally Posted by hopperbob (Post 35989111)
Is it a good idea to defrag a SSD. I'm quite happy with the old drives but what about an SSD?

:dunce:

As discussed above, there is no point in defragging an SSD, because the drive operates quickly enough that you are unlikely to notice any difference in access speeds between a non-fragmented and fragmented file system, but the defrag process will shorted the life of the drive.

As such, most modern defrag utilities (like the one built into Windows) won't let you defrag an SSD. Older ones might let you, but I would still advise against it.

Matth 12-04-2019 01:01

Re: SSD's
 
Windows MAY defrag an SSD, but the only reason it would need it is if the fragments reach a level which would interfere with restore point snapshots.

pip08456 12-04-2019 06:47

Re: SSD's
 
Quote:

Originally Posted by Matth (Post 35990961)
Windows MAY defrag an SSD, but the only reason it would need it is if the fragments reach a level which would interfere with restore point snapshots.


Quote:

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.

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/TheRe...ntYourSSD.aspx


All times are GMT +1. The time now is 11:16.

Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.