Why is trim important




















TRIM is a command specification which actually gives an operating system the ability to tell a solid state drive specifically what page holds the data which the user has deleted.

The SSD's controller can take this information and then use it to wipe out specific pages rather than entire blocks. The problem of a block-rewrite penalty really boils down to a communication issue. Today's SSDs have no way of knowing what pages were deleted, which is why they end up erasing and re-writing the entire block. Many of today's solid state drives also ship with TRIM enabled firmware, but not all of them.

This is not every drive on the market, and there is the possibility that drives which don't support TRIM will have TRIM enabled with a future hardware revision. If you're in doubt, visit the website of the SSD manufacturer you intend to buy from. They'll usually trumpet TRIM support if they have it. TRIM support is a big deal. If you're buying an SSD now or in the future, you want it. If you already have an SSD, you should check your manufacturer's website to see if they have a firmware update which enables it on your drive.

Image Credit: Avye. Charging your smartphone overnight can damage the battery and shorten its lifespan. Here's everything you need to know. Matthew Smith is a freelance writer living in Portland Oregon.

Not with magnets. Flickr user Zhou Tong. Without TRIM, garbage collection doesn't know about deleted files and continues to move pages containing deleted data along with good pages, increasing write amplification. TRIM tells the controller that it can stop collecting pages with deleted data so that they get left behind and erased with the rest of the block. He also knows stuff about enterprise storage, security, and human space flight. Lee is based in Houston, TX. Email lee. 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. At that point the drive swiftly deletes that particular piece of data from that part of the block, and writes the new file there. 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. Garbage collection and Trim work with wear leveling, an algorithm that ensures that each cell is written to and deleted from about the same number of times as all the other cells.

This extends the life of the solid state drive. It runs automatically in the background unless you have turned it off. You can run it manually or check that Trim is enabled by looking at the Properties of the drive, then selecting Tools , and Optimize. To check to see if you have Trim support, select the Apple menu while holding down the Option key. Under System Information , scroll to the name of your storage interface under Hardware.

Garbage collection occurs automatically using proprietary Active Garbage Collection functionality created by the manufacturer of the solid state drive. Because garbage collection is so important to the functioning of the drive, all drives have it. Micron makes all of its solid state drives from the silicon up, and garbage collection is a vital part of the drive.

Learn more about the process to manufacture SSDs. But if your operating system doesn't support Trim, it's not a disaster. All rights reserved. Neither Crucial nor Micron Technology, Inc.



0コメント

  • 1000 / 1000