Closed Solved

Ssd's in vista

for three days i have tried to find info on how ssd's work in vista without trim. and can find nothing. i have seen a couple old references to certain drives coming with their own utilities. anyone have any info at all on how ssd's do on vista?
5 answers Last reply Best Answer
More about vista
  1. No trim means a big loss in performance.Not worth using in vista.
  2. i actually changed my search terms and came up with samsung, they have a garbage collection utility for their drives, made just for os's that dont support trim
  3. Best answer
    Garbage collection (GC) and TRIM are interrelated. There is some detailed information here on Wikipedia Write amplification - Wikipedia, the free encyclopedia

    All SSDs have garbage collection. That is a function of NAND flash memory used in SSDs. Some drives may be more efficient at GC than others. Some do not recover as well as others after they have been used for a period of time. Some drives perform GC in the background when the drive is otherwise not busy with user data (idle), but there are some drawbacks to that background operation (you can see the wikipedia article for more details). In general background GC is not good for the endurance of the drive because it moves data that the OS (and user) may delete and render unnecessary to GC in the first place. The best solution is to do it on the fly as fast as possible.

    TRIM is a command sent by the OS to the drive identifying the actual logical block addresses (LBAs) that are no longer needed. To understand TRIM you must understand how the OS and SSD tracks the data. When you put an item in the OS trash you are not actually deleting the items. They are just marked ready for deletion. If the user says to empty the trash, the OS notes this and now says those LBAs are free to accept new data. This is true for all storage devices, not just SSDs. Many people do not realize that the storage device does not actually delete the data at that point. The act of erasing a file is simply the OS marking its internal lookup tables for that file as free to store new information. An HDD still has the data on the drive at that location until the OS writes something new into that spot. For an SSD it is the same; the SSD still has the data in the flash at that location until the OS writes something new into that spot. Of course the NAND flash memory requires the replacement data to be written into a new location and the old data is marked as "invalid" now. Then during garbage collection that invalid data is NOT moved with other valid data in that block to a new block.

    The performance of an SSD is at its peak when it is brand new out of the box because there is nothing to GC. Unfortunately this occurs only at the beginning of the drive's life or after you secure erase the drive and start over. Performance is also affected by the size of the over provisioning (OP) (details also in the wikipedia article above). During GC if the drive does not have to move around as much data it can operate faster. The TRIM command enables the OS to tell the SSD what LBAs are no longer valid data. Without the TRIM command this only happens when the OS tries to write something new into that same spot or it tries to replace the current data. If the SSD knew in advance that some of the LBAs holding data were invalid the drive would not move that data during GC. The effect gets you closer to the performance of a drive with larger OP. Without the TRIM command the drive will perform like it is at full capacity at all times and only has the amount of OP set at the factory (plus any space left unused during the partition process when first setting up the drive).

    All this is common for all SSDs. An SSD with a SandForce controller has one other factor related to this GC and TRIM story. Due to their data compression techniques most data will be reduced when written to the drive. This results in a larger OP, with the same user capacity. In contrast if the OS did the compression you would fit more data on the drive, but the OP would be the same. This larger OP results in faster performance during GC. The RevoDrive cannot use TRIM because of the RAID controller onboard. This is true of all RAID controllers that I know of today, so it is not OCZ's fault it does not pass through. However, since OCZ chose the SandForce controller they have the advantage of automatically having more OP with most data and that results in higher performance normally only seen with the TRIM command.

    The wikipedia link above is part of a larger article on Write Amplification (WA) that is pretty key to SSDs. The is an additional article on TRIM as well TRIM - Wikipedia, the free encyclopedia and it tracks the OSes that support TRIM by version. Today in Windows environments you must start with Win 7. ^
  4. Best answer selected by humphreybot.
  5. This topic has been closed by Area51reopened
Ask a new question

Read More

Configuration SSD Windows Vista