Sorry. Your search did not match any active Crucial part numbers or configuration IDs.

Trim and SSD Performance: Why is it Important?

Recently we’ve received multiple calls about the Trim feature and how it relates to Crucial® SSDs. In a nutshell, Trim is a feature that helps increase the efficiency of your SSD by preparing data blocks for reuse. 

Trim and Data Blocks

On hard drives and solid state drives, data is stored in blocks. Each data block has data from more than one file, and on a hard drive the blocks can be split whenever necessary. When you delete a file in your operating system, for example, the hard drive deletes only that specific file’s information from the data block, leaving the rest in place. When a file is deleted in the computer’s file system, the data stays on the block until the next time that block is needed. At that point the drive swiftly deletes that particular piece of data from that part of the block, and writes the new file there. Essentially, hard drives are able to delete information from part of a data block – they don’t have to delete the whole thing.

In contrast, SSDs have to delete an entire data block before they’re able to reuse it. When an SSD is trying to clear a data block, it puts a copy of everything on the block into a cache and makes the necessary changes there. The SSD then deletes all of the data on the original block and writes the new data that it was trying to write in the first place.

Understandably, going through all these steps takes a lot longer than it would have taken to simply write data to an empty block. Because the SSD knows this, it simply locates an empty block and writes there. This works great – as long as empty blocks are still available on the drive. When all of the blocks are filled up, the SSD has no choice but to start deleting blocks and reusing them, resulting in a drop in write speeds. This problem, however, can be overcome with Trim – a feature that prompts the SSD to clear previously used data blocks. With Trim, the next time an SSD’s filing system wants to write to those blocks, they are already empty and ready for use.

Crucial SSDs and Trim/Garbage Collection

Because not all operating systems support Trim, Crucial SSDs have a special feature called Active Garbage Collection. Active Garbage Collection is a process that helps an SSD maintain optimal performance by freeing up memory sectors that are no longer in use. Garbage collection is part of the SSD itself and not dependent on your computer’s operating system. Because garbage collection is part of the SSD’s firmware, it works regardless of which operating and filing systems your computer is using.

Note: Garbage collection only works when your Crucial SSD is idle, so make sure to configure your system so it doesn’t go to sleep when it’s idling. Garbage Collection takes time to do its job, but as long as it gets time to idle every now and then, your Crucial SSD will maintain its high level of performance over time.

©2019 Micron Technology, Inc. All rights reserved. Information, products, and/or specifications are subject to change without notice. Neither Crucial nor Micron Technology, Inc. is responsible for omissions or errors in typography or photography. Micron, the Micron logo, Crucial, and the Crucial logo are trademarks or registered trademarks of Micron Technology, Inc. All other trademarks and service marks are the property of their respective owners.